Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
511
/
631
Serial peripheral interface/Inter-IC Sound (SPI/I
2
S)
Introduction
This module is about SPI/I
2
S. It works in SPI mode by default and users can choose to use I
2
S by setting the value of
registers.
Serial peripheral interface (SPI) is able to work in master or slave mode, support full-duplex and simplex high-speed
communication mode, and have hardware CRC calculation and configurable multi-master mode.
On-chip audio interface (I
2
S) is able to work in master and slave modes in simplex communication, and supports four
audio standards: Philips I
2
S standard, MSB alignment standard, LSB alignment standard and PCM standard.
Both of them are synchronous serial interface communication protocols.
Main features
SPI features
Full duplex mode and simplex synchronous mode.
Support master mode, slave mode and multi-master mode.
Supports 8-bit or 16-bit data frame format.
Data bit sequence programmable.
NSS management by hardware or software.
Clock polarity and phase programmable.
Sending and receiving support hardware CRC calculation and check.
Supports DMA function.
I
2
S features
Simplex synchronous mode.
Supports master mode and slave mode operation.
Four audio standards are supported: Philips I
2
S standard, MSB alignment standard, LSB alignment standard and
PCM standard.
The audio sampling frequency from 8kHz to 96kHz can be configured.
Supports 16-bit, 24-bit or 32-bit data length and data frame format (configured according to requirements).
Steady state clock polarity programmable.
The data direction is always MSB first.