This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-AM243: Endat Encoder Initialization failed (newer Encoder / no RS485 transceiver)

Part Number: LP-AM243
Other Parts Discussed in Thread: AM2434, SYSCONFIG

Tool/software:

Hello,

In our project, we are attempting to connect the AM2434 with an EnDat 2.2 encoder, which does not have the usual RS485 transceiver. Instead, the signal lines are directly connected to the controller.

However, the encoder is not being recognized. On the transmission lines, only one transmission cycle is visible:

Data Out (to encoder) Data In (from encoder)

The interesting thing is that the same encoder is recognized when RS485 transceivers are added between the AM2434 and the encoder:

First transmission cycle:

  

We are wondering what difference the RS485 transceivers are making here, as they should only be affecting the physical connection.

Another interesting point: We have also compared the response of an older EnDat encoder (also using the EnDat 2.2 command set). In the picture above, you can see that our new encoder is already sending some data on the first cycle. In comparison, in the next picture, the older encoder is NOT sending data on the first cycle.

To clarify, the first command looks like a 101010 (encoder reset) to me. Is that correct? I guess this should not result in the encoder sending data?

First transmission cycle of the older encoder:


Thank you for helping us investigate this problem!

  • Hey,

    We identified the issue!

    It wasn't related to our encoder or the missing RS485 link. The actual problem was that we were using Slice0 of the PRU for the EnDat protocol. However, the precompiled firmware provided with the SDK is compatible only with Slice1.

    This detail isn't mentioned anywhere, and the SysConfig tool allows selection of both slices for EnDat.