Programming the STspinG4 (G431VBT)

@runger, regarding the USB clock to 48Mhz from external oscillator, it is possible by OC to 192Mhz core clock, but that would be somewhat outside specs. Perhaps later on…

Trying to set up the NEO-PIX like explained here: Controlling NeoPixels with STM32 - Embedded / Development Boards, Kits, Programmers - Engineering and Component Solution Forum - TechForum │ Digi-Key (digikey.com)

Using a CounterPeriod ARR value of 200 since the clock is twice as fast.

How can I generate the code for TIM2_CH4 setup from Cube_MX that will compile in the PlatformIO project?

Think I found a good guide here : Using STM32CubeMX and PlatformIO - FAQ - PlatformIO Community

hmm… I cant seem to choose GPDSC as toolchain?

I suppose it will be similar for the FAN PWM generation on TIM4_CH2 just with a different ARR (16bit TImer)

Maybe I should just try to dive into SFOC STM32 specifically and understand what’s going on with the timers. Also need to set up TIM8 anyway for 4th bridge. Has anyone experimented with TIM1 + TIM8 for 8pin PWM generation?

How can we determine if the 192Mhz runs stable?