In STM32F103C8T6 , Location of code where HAL sets CCR register for TIMER1 (with DMA array) ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-09-09 2: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.
Labels:
- Labels:
-
DMA
-
STM32CubeMX
-
STM32F1 Series
-
TIM
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
