A20 User Manual (Revision 1.2) Copyright © 2013 Allwinner Technology Co., Ltd. All Rights Reserved. Page 697 / 812
6.9. Digital Audio Interface
6.9.1. Overview
The Digital Audio Interface can be configured as I2S interface or PCM interface by software. When
configured as I2S interface ,it can support the industry standard format for I2S, left-justified, or
right-justified. PCM is a standard method used to digital audio for transmission over digital
communication channels. It supports linear 13 or 16-bits linear, or 8-bit u-law or A-law companded
sample formats at 8K samples/s and can receive and transmit on any selection of four of the first four
slots following PCM_SYNC.
It features:
Support industry-standard AMBA Peripheral Bus (APB) and it is fully compliant with the AMBA
Specification, Revision 2.0
I2S or PCM configured by software
Full-duplex synchronous serial interface
Master / Slave mode operation configured by software
Audio data resolution of 16, 20, 24
I2S Audio data sample rate from 8KHz to 192KHz
I2S data format for standard I2S, Left Justified and Right Justified
I2S support 8-channel output and 2-channel input
PCM supports linear sample (8-bits or 16-bits), 8-bits u-law and A-law companded sample
One 128x24-bit FIFO for data transmit, one 64x24-bit FIFO for data receive
Programmable FIFO thresholds
Interrupt and DMA support
Two 32-bit counters for AV sync application
Loopback mode for test