SPRAD03 March 2022 AM2431 , AM2431 , AM2432 , AM2432 , AM2434 , AM2434 , AM6411 , AM6411 , AM6412 , AM6412 , AM6421 , AM6421 , AM6422 , AM6422 , AM6441 , AM6441 , AM6442 , AM6442
The ROQ437 defaults to a slower EnDat2.1 recovery time between position latches. EnDat2.2 enables a faster recovery time but we need to set a non-volatile bit one time in the ROQ437 before running the rest of the demo to reduce the recovery time. This is a workaround for now that can be incorporated into the demo code at a later time.
Explanation from the Heidenhain documentation (https://www.heidenhain.us/wp-content/uploads/Bidirectional_Interface_for_Position_Encoders-1.pdf): The extended EnDat interface version 2.2 is compatible in its communication, command set and time conditions with the previous version 2.1, but also offers significant advantages. It makes it possible, for example, to transfer additional information with the position value without sending a separate request for it. The interface protocol was expanded and the time conditions were optimized as follows: Increased clock frequency (CLOCK) (16 MHz), Optimized calculating time (position value acquisition within 5 µs), Minimized dead time (recovery time) (1.25 µs to 3.75 µs), Expanded power supply range (3.6 V to 5.25 V or 14 V at the encoder)
Figure 11-5 COM Port for
Diagnostic Output
Figure 11-6 EnDat 2.2 Diagnostic
Output
Figure 11-7 Measure EnDat CLK, TX
and RX Pins
Figure 11-8 EnDat 2.2 Position
Output
Figure 11-9 RX Signal (Before
Change)
Figure 11-10 EnDat 2.2 Recovery
Mode Change
Figure 11-11 RX Signal (After
Change)At this point, your encoder should be configured to run in EnDat2.2 recovery mode, which allows for the tight timings that is needed throughout the rest of the demo.