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

답변 (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