AnsweredAssumed Answered

S32K Lin Slave Autobaud Error Question 

Question asked by 成梁 钟 on May 16, 2020
Latest reply on May 26, 2020 by Alexis Andalon

Deall All:

   I have a lin slave demo problem with my S32K116 EVB,I use S32DS expert atuo generate code.The RX input interrupt capture config is right ,When I run the project the result of function is always STATUS_ERROR,I enter the function I find the reason the buadrate result doesn't fit any result,I guess the problem is Callback result is wrong,I config my LPUART_CLK is 40Mhz,period is 500us,so the TIMER_COMPARE_VAL is 40*500u/1 = 20000,TICK_1US = 40/1 =4,The sender baudrate is 19200,slave received baudrate is 14400,Could you tell me where the problem is?


Upload the newest the picture,when get sync field,get value between two  bit the gap ,the value is wrong......