ECE 477 Design Review ECE 477 Design Review Team 9 Team 9 Spring 2009 Spring 2009
Greg McCoyGreg McCoyDanielle MillerDanielle Miller
Isaac JonesIsaac JonesBrett MravecBrett Mravec
OutlineOutline• Project overview Project overview • Project-specific success criteriaProject-specific success criteria• Block diagramBlock diagram• Component selection rationaleComponent selection rationale• Packaging designPackaging design• Schematic and theory of operationSchematic and theory of operation• PCB layoutPCB layout• Software design/development statusSoftware design/development status• Project completion timelineProject completion timeline• Questions / discussionQuestions / discussion
Project OverviewProject Overview
• Mobile digital audio player• Plays FLAC audio files stored on a
removable SecureDigital (SD) card• Synthesizes the sound data to a 3.5mm
headphone jack• LCD Display and buttons for user input• Integrated lithium Ion battery and on-board
charging circuit
Project-Specific Success CriteriaProject-Specific Success Criteria
• An ability to decode files stored in the FLAC An ability to decode files stored in the FLAC formatformat
• An ability to select files stored on the deviceAn ability to select files stored on the device• An ability to display visualization informationAn ability to display visualization information• An ability to output audio to a headphone or An ability to output audio to a headphone or
speaker portspeaker port• An ability to pause and resume playback on An ability to pause and resume playback on
user inputuser input.
Block DiagramBlock Diagram
Component Selection RationaleComponent Selection Rationale
• Considerations for all componentsConsiderations for all components– LightweightLightweight– Low power consumptionLow power consumption– Small sizeSmall size
Component Selection RationaleComponent Selection Rationale
• Audio DSPAudio DSP– Sufficient processing capabilitiesSufficient processing capabilities– Easy audio interfacingEasy audio interfacing– SPI interface for SD card and other SPI interface for SD card and other
peripheralsperipherals• D/AD/A
– High performance for audioHigh performance for audio– Easy to interface to DSP, or built-inEasy to interface to DSP, or built-in
Component Selection RationaleComponent Selection Rationale
Analog Devices ADSP-21991
Analog Devices ADSP-21262
Freescale DSP56362
Clock 160 MHz 200 MHz 100 MHzProgram Memory 512 kb 4 Mb 720 kbData Memory 256 kb 2 Mb 120 kbDigital I/O 1 SPI, 1 UART 1 SPI / 1 Parallel 1 SPl / 1 ParallelAudio Capability On-board A/D and
PWM D/AOn-board 6 channel serial DAI (w/ I2S)
Onboard DAI with I2S and S/PDIF
Package 176-LQFP 144-LQFP 144-LQFPDevelopment Tools
Not available, very new product
Available already on campus
Available for similar processors
Cost $26.36 $18.01 $7.40
Component Selection RationaleComponent Selection Rationale
• LCD & Battery two largest LCD & Battery two largest componentscomponents
• Both need to be extremely Both need to be extremely thinthin– 15 mm allowance for LCD 15 mm allowance for LCD
& Li-Ion battery& Li-Ion battery– 8.9 mm LCD + 5.8 mm 8.9 mm LCD + 5.8 mm
battery = 14.7 mmbattery = 14.7 mm• LCD preferably graphics LCD preferably graphics
capable (not character-capable (not character-based, but not TV-quality based, but not TV-quality either)either)
Packaging DesignPackaging Design
• Off-the-shelf enclosureOff-the-shelf enclosure• Larger than competitors such as Larger than competitors such as
the iPod and Sandisk Sanza, but the iPod and Sandisk Sanza, but still highly portablestill highly portable
• Very tight tolerances for parts fit!Very tight tolerances for parts fit!
Schematic/Theory of OperationSchematic/Theory of Operation
• Digital Signal Processor– Analog Devices ADSP-21262– 144 Lead LQFP– Visual DSP++ Debugger & Evaluation Board
• Program Flash memory– Atmel AT25F2048– 2 Mbits in 8 bit words– Used to store Instruction Memory
• SD Card socket– User interface for loading FLAC files
Schematic/Theory of OperationSchematic/Theory of Operation
Schematic/Theory of OperationSchematic/Theory of Operation
• LCD Screen– Crystalfontz
CFAG12864B-TFH-V– Built-in LCD Controller– 128x64, B&W
– VIN minimum = 3.5 V
– SHARC can only guarantee 2.4 V
• Level Translators– TI CD4504B, 3.3 V to 5 V– For interfacing 3.3 V
SHARC to LCD and D/A
Schematic/Theory of OperationSchematic/Theory of Operation
Schematic/Theory of OperationSchematic/Theory of Operation
• Digital to Analog Converter– Analog Devices AD1854– Delta-sigma type– Accepts 16/18/20/24 bit data; 96 kHz sample rate– I2S communication Protocol– 5 V, but 3.3 V input tolerant
• Audio Operational Amplifier– Analog Devices SSM2135– Used as headphone amplifier/buffer with low pass
filter
Schematic/Theory of OperationSchematic/Theory of Operation
Schematic/Theory of OperationSchematic/Theory of Operation• Voltage RegulatorsVoltage Regulators
– Design Requires 3 Voltage Design Requires 3 Voltage levelslevels
– 5.0V provided by Linear 5.0V provided by Linear Technology LT1302Technology LT1302
– 3.3V provided by Texas 3.3V provided by Texas Instruments TPS63030Instruments TPS63030
– 1.2V provided by AME88901.2V provided by AME8890• Coulomb CounterCoulomb Counter
– LTC4150 Battery Gas LTC4150 Battery Gas GaugeGauge
– Interrupt-Driven OperationInterrupt-Driven Operation– Provides capacity to Provides capacity to
monitor bi-directional monitor bi-directional charge flow.charge flow.
Schematic/Theory of OperationSchematic/Theory of Operation
PCB LayoutPCB Layout
Constrained by enclosure!
PCB LayoutPCB Layout
PCB LayoutPCB Layout
SHARCSD socket
D/A
LCD header & trimmer pots
Audio output amplifier and
passives
Power circuitry
3.3 to 5 V Boost
SPI to Parallel Shft.R Reset
Button
Program Flash
Software Requirements:Software Requirements:
• FLAC decoding FLAC decoding – Already implemented in CAlready implemented in C
• Most peripherals interface with SPIMost peripherals interface with SPI– Flash memoryFlash memory– SD CardSD Card– LCD Controller (special case)LCD Controller (special case)
• D/A interface with ID/A interface with I22C SerialC Serial• Visualization ComputationVisualization Computation
Software Design – Other Software Design – Other FunctionsFunctionsTimer-Based FunctionsTimer-Based Functions• LCD Screen UpdateLCD Screen Update• Output decoded data to D/AOutput decoded data to D/A
Interrupt-Based FunctionsInterrupt-Based Functions• Coulomb CountingCoulomb Counting• User push-button interruptsUser push-button interrupts
Miscellaneous FunctionsMiscellaneous Functions• Requesting new data block from SD CardRequesting new data block from SD Card• Computing visualization informationComputing visualization information
Project Completion TimelineProject Completion Timeline
• 25 March - Power circuitry functional (stable 25 March - Power circuitry functional (stable power supply, burn-in complete)power supply, burn-in complete)
• 1 April - DSP “Heartbeat” established, 1 April - DSP “Heartbeat” established, software loading functionalsoftware loading functional
• 3 April - Audio output circuitry complete3 April - Audio output circuitry complete• 8 April - FLAC decoding software functional8 April - FLAC decoding software functional• 10 April - LCD hardware & software functional10 April - LCD hardware & software functional• 17 April - Able to read files from SD Card17 April - Able to read files from SD Card• 24 April - All PSSCs implemented24 April - All PSSCs implemented
Questions / DiscussionQuestions / Discussion