Hi all,
I try to increase the baud rate by the following:
target.baud = int(clock_speed / 7.37E6 * 38400)
Everything works fine until I start to increase the MCU speed 50MHz or higher. The CW starts complaining that it cannot see any trigger. What is going on here? The target board is a STM32F303 board.
Easy- you’ve exceeded the target’s maximum clock frequency.
Wait, but according to the document, its maximum is 72MHz. Do I misunderstand something?
https://www.st.com/en/microcontrollers-microprocessors/stm32f303rd.html
From the datasheet:
“An external 4-32 MHz clock can be selected”
So yes you can configure it to run faster internally, but the externally provided clock has a limited range. These types of processors usually have lots of clocks!
1 Like
Ah, thanks for your fast reply!