In targets with an M7 core the configuration "Target Clock Speed" is set with the value of "CM7 Trace clock" instead of "Arm Core Clock" for SWO communication to be established. However, the conversion from ticks to milliseconds requires the value of "Arm Core Clock" and so the values of time presented by MCUXpress are scaled in the factor of "CM7 Trace clock"/"Arm Core Clock". Is there any way to adjust the times to be displayed correctly?
Hi @lucasalves,
Have you seen the MCUXpresso IDE SWO Trace Guide? I believe this document will be very useful for your inquiry since it shows the process to correctly select the adequate clock speed to prevent this issue from happening.
BR,
Edwin.