lpc1766 这款芯片的CAN通信如何发送“过载帧”

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

lpc1766 这款芯片的CAN通信如何发送“过载帧”

780 次查看
tongjunju
Contributor I

LPC_CAN1->CMR |= (0x01<<2);
LPC_CAN1->IER |= ((1<<0)|(1<<2)|(1<<3)); //接收数据过载中断使能


LPC_CAN1->GSR中的DOS标志置1时,总线上却未发现“过载帧”波形。

我仿真的时候检测can过载帧的标志位,当置位的时候并没有发现有过载帧发出的波形。

0 项奖励
3 回复数

660 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi tongjun ju,

Thank you for your interest in NXP Semiconductor products and 
for the opportunity to serve you.

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

660 次查看
tongjunju
Contributor I

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?

0 项奖励

660 次查看
jeremyzhou
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励