There is a bug in a SWO Trace Config -> Target Clock Speed configuration.
The “detect” button use System clock to configure the SWO. SWO diver use Main_clock (ARMTRACECLKDIV).
If the Main_clock is higher as System clock the whole SWO calculation doesn’t work, the baud of the SWO PIN is then wrong.