world leader in high performance signal processing
This version (21 Nov 2013 14:05) was approved by Alexandru.Tofan.The Previously approved version (01 Oct 2013 09:34) is available.Diff

SSM2518 Pmod Xilinx FPGA Reference Design

Introduction

The SSM2518 is a digital input, Class-D power amplifier that com-bines a digital-to-analog converter (DAC) and a sigma-delta (Σ-Δ) Class-D modulator. This unique architecture enables extremely low real-world power consumption from digital audio sources with excellent audio performance. The SSM2518 is ideal for power sensitive applications, such as mobile phones and portable media players, where system noise can corrupt small analog signals such as those sent to an analog input audio amplifier.

HW Platform(s):

Quick Start Guide

The bit file provided in the project *.zip file combines the FPGA bit file and the SDK elf files. It may be used for a quick check on the system. All you need is the hardware and a PC running a UART terminal and the programmer (IMPACT).

Required Hardware

Required Software

  • Xilinx ISE 14.4 (Programmer (IMPACT) is sufficient for the demo and is available on Webpack).
  • A UART terminal (Tera Term/Hyperterminal), Baud rate 115200 for the Avnet LX-9 Microboard and ZedBoard or 9600 for the Digilent Nexys™3 Board.

Running Demo (SDK) Program

If you are not familiar with LX9 and/or Xilix tools, please visit
http://www.xilinx.com/products/boards-and-kits/AES-S6MB-LX9.htm for details.
If you are not familiar with Nexys™3 and/or Xilix tools, please visit
http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,897&Prod=NEXYS3 for details.
If you are not familiar with ZedBoard and/or Xilix tools, please visit
http://www.em.avnet.com/en-us/design/drc/Pages/Zedboard.aspx for details.

Avnet LX9 MicroBoard Setup

Extract the project from the archive file (SSM2518_<board_name>.zip) to the location you desire.

To begin, connect the PmodAMP3 to J4 connector of LX9 board. You can use an extension cable for ease of use. Connect the USB cable from the PC to the USB-UART female connector of the board for the UART terminal. The board will be programmed through its USB male connector.

PmodAMP3 and LX-9

Digilent Nexys™3 Spartan-6 FPGA Board

Extract the project from the archive file (SSM2518_<board_name>.zip) to the location you desire.

To begin, connect the PmodAMP3 to JB connector of Nexys™3 board. You can use an extension cable for ease of use. Connect the USB cables from the PC to the board, one for programming (Digilent USB device) and one for the UART terminal (FT232R USB UART).

PmodAMP3 and Nexys™3

Avnet ZedBoard

To begin, connect the PmodAMP3 to JD connector of ZedBoard (see image below). You can use an extension cable for ease of use. Connect the USB cables from the PC to the board, one for programming (Digilent USB device) and one for the UART terminal (FT232R USB UART).

PmodAMP3 and ZedBoard

FPGA Configuration for Nexys3 and LX-9 MicroBoard

Program the device using download.bat located in ”../sw/bin” folder. The downloading progress will be shown in the command prompt screen that opens.

Programming FPGA using download.bat

If programming was successful, you should be seeing messages appear on the terminal window as shown in the figure below. After programming the SSM2518 device, the program will automatically start playing a pre-recorded sound. Press any key to pause/resume playback.

UART messeges

FPGA Configuration for ZedBoard

Run the download.bat script from the ”../bin” folder downloaded from the github (see the links in the download section of the wiki page). The script will automatically configure the ZYNQ SoC and download the *.elf file afterwards.

If the download script fails to run, modify the Xilinx Tools path in download.bat to match your Xilinx Installation path.

If programming was successful, you should be seeing messages appear on the terminal window. After programming the SSM2518 device, the program will automatically start playing a pre-recorded sound.

Using the reference design

Functional Description

Avnet LX-9 MicroBoard and Digilent Nexys3

The reference design is a simple IIC interface used to program the SSM2518. A custom I2S Core is also implemented, in order to transmit audio data to the SSM2518. The software programs the device and starts audio playback. Pausing the audio playback is done from an UART Terminal.

Avnet ZedBoard

The reference design is a simple IIC interface used to program the SSM2518. A custom I2S Core is also implemented, in order to transmit audio data to the SSM2518. The software programs the device and starts audio playback. DMA transfers data from the DDR memory to the I2S Core, resulting in playback of audio data.

  • Connecting the PmodAMP3 to the desired Board using an extension cable provides ease of use.
  • UART must be set to 115200 Baud Rate for the Avnet LX-9 Microboard and ZedBoard or 9600 Baud Rate for the Digilent Nexys™3 Board.
  • JP5 must be connected (I2C Active).
  • JP6 must be removed (ADDR = 1).
  • JP3 and JP4 must be removed.
  • JP2 must be connected to MCLK position.
  • External connection must be made between J3 Pin 1 (SCL) to J1 Pin 7 and J3 Pin 2 (SDA) to J1 Pin 8.

Downloads

More information