Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32g4/STM32G441/TIM1/ECR#0x0
DMA control register
Index Enable
Index Direction
Index Blanking
First Index
Index Positioning
Pulse width
Pulse Width prescaler
https://github.com/modm-io/cmsis-svd-stm32