RT1020 SWO Trace

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1020 SWO Trace

612 Views
lucasalves
Contributor I

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?

0 Kudos
Reply
1 Reply

576 Views
EdwinHz
NXP TechSupport
NXP TechSupport

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.

0 Kudos
Reply