Simulink Code Generation for Raspberry Pi Serial interface

1 回表示 (過去 30 日間)
Christian
Christian 2019 年 7 月 3 日
コメント済み: Shinji Watanabe 2021 年 8 月 11 日
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 件のコメント
Shinji Watanabe
Shinji Watanabe 2021 年 8 月 11 日
I have the same question.I want to know the solution.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeRun on Target Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by