80 likes | 193 Vues
This document explores the design considerations for a communication system integrating the ATMEL ATMega16 microcontroller and Analog Devices Blackfin BF532 DSP. Key topics include interrupt-driven architecture, critical timing for sound output at 48kHz, and maintaining song tempo updates. The system employs low-frequency sampling (~1kHz) for sensors and buttons, with intra-chip communication established via SPI. Detailed flowcharts and operational state diagrams are presented to illustrate the main functional components and interactions between the ATMega16 and Blackfin.
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