I'm involved in a collaboration to develop a motor driver circuit based on the 48 pin STM32G474 microcontroller. I'm using TIM8 timers to drive the PWM of a DRV8323RH chip.
My question is about the use of BOOT0 pin. My understanding of the BOOT0 pin is that when the BOOT0 pin is at a low level, the STM32G4 microcontroller boots from the User Flash memory. When the BOOT0 pin is at a high level, the nBOOT1 bit determines the boot mode.
Where I'm confused is that in a previous incarnation of the PCB we tied BOOT0 to ground, and programmed STM32G474 we use an st-link2 system, through the TCK and TMS pins. In this incarnation of the board we would prefer to use PB8-BOOT0 to send PWM to the driver chip.
If I am programming using the st-link2 system as before, will I still be able to program the STM32G4 if I tie the PB8-BOOT0 to PWM of the driver?
thank you.
