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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,252件の閲覧回数
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,078件の閲覧回数
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,078件の閲覧回数
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 件の賞賛
返信