Classical CAN to transmit DLC > 8 upto 24 with 500kbps

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

Classical CAN to transmit DLC > 8 upto 24 with 500kbps

跳至解决方案
2,653 次查看
Leninpremkumar
Contributor I

Hello ,

 

I have requirement to transmit DLC > 8 it can be upto 24 bytes with 500kbps. Im using NXP 32K 116 Micro.

1. is it possible to trasmit DLC > 8 in Classical CAN with 500Kbps .

2.What is the max size of byte can be transmitted in 500kbps

0 项奖励
回复
1 解答
2,629 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

Classical CAN bus supports a max message payload of 8 bytes per frame at a max data rate of 1Mbps. CAN FD supports a flexible message payload, up to 64 bytes per frame at same or higher data rates.
So you need to enable CAN FD and send message with desired payload, can be without bit rate switching so at your needed 500kbps.

BR, Petr

在原帖中查看解决方案

2 回复数
2,630 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

Classical CAN bus supports a max message payload of 8 bytes per frame at a max data rate of 1Mbps. CAN FD supports a flexible message payload, up to 64 bytes per frame at same or higher data rates.
So you need to enable CAN FD and send message with desired payload, can be without bit rate switching so at your needed 500kbps.

BR, Petr

2,618 次查看
Leninpremkumar
Contributor I

Thank you for Quick reply

Correction the Micro used is S32K144

 - As per our understanding Bit rate switch can enable / disable globally for all the frames using the highlighted field in the attachment. Is that correct ?

- But as per requirement I do have few frames should transmit in 2 Mbps and few in 500Kbps is it possible. if yes Please suggest how?

Use case :  

CAN FD - Enabled

CanControllerTxBitRateSwitch - Disabled

Payload  : 24 bytes

Baud rate for Arbitration & Data Phase : 500kbps 

With the above mentioned configuration, data of 24 bytes will be transmitted or there will be a data truncation ?

 

0 项奖励
回复