AnsweredAssumed Answered

PWM input from Simulink-> PWM output TIM1

Question asked by antonio rueda on Feb 5, 2018
Latest reply on Feb 5, 2018 by T J

Hi, after some problems with the interface between Simulink and CubeMX, I've managed to get the TIM1 of the STM32F767ZIT working at a desired frequency and duty cycle using the next blocks:

My question is, is there any way to input a PWM signal to modify the duty output of the timer instead of inputting the duty cycle to the TIM1 block as a constant? I need to use the next signal from Simulink for example to modify the duty of the TIM1.