How to set the output of high-side driver(VND7020AJ) with pwm
Hey,so I was trying to use the VND7020AJ as a driver to loads,and wanted to power the load to 7.2V while powering the high side driver with 12V.Im using a stm32f103rb,and using an outpin pin timer to control the pulse width to the input pin on the driver.It works fine when not connecting the driver to the load,but when I connect it jumps to 12V.Is it possible to pulse width the output or not?Is there a specific frequency that I am supposed to use?The input pin is still under 60%pulse(around 1.9V).Ive tried modifying the pulse while connected to the load but it didnt change anthing on the output.
The code is pretty simple,Ive only set the input pin and controlled it:
__HAL_TIM_SET_COMPARE(&htim3,TIM_CHANNEL_3,3000);
Clock(8Mhz)
Prescaler(8-1)
CounterPeriod(10000-1)
