AnsweredAssumed Answered

CAN bus interaction with JTAG?

Question asked by meliota.alessandro on Mar 20, 2012
Latest reply on Mar 27, 2012 by malund.erik
I'm developing a time critical application with CAN bus.
In order to satisfy the time requirements, I send every 5ms a CAN message at 125kbps.
For debugging purpose, I have only one stm32f103c8t6 that send three consecutive messages with the above period.
If I analyze the traffic on the CAN bus, I can see that the sending period is correct if the board is connected via JTAG (I'm using a Segger JLink and an ARM Crossworks 1.7 compiler/debugger), but if I disconnect the debugger, the sending period becomes longer in a random way (ie. sometimes a packet is not sent, sometimes yes).

Could it be a correlation between JTAG and CAN peripherals?

Thank you in advance!

Alessandro Meliota