92
connected to the keys, leds and switches.
Figure 6-20 Block diagram of Micro SD music player
shows the software stack of this demonstration. SD 4-Bit Mode block implements the
SD 4-Bit mode protocol for reading raw data from the SD Card. The FAT block implements
FAT16/FAT32 file system for reading wave files that is stored in the SD Card. In this block, only
read function is implemented. The WAVE Lib block implements WAVE file decoding function for
extracting audio data from wave files. The I2C block implements I2C protocol for configuring
audio chip. The Audio block implements audio FIFO checking function and audio signal
sending/receiving function. The key and switch block acts as a control interface of the music player
system.