This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

TwinCan problem

Hi everyone,

I'm adding the CAN support to a controller using an Infineon XC161 uP. I've used the Dave application from Infineon to set all registers and INT, and I used the generated modules in my application. Now I can send/receive CAN messages but I found a problem:
- to debug the application I created transmission problems and I find that the TEC counter in AECNT register never exceed the 128 limit. This causes that BOFF flag is never set and the EWRN flag is set only if I set the EWRNLVL <= 128 !

Is there someone here that can help me ?

Thank you !

0