Presentation is loading. Please wait.

Presentation is loading. Please wait.

Digital Sound Projection ECE 477 Group 6 Software Narrative Steve Anderson Mike Goldfarb Shao-Fu Shih Josh Smith.

Similar presentations


Presentation on theme: "Digital Sound Projection ECE 477 Group 6 Software Narrative Steve Anderson Mike Goldfarb Shao-Fu Shih Josh Smith."— Presentation transcript:

1 Digital Sound Projection ECE 477 Group 6 Software Narrative Steve Anderson Mike Goldfarb Shao-Fu Shih Josh Smith

2 Software Design Considerations ADSP-21262 – SPORTS – Serial Audio Interface I2S Clock Generation Use Precision Clock Generator (PCG) peripheral – Set clock source, period, phase for normal I2S mode – Clock source may be nRF24Z1 or oscillator Interrupt driven, send and receive sample blocks while processing – Signal Routing Unit Map internal peripheral signals to external pins 6/28/20162ECE477 Group 6

3 Software Design Considerations ADSP-21262 – Serial Peripheral Interface Simple polling based device drivers Need to be careful about blocking the main loop Manual slave select needed to work with some devices – Memory On-chip peripherals and CPU registers mapped to lowest addresses Organized into segments Most data memory is located in seg_dmda – Need to use the program memory data segment seg_pmda for extra space. Access depends on word size – Supports 16, 32 and 64 bits 6/28/20163

4 Software Design Considerations ATmega168 – SHARC ATmega168 Communication Read and write to addresses representing UI settings SPI slave driver is interrupt driven – Simple state machine – Synchronize/reset using slave select – Pushbuttons, Switches and Rotary Encoder De-bounce using timer Handle events depending on current UI screen – LCD Driven by UART 6/28/20164ECE477 Group 6

5 6/28/20165 No

6 Software Design Hierarchy 6/28/20166ECE477 Group 6 Status: All complete, except ADSP-21262 nRF24Z1 driver

7 Software Design Hierarchy 6/28/20167ECE477 Group 6 Status: Still working on UI menu routines

8 Software Design Hierarchy 6/28/20168ECE477 Group 6 Status: All complete


Download ppt "Digital Sound Projection ECE 477 Group 6 Software Narrative Steve Anderson Mike Goldfarb Shao-Fu Shih Josh Smith."

Similar presentations


Ads by Google