Associate
January 7, 2020
Question
Blinking LED model from Simulink and STM32-Mat/Target not working.
- January 7, 2020
- 4 replies
- 2184 views
Matlab - 2019a
STMCube MX - 5.4.0
Board - STM32F4 Discovery
Desired Operation - Blinking of 3 user LEDs on board and 4th LED to glow when user button is pressed.

Scope result -

Simulation results confirms that the model is perfectly fine.
GPIO Pin Configuration - PA0 is set to GPIO_input and all other pins are in its default option.

Saving the .ioc file and importing it in the MCU_config blockset .
Upon clicking the Build, Deploy and Star. Matlab throws an error.

Aren't the .hal files generated by cube MX and found in my workspace?
I have attached all the required folders.
Kindly help me with rectify this issue.
