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

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

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

663 Views
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

Labels (1)
0 Kudos
2 Replies

489 Views
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 Kudos

489 Views
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 Kudos