Good day everyone!
I work with DEVKIT MPC5744P using Embedded Toolbox in Simulink. I faced a problem listed below.
When there is no message receiver or when CANH and CANL are locked the Tx stops, but Rx still operates. This state stays until the board is being hard reseted. I suppose this is caused by Tx error counter. On the other hand, when I read by FreeMaster software, ECR register is 0 and ESR1 register is 0x40080 in operable mode and in a fault mode ESR1 register is 0x40086.
Could you please give me some reccomendations how to solve this problem?
I attach Simulink model which is used to test CAN messages transmission (2019b version).