S32K324 Quadrature Decode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32K324 Quadrature Decode

跳至解决方案
529 次查看
Simone9
Contributor III

Hello,

In my application I have realised the acquisition of a quadrature signal by following all the instructions in Application Note AN13884 and it works.

Now I wanted to acquire another quadrature signal but unlike the previous case and as described in the application note one of the two pins cannot be connected to the TRGMUX and therefore I cannot apply the chain TRGMUX -> LCU1 -> TRGMUX -> EMIOS1.
In particular, the pins I use are PTA20 and PTC27 and the pin in question is PTC27.
I wanted to know how to exploit this pin to apply the same logic described in the example.

MCU S32K24
IDE S32 Design Studio 3.5
RTD 3.0.0

Thank you very much.

0 项奖励
1 解答
486 次查看
tomasfedor
NXP Employee
NXP Employee

Hi Simone, 

No, In order to perform quadrature decoder functionality, eMIOS needs preprocessed signals by LCU on S32K324. 

Best regards, 

Tomas Fedor. 

在原帖中查看解决方案

0 项奖励
3 回复数
492 次查看
tomasfedor
NXP Employee
NXP Employee

Hi Simone, 

In order to bring encoder phase signal to the LCU for preprocessing, a PIN with  TRGMUX_IN functionality is needed. 

Best regards,

Tomas Fedor.

0 项奖励
490 次查看
Simone9
Contributor III

Hi,

Thanks for the reply.
I can't change the pin for allow this connection.
In any way, it is possible to perform quadrature decode using only the eMIOS without LCU?

Thanks

0 项奖励
487 次查看
tomasfedor
NXP Employee
NXP Employee

Hi Simone, 

No, In order to perform quadrature decoder functionality, eMIOS needs preprocessed signals by LCU on S32K324. 

Best regards, 

Tomas Fedor. 

0 项奖励