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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,130 Views
tongjunju
Contributor I

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


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

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

0 Kudos
Reply
3 Replies

1,010 Views
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 Kudos
Reply

1,010 Views
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 Kudos
Reply

1,010 Views
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 Kudos
Reply