Other Parts Discussed in Thread: C2000WARE, SYSCONFIG
Tool/software:
Hi Experts,
I am asking for my customer here.
This function init_STDOUT_AND_STDIN() placed before while(1), CPU will only run init code one time, If the customer comments the code in the red box, such as the freopen function, the MCAN can run normally. If the customer adds these codes, the MCAN will run abnormally and enter the Bus off state. and then Check the register MCAN_CCCR_INIT register abnormality and then turn to 1. Do you have any suggestion/Dir? Thanks.


