MC9S12 CAN bus message transmit only once

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

MC9S12 CAN bus message transmit only once

1,572 次查看
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,422 次查看
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,422 次查看
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 项奖励
回复