MPC4748 LIN Error Callback timeout

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC4748 LIN Error Callback timeout

776 次查看
zouayeni
Contributor I

Hello , I'm working on the MCP5478C , I configured it as a master mode , I make a test that the slave sends continues frames and MCU sends also a continue frames. But after a some minutes an error detected the LINESR.OCF=1 , the data already received but the chechsum register is null : LINCFR.CF=0.

Thie error callback is detected sometimes .

If someone knows about it.

Thank you

0 项奖励
回复
1 回复

752 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I did not get fully a meaning of your "test that the slave sends continues frames and MCU sends also a continue frames".
Master is always starting a frame sending a header and either send a response (payload+CRC) to slave  or waits for response sent from slave.
In your case it seems CRC is not received at all or in time. You should check LIN bus.
Timeout error is described in section 45.4.2.5.6 Timeout error of the device RM.

BR, Petr

0 项奖励
回复