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

3 visualizaciones (últimos 30 días)
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 comentarios
gijs knaken
gijs knaken el 20 de Nov. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Charan Jadigam
Charan Jadigam el 20 de Mzo. de 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.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by