Hi @xiangjun_rong
The can_init() function is called once only during initialization. The above-mentioned issue is happening while debugging and in infinite loop. Actually, the code is running fine but while debugging and stopping the execution using break points this issue is happening.
Regarding the CAN, the data is also successfully sent.