Hi ,
I am facing problem in CAN configuration. After basic configuration in Smart configurator ,I generated code in CS+ IDE.. After calling api function R_CAN_Create(),R_CAN_SetConfig()
the conversion of global,channel mode from sleep mode to reset mode condition fails. Is there any methods to configure the global,channel modes? .Can I get the sample code for CAN
configuration and transmission .
Thanking you
Hello,
Thanks for reaching out to Renesas Community.
What does 'R_CAN_SetConfig' return ?
Please find the documentation of RS-CANFD module:
https://www.renesas.com/us/en/document/apn/rl78f24-rs-canfd-lite-module-software-integration-system
and application note on configuration, transmission, reception of CAN:
https://www.renesas.com/us/en/document/apn/rl78f24-rs-canfd-lite-configuration-reception-and-transmission-rev100?r=1552481
Could you share some of your initialization code?
Regards
RAM initialization ,global mode and channel mode conversion to global reset mode and channel reset mode cannot be achieved .
What is the return value of 'R_CAN_SetConfig' ?
Above mentioned error is corrected .I faced problem in program debugging .Thank you for your response
Ok thanks, good to know.
Hi Nish
Now Can transmit is working for you ?