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
Solved! Go to Solution.
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.
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.