S32K324 Quadrature Decode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K324 Quadrature Decode

Jump to solution
460 Views
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 Kudos
1 Solution
417 Views
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. 

View solution in original post

0 Kudos
3 Replies
423 Views
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 Kudos
421 Views
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 Kudos
418 Views
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 Kudos