Bare 6-9 review
bare 6
bare6_0
I think the clock configuration rcc.cfgr.sysclk(84.mhz()).pclk1(42.mhz()).pclk2(64.mhz()).freeze();
. The ratio between PCLK2 and SYSCLK is not an integer (prescales) the I would argue that there's an issue with this configuration. You've addressed the issue when using the stm32cubemax. Nice!
bare6_1
Correct
bare6_2
Your Vpp seems high. I got around 3.6V. Looking at your other figures you have some oscillations which probably lead to an incorrect reading of the Vpp. Also you're measuring the PC9 pin which is connected to the MCO2. Look at line 122-125 in the code to see how you can calculate the SYSCLK. YOu can also look at p. 107/847 in the reference manual RM0368.
bare6_3
Nice
bare6_4
I think your figures are named wrong but the result is like mine. Once again your wave is not a clean square wave.
bare6_5
Nice
bare6_6
My code also runs but look closely at the clock frequencies. Looking back at bare6_0 you should be able to figure out what the issue is.
bare 7
nice
Bare 8
Nice, you can try to send a longer string in --release
. I managed to send 7 characters
Bare 9
I don't have access to a Nucleo board right now to test your code but looking at it it looks good.
Good work