2021-04-27 05:17 AM
Hello,
I am working on a SPC560P Discovery Board.
I have imported test application 'SPC560Pxx RLACAN Test Application for Discovery' for FlexCAN testing. In this FlexCAN0 is used in loop back mode and it is working.
But after disabling loop back mode,I cant see any data on the CAN_TX pin with scope.
I configured the:
After i start the application the program gets stuck in the transmit while loop:
Its seems like that thecan_lld_is_tx_empty function returns FALSE and it breaks the can_lld_transmit function.
Is the mailbox needs any additional configuration or I configured the CAN clock incorrectly?
Thanks for your help and sorry for the the lot questions but I am new to 32bit controller programming.
Regards,
Saravanan Mariyappan
Solved! Go to Solution.
2022-02-21 05:58 AM
Thanks a lot!!
2023-05-18 10:38 PM
Hi @Saravanan_Mari,
Did you manage to solve this problem since I am also facing the same problem. Already spent weeks trying to solve the issue but CAN0TXD pin remains high and no data out.
Regards,
Mian