How to send and receive serial (UART) data on BeagleBone Black in Simulink

3 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Swatantra Mahato
Swatantra Mahato il 11 Nov 2021
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

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by