SPI Master (work with SPI Slave)
by Microchip Technology

In this code example, we make PIC24FJ128GA010 on Explorer 16 Development Board as an SPI Master to communicate with PIC24FJ64GA002 on 16-Bit 28-Pin Demo Board.
About this Code Example
In this code example, we make PIC24FJ128GA010 on Explorer 16 Development Board as an SPI Master to communicate with PIC24FJ64GA002 on 16-Bit 28-Pin Demo Board.
The code does the following operations on SPI slave,
(1) write four bytes to slave;
(2) read four bytes from slave simultaneously;
(3) blinding the LED after finish every times.
Master: [1st byte to slave] [2nd byte to slave] [3rd byte to slave] [hash byte to read back]
Slave: [hash byte in buffer] [1st byte to master] [2nd byte to master] [3rd byte to master]
- Current Version: 1.0.0
- Updated: Jun 20, 2012
- Downloads: 660
- Status: Released
-
- MPLAB Version: V8.xx or above
- C Compiler: MCC18 v3.30 or above
- Development Tools: Explorer 16 Development board & 16-bit 28-pin demo board
- Supported Devices: PIC24FJ128GA010 & PIC24FJ64GA002
Reviews
- There are no reviews for this Code Example.
Release History
- SPI Master (work with SPI Slave) (current version) June 20, 2012
- First Release to ECS