SPI 장치
R2026bSPI 함수를 사용하기 전에 arduino를 사용하여 Arduino 객체를 만듭니다. 자세한 내용은 Connect to Arduino Hardware 항목을 참조하십시오. MATLAB® 및 MATLAB Online™에서 Arduino 탐색기를 사용하여 SPI 통신 인터페이스를 대화형 방식으로 구성하고, Arduino 및 기타 지원되는 하드웨어에 연결된 SPI 장치의 데이터를 읽고 쓸 수 있습니다. 자세한 내용은 Connect to SPI Device Using Arduino Explorer App 항목을 참조하십시오.
설치된 MATLAB 버전에서 지원되는 하드웨어의 전체 목록을 보려면 Supported Hardware 항목을 참조하십시오. MATLAB Online에서 지원되는 보드, 워크플로, 플랫폼에 관한 자세한 내용은 Get Started with MATLAB Online for Arduino 항목을 참조하십시오.
참고
모든 함수는 MATLAB Function 블록을 사용하여 코드를 생성합니다. 자세한 내용은 Deploy Arduino Functions to Arduino Hardware Using MATLAB Function Block 항목을 참조하십시오.
함수
도움말 항목
- Communicate with a SPI EEPROM Device
Learn how to store and retrieve data from an SPI EEPROM device.
- Communicate with SPI Device on Arduino Hardware
Learn how to communicate with an SPI device on your Arduino hardware.
- Arduino and SPI Interface
Learn how Arduino hardware interfaces with the SPI protocol.
- Use Arduino Explorer App
Learn how to use the Arduino Explorer app to configure GPIO pins and communication protocol interfaces and visualize data.
- Connect to SPI Device Using Arduino Explorer App
Arduino Explorer app lets you configure the Serial Peripheral Interface (SPI) communication interface, which you can then use to read and write data to SPI devices connected to the Arduino hardware.