Simulink Code Generation for Raspberry Pi Serial interface

1 vue (au cours des 30 derniers jours)
Christian
Christian le 3 Juil 2019
Commenté : Shinji Watanabe le 11 Août 2021
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
  1 commentaire
Shinji Watanabe
Shinji Watanabe le 11 Août 2021
I have the same question.I want to know the solution.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Run on Target Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by