80 likes | 186 Views
Team 1: Algorhythms Software Design Considerations. Device Mockup. Chip Communication. ATMEL ATMega16. ANALOG DEVICES “Blackfin” BF532. SPI. Code Organization. Interrupt-Driven Timing is critical Sound output at 48kHz Song needs to be updated at its tempo Sensors and Buttons
E N D
Chip Communication ATMEL ATMega16 ANALOG DEVICES “Blackfin” BF532 SPI
Code Organization • Interrupt-Driven • Timing is critical • Sound output at 48kHz • Song needs to be updated at its tempo • Sensors and Buttons • Sampled at low frequency ~1kHz • Intra-chip Communication • ATMEL talks to Blackfin via SPI
START START Initialize Initialize Registers Registers Boot Blackfin Idle Loop Idle Loop Main Flowchart Main Function (BF532) Main Function (ATMega16)
ATMEL Blackfin ISR Flowcharts