Simulink Code Generation for Raspberry Pi Serial interface

1 次查看(过去 30 天)
Hello,
currently I try to develop a Simulink model for deployment on Raspbbery Pi 3B+ hardware, thats supposed to read
information from /dev/ttyACM0.
Usually I'd try to utilize the "Simulink Support Package for Raspberry Pi Hardware" "Serial Read" block, but this block is limited to a baudrate of 230400Baud.
I'm in need of a Baudrate of 9216000Baud, therefore m question.
Is it possible to define a custom Baudrate for the eforementiond block?
If not, ideally I'd like to implement the functionality to read the buffer of a serial interface, reading from /dev/ttyACM0.
Does someone have some experience with codegeneration for serial interfaces so far?
Will it be necessary to create a sFunction for this or is there a unexpectedly simple solution to this?
Greetings,
Chris

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Run on Target Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by