Issue about S12MSCANV3: Error frame when received message DLC is 15

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

Issue about S12MSCANV3: Error frame when received message DLC is 15

1,240 次查看
leidenwei
Contributor I

hi All

we met one issue about this controller issue in the MC9S12XS256.

when the received message DLC is 15,why this controller can not work? It will send out the TxErr and NAK error frame. and will stop sending our App message.

but if change the receieved message DLC to 14, it can work again.

we can confirm that there is no issue in our CAN driver code.

Hoping your good answers!

Best wishes

Leiden Wei

标签 (1)
0 项奖励
回复
2 回复数

1,066 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

Max data length of a one message frame is DLR=8. Look at Table 11-35. Data Length Codes in the Reference manual.

Best regards,

Ladislav

0 项奖励
回复

1,066 次查看
leidenwei
Contributor I

Thansk Lama!

Generally,our messege length is 8,  but if we received message DLC field is 15(1111b),   S12MSCANV3 will stop wroking.

In the IS0-11898-1-2003,please see the following picture, if DLC field is 15(1111b), should be considered as 8.

DLC.PNG

But in our datasheet , there is no this definition when DLC is more than 8.

datasheet.PNG

Best wishes

Leiden Wei

0 项奖励
回复