Part Number: TMS320F280037C
Other Parts Discussed in Thread: SYSCONFIG
Hello,
I am devlopping a CANOpen module over CAN FD and MCAN. The application requires a SYNC reception with a periodicity of 1ms. The CAN is controlled with two interrupts to ensure the periodicity, one for sync and NMT object and the other interrupt for rpdos. The interrupt for sync and nmt sends the message to the Rx Buffers.
We have encountered a problem where the MCAN module is blocked when the syncs are sent. The application works during the first SYNCs but it stop sending the responses after 5 or 6 messages. While debugging in that blocked state, i saw that the flag for new data of the buffer corresponding to the sync, is active; but the interrupts from mcan module and PIE are not triggered so I am thinking that the MCAN module did not trigger the interrupt because some reason. However I can not find the problem to solve it, would it be possible to provide some help to solve that problem?
As a side note, the program works perfectly at lower rates. For example, the application works perfectly at a periodicity of 5ms. Also, i tried to disable all interrupts that have higher priority (I have nested interrupts) just in case the higher priority interrupt triggered at some point and blocked the mcan module but the application did not at high Reception rates.
Unfortunately I do not know what else I can check so help would be really appreciated.
Regards,
David
