Access GPIO pins on BeagleBoard from Simulink

버전 1.0.0.0 (23.7 KB) 작성자: Michael Lundgren
This example shows how to access GPIO pins on the BeagleBoard using Simulink.
다운로드 수: 1.1K
업데이트 날짜: 2012/10/5

라이선스 보기

This submission contains two Simulink models showing how to access GPIO pins on the BeagleBoard. I developed the models using R2012a BeagleBoard Support Package. I used MATLAB Function Block to implement GPIO Read and GPIO Write functionality. The MATLAB Function Blocks are basically used to make GPIO related Linux system calls.

One can do a great deal using the same paradigm to call into Linux shell. This example showcases "system" and "popen" calls.

While the examples were developed in R2012a, they should work in R2012b as well.

NOTE: GPIO pins on the BeagleBoard use 1.8 V logic levels. Do not connect devices using +5V or +3.3V logic levels to the GPIO pins or you risk frying your board.

인용 양식

Michael Lundgren (2024). Access GPIO pins on BeagleBoard from Simulink (https://www.mathworks.com/matlabcentral/fileexchange/38508-access-gpio-pins-on-beagleboard-from-simulink), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2012a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Digital Input and Output에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0