Serial Communication in UART Mode Using LIN/UART Module

Hi All,

I am trying to use LIN/UART module for UART communication and the code is hanged at  while( (LMST0&0x01) == 0x01); /* Module in Reset state , in r_serial,c file provided in demo code 

any pointers on what is wrong and how to fix this.



  • What "demo code" are you referring to?

    A code snippet that you have mentioned (while( (LMST0&0x01) == 0x01);) should be preceded by an operation on the control-reg to initiate putting the module into reset mode.  The specification notes that such an operation must be confirmed by checking the status bit.