2022-09-09 02:05 AM
I am using STM32F103C8T6.
Using TIMER 1 channel 1 for complementary PWM generation using HAL with DMA array .
But i also want to update CCR value when half of DMA buffer is done.
i.e something like
if( array_index < array_size ) CCR1 = array[x];
else CCR1 = ARR - array[x];
Now in STM32 CUBE MX I cant locate where CCR is set in HAL function.
If you can tell , it will be of great help.
Or if there is another method to do so.
THANK YOU.