hi nxp S32K expert :
I use S32K148, for flexcan module,I want to Switch off transmit path, because i can not find the right way to do it, so i choose set flexcan to Listen-Only mode. after i set flexcan to Listen-Only mode, when flexcan receive a can message, it enter FLEXCAN_Error_IRQHandler, not enter FLEXCAN_IRQHandler. my destination is set flexcan to Listen-Only mode, when flexcan receive a can message, it enter FLEXCAN_IRQHandler. in my opinion ,the result identify RX interrupt are functional in LOM mode abnormally.
my question:
1: I want to konw the result is right or wrong? if it is wrong , what is the right way to realize it?
2: Is there other way to realize Switch off transmit path of flexcan
my codes as following:
/* enter freeze mode */
FLEXCAN_EnterFreezeMode(base);
/* Select mode */
FLEXCAN_SetOperationMode(base, FLEXCAN_LISTEN_ONLY_MODE);
/* exit freeze mode*/
FLEXCAN_ExitFreezeMode(base);
Hi,
it could be expected behavior, if a message is not acknowledged by other node
BR, Petr
hi Petr Stancik:
how to realize a message is acknowledged by other node? could you tell me the specific operation or where i can get it ?
Hi,
you should have another active CAN node on the bus, which acknowledges the message. Every active node, that is able to transmit/receive, acknowledge a message on the bus, this is autonomous behavior as per CAN standard.
BR, Petr
thank you very muchPetr Stancik