the function where taken from st spl main() ; TIM1_DeInit(); GPIO_DeInit(GPIOC); GPIO_Init(GPIOC, GPIO_PIN_1, GPIO_MODE_OUT_PP_HIGH_FAST); //TIM1_TimeBaseInit(0, TIM1_COUNTERMODE_UP, 4095, 0); TIM1->CCER1 = 0x77 ; TIM1->CCER2 = 0x37 ; TIM1->C...
i uses the spl from the st.com for stm8s-discuvery with the 7 pwm example for timer 1 .after calling the function i can read in the debugger the next register value , it looks like ok i think but not working this example set pwm in timer 1 2 3 4 2,4...