Quadrature Decode (QDEC) Mode support simultaneous counting on both the rising and falling edges

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Quadrature Decode (QDEC) Mode support simultaneous counting on both the rising and falling edges

263件の閲覧回数
192064963
Contributor II

Hello, does the Quadrature Decode (QDEC) Mode(for count and direction encoders type) of the eMIOS module in the MPC5777c processor support simultaneous counting on both the rising and falling edges by setting the EDSEL bit, and generating an event when the internal counter matches the A1 register?

1.PNG

 

As shown by the underlined part in the above picture, is the EDSEL bit valid in the Quadrature Decode (QDEC) Mode (for count and direction encoders type)?

0 件の賞賛
返信
2 返答(返信)

229件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

does the Quadrature Decode (QDEC) Mode(for count and direction encoders type) of the eMIOS module in the MPC5777c processor support simultaneous counting on both the rising and falling edges by setting the EDSEL bit,

No. as EDSEL bit describes, the implementation for each mode is state in mode description.

petervlna_1-1757921212696.png

 

In QDEC mode (mode 0x0D), the eMIOS hardware automatically handles quadrature decoding, including edge detection and direction.

The QDEC mode uses two input signals (A and B) and interprets their transitions to determine both count and direction. This logic is independent of the EDSEL bit.

Therefore, setting EDSEL has no effect in QDEC mode—it is ignored by the hardware.

 

 

Best regards,

Peter

0 件の賞賛
返信

157件の閲覧回数
192064963
Contributor II
Understood, thank you very much.
0 件の賞賛
返信