Is it possible to set the baudrate for the serial conection in external mode,
3 views (last 30 days)
Show older comments
Hello,
I was working on a protject wich required sample rates upto 5khz. For this i was planning to use the Nucleo f401re development boar. witch is suported by "ST Nucleo Board Support from Simulink Coder"
I want to use simulink external mode to log these samples, however the speed of the comunication is not high enough. I know that the nucleo can acheave comunication speets of 2000000 Bit/s. but it seems that simulink external mode (using xcp) uses a way lower baud rate. this hinders me from reading values at 5Khz after the buffer on the nucleo is filled up.
My question was therefore whether it is possible to increase the baud rate of the serial conection to the nucleo.
2 Comments
Walter Roberson
on 20 Nov 2019
https://www.mathworks.com/help/supportpkg/nucleo/ref/sci.html#mw_20672bf6-d8a0-4cf6-8a6a-5a3be27ebcf2 Hardware Configuration Pane -> SCI appears to be the only method to set the rate.
Answers (1)
Charan Jadigam
on 20 Mar 2020
Hi,
External mode runs on fixed baud rate as of now. The Nucleo ecosystem on F767ZI supports a higher baud rate. I have let the developers know about it and they will look into it in the future.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!