LPC54616 CANFD USE BRS ERROR

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

LPC54616 CANFD USE BRS ERROR

跳至解决方案
659 次查看
Cherrin
Contributor I

When using the LPC54616 chip, if you want to receive BRS during CANFD, you only need to configure CANFD and BRS bit during initialization, right? The following figure is attached (Message ram and interrupt have been configured successfully, standard frames and FD frames without brs can be accepted normally)

_0-1729826349633.png

 

0 项奖励
回复
1 解答
623 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As the following Fig, when you use FD(Flexible Data rate), the classical data size is 8 Bytes, but using FD feature can extend the data size in one CAN frame.

You have to configure the FDF, BRS, DLC bits for both the transmitter and receiver frames. Because the control/ID bits and data bits transfer in different rate, so you have to define two CAN bit rate.

Pls refer to section 35.14.1.3 CAN FD operation in UM10912.pdf.

Hope it can help you

BR

Xiangjun Rong

xiangjun_rong_0-1730167689007.png

 

 

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
624 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As the following Fig, when you use FD(Flexible Data rate), the classical data size is 8 Bytes, but using FD feature can extend the data size in one CAN frame.

You have to configure the FDF, BRS, DLC bits for both the transmitter and receiver frames. Because the control/ID bits and data bits transfer in different rate, so you have to define two CAN bit rate.

Pls refer to section 35.14.1.3 CAN FD operation in UM10912.pdf.

Hope it can help you

BR

Xiangjun Rong

xiangjun_rong_0-1730167689007.png

 

 

 

0 项奖励
回复
612 次查看
Cherrin
Contributor I

I have been solved this problem,thanks for your help

0 项奖励
回复