This FPGA design example showcases how to play WAV format audio files from an SD card, on the NB2 speakers. The user must copy sample WAV files to an SD card (capacity up to 2 GB) and insert the SD card into the SD slot on the Peripheral Board PB02 on the NB2. When the project is downloaded and run on the NB2 a file browser appears on the LCD touch screen. Use the touch screen to browse to the WAV files, select one, then touch the Play button. The WAV file will be played back via the NB2 speakers. Status information is displayed on the Terminal Instrument.
The FPGA project demonstrates the simplicity and elegance of the OpenBus approach to design, where each major FPGA design element is placed as an OpenBus component, with just one or two lines to connect it to the other OpenBus components. This allows for rapid system building and an easily interpreted OpenBus diagram.
The OpenBus document in the FPGA project includes:
- TSK3000 32-bit embedded processor
- SD Cad Controller
- I2S Audio Streaming Controller
- SPI
- Touchscreen Pen Control
- VGA 32bit TFT Controller
- Arbiter
- SRAM Controller
The embedded software showcases Altium Designer’s Software Platform builder, a visual, structured approach to including low-level driver and context code for peripherals, into the code.
- The embedded software showcases:
- Audio Context
- Storage System Context
- GUI Context
- Serial Device I/O Context
Altium Designer Projects included in this download:
- WAV_Player.PrjFpg
- WAV_Player.PrjEmb