How to send and receive serial (UART) data on BeagleBone Black in Simulink
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi,
we just installed the embedded coder support for Beaglebone Black. I tested the Simulink-example and it works just nicely. But there seems to be no provision for serial (UART) data in the simulink blocks. This seems strange as it is indeed part of all the other packages such as Arduino, Beaglebone Blue, and Raspberry. Am I overlooking something obvious or is this functionality not supported?
Does someone have a tip for how to build Simulink BBB Simulink applications that use the UART?
Best
Max
댓글 수: 0
답변 (1개)
Swatantra Mahato
2021년 11월 11일
Hi Max,
Currently there are no serial blocks in the Simulink support package for BBB to support serial communication using BBB. This might be considered for a future release.
As a workaround, you can write your own Simulink blocks to perform this function. You can refer the following as a starting point
In case you decide to write your own blocks, then this FileExchange post may be useful:
Hope this helps
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!