320volt / Electronics Projects/

ARM LPC2138 microcontroller based digital audio player

Electronics Projects, ARM LPC2138 microcontroller based digital audio player article "arm project, microcontroller projects, " tagged with

Advertisement

Flash Card Audio Player for Head End Unit This project uses an LPC213x to implement a simple digital audio player, capable of playing music tracks from a removable flash card. The player is controlled using the component-bus interface from a car audio head-end unit, and provides a line out stereo signal, suitable for plugging into the auxiliary input connector of the head-end unit. Author: Lindsay Meek

Resource Requirements

TOOLCHAIN GCC within Keil uVision
RAM 11K
ROM 24K
CPU CLOCK 60 MHz
UARTS 1 (For In-circuit programming and debugging)
SPI 2
I2C 1
TIMERS 2
INPUT CAPTURES 1
GPIO USED 15 (Include Peripherals)
MODES Thumb (Background), ARM (IRQs)
INTERRUPTS 2
TARGETS LPC2132, LPC2134, LPC2136, LPC2138
LPC2131 with a smaller DAC sample buffer

ARM LPC2138  microcontroller based digital audio player arm circuit arm7 audio keil

Head End Protocol Disrupt

The head-end protocol program consisted of a SPI-like servile [1], with a concentrated bi-directional accumulation connexion, with a 1ms gap between bytes, and a 50ms+ gap between packets.

As no SPI skirting was free on the LPC213x to cater the low-level byte program, a bit-banging software act was victimized. This operated using Timer1, with a compounding of slip charm on the bus timekeeper differentiation and oscillating counters.

files: lpc2138-arm-microcontroller-based-digital-audio-player.zip

  1. Electronics Circuits