MC9S12 CAN bus message transmit only once

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

MC9S12 CAN bus message transmit only once

1,558件の閲覧回数
peteyo
Contributor II

Hi,

I did a test with multi-CAN devices, and the S12 transmitted message per 250ms.

I obtained there is no ACK slot on waveform(no one received this message), thus the message was re-send again and again(the interval became only 1ms since message was re-sent nonstop).

I just want to know if there is a bit setting in register to ignore ACK or transmit only once, so that i can keep my message cycle time in 250ms.

thanks

ラベル(1)
タグ(2)
0 件の賞賛
返信
2 返答(返信)

1,408件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

This is required by the CAN standard.

You can refer to: https://www.nxp.com/files/microcontrollers/doc/data_sheet/BCANPSV2.pdf 

pastedImage_1.png

Regards,

Daniel

0 件の賞賛
返信

1,408件の閲覧回数
peteyo
Contributor II

Hi Daniel,

I found a setting as below and it seems like this setting could stop retransmission even there is an error or non-ACK situation. If I schedule a 250ms cycle time transmission with setting these bits high and  then remove other devices on the bus(only one device on the bus), the CAN bus signals would keep in 250ms.(sometimes loss but no retransmission) 

pastedImage_2.png

0 件の賞賛
返信