Hi, I'm focussing a issue releted to R_CAN_Open function. This is the schenario:
I think this is not correct. After Close and Open I think the fifo should be empty.
The workaround that i find is to do this:
R_CAN_ModeTransition(&g_can0_ctrl,CAN_OPERATION_MODE_HALT,CAN_TEST_MODE_DISABLED); R_CAN_ModeTransition(&g_can0_ctrl,CAN_OPERATION_MODE_RESET,CAN_TEST_MODE_DISABLED); R_CAN_Close(&g_can0_ctrl);
I'm using FSP versione 3.7.1, I check also 3.8.0 but seems there aren't big changing related to this issue.
Thanks Massimo
Hi Massimo,
Apologies for the late reply. I'm not familiar with the CAN peripheral on RA MCUs but I checked the R_CAN_Close() function in the documentation but I can't confirm if it really empties the…
Apologies for the late reply. I'm not familiar with the CAN peripheral on RA MCUs but I checked the R_CAN_Close() function in the documentation but I can't confirm if it really empties the fifo after calling it. If you can't still receive confirmation from this forum, I would suggest inquiring about this to Renesas Technical Support but submitting a ticket here: https://en-support.renesas.com/dashboard.
JBIf this response, or one provided by another user, answers your question, please verify the answer. Thank you!Renesas Engineering Community Moderatorhttps://community.renesas.com/https://academy.renesas.com/https://en-support.renesas.com/knowledgeBase/