How do I configure STM32-L476RG and use the Timer(Encoder Mode/PWM) in Matlab-Simulink?
Hi all,
I am trying to program and control a Reaction Wheel Inverted Pendulum in real-time with a STM32-L476RG board and a SimpleFOCShield using Simulink. But first, I wanted to see whether I can read the incoming encoder values in Simulink through the STM32-L476RG. I have installed the STM32 Support Packages, but it doesn't really fulfill my needs. For example, I want to read the values of an encoder or generate PWM with STM32 in Simulink, there are no blocks for the Timer, which has the encoder mode function. And I can't upload/connect the configuration of the pins from STM32CubeMX for the board I am using. I am quite new to STM32, so I am wondering if there are solutions/alternatives/suggestions to this?
Thank you very much.
