MATLAB Answers

Is it possible to set the baudrate for the serial conection in external mode,

5 views (last 30 days)
gijs knaken
gijs knaken on 20 Nov 2019
Answered: Charan Jadigam on 20 Mar 2020
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

gijs knaken
gijs knaken on 20 Nov 2019
I have tried this, but it does not seem to have any influence on the external mode communication between the PC and the Nucleo. I can set the sci baud rate from 600 to 2000000 and some values inbetween without seeing a difference in communication.

Sign in to comment.

Answers (1)

Charan Jadigam
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

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!