SPRAC77E January 2022 – February 2022 TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S
To detect an error, a FSM compares the current QEP-A/B signals to the previous QEP-A/B signals. The previous QEP-A/B values are provided by the QCLK state machine (FSM) described in Section 5.4.1.
There are three possible cases described in Table 5-6:
Current State xe0, xe1QEP-A(n), B(n) |
|||||
00 | 01 | 11 | 10 | ||
Previous State e0, e1 A(n-1), B(n-1) |
00 | 0 No movement |
0 Reverse |
1(5) Invalid |
0 Forward |
01 | 0 Forward |
0 No movement |
0 Reverse |
1(7) Invalid |
|
11 | 1 (1)
Invalid |
0 Forward |
0 No movement |
0 Reverse |
|
10 | 0 Reverse |
1 (3) Invalid |
0 Forward |
0 No movement |