2257684_en-US

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

2257684_en-US

2257684_en-US

Question about IMCR configuration by RTD/MCAL and ICU notification

Hello Team


May I ask about  question about S32K3 RTD MCAL like below?


I’m implementation about below function using MCAL based on Ip demo.

Luke_Chun_0-1765262055223.png



I found the one point that “IMCR81” is needed to configure “0b0110” like below.

EMIOS1_CH1 <-> TRGMUX

Luke_Chun_1-1765262065564.png


 How to configure about it by RTD?

or Does it need by manual code?





Thank you. 



RTDSource: Direct CustomerSource: NXP InternalRe: Question about IMCR configuration by RTD/MCAL and ICU notification

Hi @Luke_Chun ,

I don't think that RTD driver support this in configuration, because Port driver will support pads that can connect to the external.

Nhi_Nguyen_0-1765353111925.png

However, if you just want to change SSS of IMCR81, I think you can try this function in Port driver:

Nhi_Nguyen_1-1765353143898.png

Best regards,

Nhi

Re: Question about IMCR configuration by RTD/MCAL and ICU notification

Hello @Nhi_Nguyen 


I mean below information. 

I did not use the pin with emios, I use only internal signal for TRGMUX and EMIOS. 

May I ask about the checking one more time?

Luke_Chun_0-1765270927242.png

Thank you. 

Re: Question about IMCR configuration by RTD/MCAL and ICU notification

Hi @Luke_Chun ,

IMCR81 is PTA11. To configure PTA11 to EMIOS1 channel 1, SSS have to configure to 11. If SSS is 110 as your expectation, it should be LPSPI1_PCS0. As you can see below:

Nhi_Nguyen_0-1765269548232.pngNhi_Nguyen_1-1765269673677.pngNhi_Nguyen_2-1765269692705.png

Best regards,

Nhi


Re: Question about IMCR configuration by RTD/MCAL and ICU notification

Hi @Nhi_Nguyen 


May I ask one question about the function?

When the base is set to NULL_PTR, the pin settings have no effect.
Is this correct?
 
Thank you. 
 
Re: Question about IMCR configuration by RTD/MCAL and ICU notification

Hi @Luke_Chun ,

Normally, you have to configure MSCR register that corresponding to IMCR register for input. For example:

Nhi_Nguyen_0-1765530425978.png

For example, setting PTA1 for EMIOS0 channel 9 is input, includes 2 steps:  register MSCR1 set input or output direction and register IMCR57 set SSS.

If base = NULL_PTR in the function Siul2_Port_Ip_SetInputBuffer(), step to set input or output in MSCR is ignore. 

Best regards,

Nhi


Tags (1)
No ratings
Version history
Last update:
‎12-13-2025 03:32 AM
Updated by: