emios_mcl- trgmux

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

emios_mcl- trgmux

Jump to solution
1,914 Views
Ayaz
Contributor IV

Hi

I am trying to read the value from the timer EMIOS_MCL on the oscilloscope.

Skærmbillede 2024-02-21 171713.png

What is the best way to get the EMIOS_MCL output signel?

1) Trgmux : i am trying to get the signal out  here is my configuration:

Skærmbillede 2024-02-26 100257.pngSkærmbillede 2024-02-26 100307.png I don't have an output: what do I miss here ?

20240226_100443.jpg

0 Kudos
Reply
1 Solution
1,861 Views
Ayaz
Contributor IV
yes i have used emios_mcl driver to provide period into emios_pwm and it is works

View solution in original post

0 Kudos
Reply
4 Replies
1,888 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Ayaz,

I would recommend firstly trying an example from the RTDs package:

Julin_AragnM_2-1709068498809.png

You can use the trigger mux in order to drive the eMIOS MCL signal out in a pin. There is a community post with a similar issue: Solved: S32K3 TRGMUX example - NXP Community

For the timing configuration, you can refer to the routine to set the trigger time inside the development kit application SW: S32K344 BLDC/PMSM Development Kit

Julin_AragnM_0-1709068253541.png

 

Julin_AragnM_1-1709068253950.png

The green signal eMIOS_CH0_CNT starts from 0 until a particular value and then resets to 0 (MCB_UP_COUNTER), the default period range can go from 0 to 65535, which with a 160MHz clock would be from 0 to 410uS.

Best regards,
Julián

0 Kudos
Reply
1,872 Views
Ayaz
Contributor IV

Thanks for the information ,I only have RTD version 3.0.0 , it is not available to download RTD 4.0.0 for S32K3XX.
I just need to read the Emios_mcl output on oscilloscope !
when i am trying to connect  the emios to trgmux as seen above, it does not gives any output ,even thought if connect it further to BCTU :
Emios_mcl ---> Trgmux ----> BCTU
the bctu is getting triggered as it should be , but i need to read the signel that is coming out of emios_mcl?

0 Kudos
Reply
1,865 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Ayaz,

Just to confirm, the emios examples from the RTD 3.0.0 package do work and generate a signal? 

Best regards,
Julián

0 Kudos
Reply
1,862 Views
Ayaz
Contributor IV
yes i have used emios_mcl driver to provide period into emios_pwm and it is works
0 Kudos
Reply