eMIOS AND trgmux

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
650件の閲覧回数
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 解決策
604件の閲覧回数
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 返答(返信)
632件の閲覧回数
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 件の賞賛
返信
619件の閲覧回数
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 件の賞賛
返信
605件の閲覧回数
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 件の賞賛
返信