How to change baud rate for STM32 F769I-Discovery in Simulink for PiL-Simulation?
10 views (last 30 days)
Show older comments
Hi guys,
for a PIL-Simulation with serial connection (USB), I want to change the PIL baud rate for an STM32 F769I-Discovery:
I tried to change the PIL baud rate to e.g. 1000000 Bd. After I compiled my model, it doesn't run with my desired baud rate and it returned an error. When I left the baud rate to 115200 Bd (default), Simulink compiled my model and ran it with 115200Bd.
Is there an error or why can't I change the baud rate for a STM32-F769I Discovery although there is an option to change the baud rate (see picture above)?
Greetings
RL
2 Comments
Answers (1)
Abhinav Aravindan
on 10 Sep 2024
Edited: Abhinav Aravindan
on 10 Sep 2024
Hi Radavid,
It appears that you are facing an issue with “Code Verification and Validation with PIL” at a Baud Rate higher than the default using “STM32 F769I-Discovery board”. You may consider trying the following:
- Select the “STM32F7xx Based” target in the hardware selection dropdown.
- Proceed with the “STM32CubeMX” workflow for PIL instead of using the “Legacy” workflow of selecting the STM32F769-Discovery hardware board.
Please find below the relevant documentation for your reference.
I hope this helps resolve your issue!
7 Comments
Nithin
on 17 Sep 2024
The STM32F769I-Discovery is a double-precision target. You can choose either operating system as both are supported. The IOC file must be modified accordingly. The Ethernet port is greyed out because it is fixed to 17725 at present.
Hope this resolves your queries!
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!