I am currently using the STM32F103C8 board, in this, I connect the OPTOCOUPLER input to the PA6 PIN of stm32 which is the PWM pin, and at the output side I connect the optocoupler's output to the driver's 10v + pin and optocoupler's output with 10v ...