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.
I found the one point that “IMCR81” is needed to configure “0b0110” like below.
EMIOS1_CH1 <-> TRGMUX
How to configure about it by RTD?
or Does it need by manual code?
Thank you.
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.
However, if you just want to change SSS of IMCR81, I think you can try this function in Port driver:
Best regards,
Nhi
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?
Thank you.
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:
Best regards,
Nhi
Hi @Nhi_Nguyen
May I ask one question about the function?
Hi @Luke_Chun ,
Normally, you have to configure MSCR register that corresponding to IMCR register for input. For example:
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