I opened example project about can_pal.
I tired to loop back test, so changed CAN components Operation Mode from 'normal' to 'loop back'.
and added some count values to check tx, rx message was operating well. please check additional files.
but it didn't work. talk about details,
when pin interrupts happened CAN message transmit whereas transceiver didn't receive message.
please help about this issue and need some more details add comment.
Thank you for your reply. I tired your advice and it works!
Additionally i have some question.
Maybe I use FlexCAN example(flexcan_encrypted_s32k144) it also match Tx_ID & Rx_ID when using Loop back mode?
Thank you for your support.
Hi minkyu kim,
For normal mode, after the slave board send message, then master board will receive RX_MSG_ID(2UL) and toggle LEDs.
But you are using loop back mode, the message ID that you send was "TX_MSG_ID (1UL)", it did not match the "RX_MSG_ID (2UL)".
You can try to modify the value of them. When the value are same, the LEDs will work in loop back mode.
For example, modify:
Then after press SW2 and SW3, the LED will show RED or GREEN.