Overview
Build a custom SPI master to interface with the Blackboard's onboard sensors including accelerometer, gyroscope, and compass. This project demonstrates real hardware peripheral interfacing and protocol implementation.
This completes Phase 1 of the learning roadmap, providing hands-on experience with a widely-used embedded communication protocol.
Requirements
- Read accelerometer, gyroscope, and compass data via SPI
- Configure sensor registers for desired operating modes
- Display sensor data on 7-segment display or via UART
- Implement configurable SPI clock divider
Skills Demonstrated
- SPI Protocol: CPOL, CPHA mode configuration
- Multi-byte Transactions: Register read/write sequencing
- Device Driver State Machines: Sensor initialization and polling
- Hardware Interfacing: Real peripheral communication
Deliverables
- GitHub repository with documented source code
- Block diagram of SPI master architecture
- Testbench for SPI transactions
- Demo showing live sensor readings
- Resource utilization report
Architecture
Architecture will be documented as the project progresses.
Implementation Notes
Implementation notes will be added during development.
Resource Utilization
To be measured after implementation.
Progress Log
Not yet started
This project follows the UART Transceiver and completes Phase 1.