s32k148 LIN autosar

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

s32k148 LIN autosar

582 Views
chandanR
Contributor I

Hello,

I am using autosar LIN driver 4.3.1 from nxp for S32k148, I observed on below line with setting up the lin configuration register, controller is giving reset, what could be problem. 

REG_BIT_SET32(LPUART_GLOBAL_ADDR32(u8LPUART_Channel), LPUART_GLOBAL_RST_MASK_U32);

 

thanks in advance

0 Kudos
1 Reply

569 Views
namnguyenviet
NXP Employee
NXP Employee

Hello @chandanR 

I'm afraid that I'm not fully understanding your question. The set of GLOBAL RST bit is performed internally, which will reset all internal logic and registers, except the Global Register. This action is done in order to make sure in next steps, the LPUART registers is set/clear correctly without any affect of previous configuration. So the step that reset controller is correct behavior.

Regards,

Nam

0 Kudos