TWR-PXS20 FlexCAN

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,606件の閲覧回数
jiritakac
Contributor I

Hello,

I'm using MQX 3.8 and I'm trying to understand a configure FlexCAN.

So my problem is when I use parameter "FLEXCAN_MESSAGE_TRANSMIT_ONCE" in function "FLEXCAN_Activate_mailbox".

Which, according to MQXIOUG, should transfare message only once when i use "FLEXCAN_Tx_mailbox" or "FLEXCAN_Tx_message".

But the procesor is transmitting message continuously and stop transmiting only after deactivating the mailbox.

I noticed that in file flexcan_regs.h is this parameter as macro, but it has the same value as "FLEXCAN_MESSAGE_TRANSMIT_REMOTE".

So question is, what I am doing wrong and if you can help with this problem.

Thank Jiri

タグ(4)
0 件の賞賛
返信
1 解決策
1,369件の閲覧回数
Martin_
NXP Employee
NXP Employee

Jiri,

is there another node to acknowledge the transmit message ? If not, the FlexCAN hardware follows the CAN bus specification, it tries to send the message again, increments error counter, until it reaches error passive state. Even in error passive state it tries to transmit the message until it is acknowledged, just the error counter does not increment.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,370件の閲覧回数
Martin_
NXP Employee
NXP Employee

Jiri,

is there another node to acknowledge the transmit message ? If not, the FlexCAN hardware follows the CAN bus specification, it tries to send the message again, increments error counter, until it reaches error passive state. Even in error passive state it tries to transmit the message until it is acknowledged, just the error counter does not increment.

0 件の賞賛
返信