eMIOS AND trgmux

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

eMIOS AND trgmux

Jump to solution
343 Views
Ayaz
Contributor III

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.

Skærmbillede 2024-02-21 171713.png

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 manualSkærmbillede 2024-02-21 171808.png?

BR

Ayaz

0 Kudos
1 Solution
297 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ayaz

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)

Senlent_0-1708592245580.png

 

TRGMUX_IP_SIUL2_0_3 

Senlent_1-1708592491747.png

 

View solution in original post

0 Kudos
3 Replies
325 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ayaz

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]

 

0 Kudos
312 Views
Ayaz
Contributor III

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

 

0 Kudos
298 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ayaz

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)

Senlent_0-1708592245580.png

 

TRGMUX_IP_SIUL2_0_3 

Senlent_1-1708592491747.png

 

0 Kudos