Hi
I want to test how fast we can trigger the ADC through emios, emios to TRGMUX to BCTU to ADC.
Firstly :
I am trying to get an output from TRGMUX, which has the input from Emios_mcl to be triggered every 25 us.
1) Does Emios needs an interrupt controller handler (ISR)?
2) How to configure the input for trgmux?
TRGMUX_IP_INPUT_EMIOS0_RELOAD_OUT_CH0 or
TRGMUX_IP_INPUT_EMIOS0_IPP_CH0
for getting the timing form emios .
3) How to roue the pins for the TRGMUX_IP_SIUL2_0_3 on the reference manual?
BR
Ayaz
Solved! Go to Solution.
1. Depending on your needs, you don’t need to do this at all.
2.TRGMUX_IP_INPUT_EMIOS0_RELOAD_OUT_CH0 or TRGMUX_IP_INPUT_EMIOS0_IPP_CH0 are both ok
3. I don’t understand why this port is used here,
TRGMUX_IP_INPUT_EMIOS0_RELOAD_OUT_CH0 (TRGMUX_IP_INPUT_EMIOS0_IPP_CH0 )->TRGMUX->BCTU_TRG23(47/71)
TRGMUX_IP_SIUL2_0_3
eMIOS can directly trigger BCTU sampling, so you can ignore TRGMUX here.
please refer to this answer to calculate the time when eMIOS triggers BCTU sampling
https://community.nxp.com/t5/S32K/ADC-triggering-options-via-BCTU/td-p/1810989]
Hi
Thanks for your response.
I want to test the capability for using Trgmux, so for now, I need to test the Emios and Trgmux. Based on the configuration above.
1) Does Emios need an interrupt controller handler (ISR)?
2) How to configure the input for Trgmux?
TRGMUX_IP_INPUT_EMIOS0_RELOAD_OUT_CH0 or
TRGMUX_IP_INPUT_EMIOS0_IPP_CH0
for getting the trigger form Emios .
3) How to roue the pins for the TRGMUX_IP_SIUL2_0_3 on the reference manual
1. Depending on your needs, you don’t need to do this at all.
2.TRGMUX_IP_INPUT_EMIOS0_RELOAD_OUT_CH0 or TRGMUX_IP_INPUT_EMIOS0_IPP_CH0 are both ok
3. I don’t understand why this port is used here,
TRGMUX_IP_INPUT_EMIOS0_RELOAD_OUT_CH0 (TRGMUX_IP_INPUT_EMIOS0_IPP_CH0 )->TRGMUX->BCTU_TRG23(47/71)
TRGMUX_IP_SIUL2_0_3