LPC_CAN1->CMR |= (0x01<<2);
LPC_CAN1->IER |= ((1<<0)|(1<<2)|(1<<3)); //接收数据过载中断使能
LPC_CAN1->GSR中的DOS标志置1时,总线上却未发现“过载帧”波形。
我仿真的时候检测can过载帧的标志位,当置位的时候并没有发现有过载帧发出的波形。
Hi tongjun ju,
Whether you can introduce the steps of replicating the this phenomenon in details.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi jeremyzhou
Thank you for replying to my email.
1、How do I configure this chip to make the can receiver send an overload frame?
2、The overload frame is send by hardware automatically when the value of the "DOS in LPC_CAN1->GSR" is turned 1?
Hi tongjun ju,
Thanks for your reply.
The overload frame is managed by the CAN MAC level and the developer can't take or control this job, in another word, this frame is responded automatically when the CAN note is too busy to process any additional frames
Hope this helps.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------