eMIOS AND trgmux

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

eMIOS AND trgmux

跳至解决方案
314 次查看
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 项奖励
1 解答
268 次查看
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 项奖励
3 回复数
296 次查看
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 项奖励
283 次查看
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 项奖励
269 次查看
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 项奖励