1. PURPOSE / DESCRIPTION
1.1 To verify SPI Slave (with DMA) configuration on the DRONA.
2. TEST SET-UP
2.1 DRONA flashed with firmware from https://github.com/Vairdo/DRONA_firmware
2.2 MPLAB X IDE and XC16 compiler
2.3 MPLAB ICD 3
2.4 Aardvark SPI/I2C to USB Adapter
2.5 Control Central Serial v3.72
2.6 13-pin connector breakout board
2.7 Hook-up wires
3. PROCEDURE
3.1 Grab the firmware using:
3.1.1 git clone https://github.com/Vairdo/DRONA_firmware
3.2 Open an MPLAB project from the folder containing the cloned repository
3.3 Build and dump the code onto the DRONA using the debugger
3.4 Connect the 13 pin connector SPI pins to the Aardvark SPI pins
3.5 Open Control Central Serial and set up the Aardvark as an SPI Master
3.6 In the “MOSI Message” window, type in “00 00 00 00 00 00 00 00 00 00”
3.7 Click send and note the response
3.8 Now type “05 00 01 02 03 04 05”
3.9 Click send and note the response
3.10 The above example will make DRONA respond the default packet: 0x55 for each receiving bytes (default packet)