RM0008
Serial peripheral interface (SPI)
Table 167. Audio-frequency precision using standard 14.7456 MHz and PLL3 (connectivity line
devices only)
PREDIV2 PLL3 I2SDIV I2SODD
16-bit 32-bit 16-bit 32-bit 16-bit 32-bit 16-bit 32-bit
MCLK
Target
F S (Hz)
Real F S (kHz)
16-bit 32-bit
Error
16-bit 32-bit
3
6
3
6
10
20
10
20
16
32
8
16
0
0
0
0
No
No
96000
48000
96000
48000
96000
48000
0%
0%
0%
0%
11
11
20
20
19
9
0
1
No
44100
44095.69 44095.69 0.0098% 0.0098%
2
2
10
10
72
36
0
0
No
32000
32000
32000
0%
0%
11
11
10
10
19
9
0
1
No
22050
22047.84 22047.84 0.0098% 0.0098%
4
4
20
20
144
72
0
0
No
16000
16000
16000
0%
0%
2
2
10
10
209
104
0
1
No
11025
11023.92 11023.92 0.0098% 0.0098%
12
2
6
12
2
6
20
10
20
20
10
20
96
3
4
48
3
4
0
0
0
0
0
0
No
Yes
Yes
8000
96000
48000
8000
96000
48000
8000
96000
48000
0%
0%
0%
0%
0%
0%
2
2
10
10
6
6
1
1
Yes
44100
44307.69 44307.69 0.4710
0.4710%
2
2
10
10
9
9
0
0
Yes
32000
32000
32000
0%
0%
4
4
13
13
8
8
1
1
Yes
22050
22023.52 22023.52 0.1200% 0.1200%
4
4
20
20
18
18
0
0
Yes
16000
16000
16000
0%
0%
11
11
20
20
9
9
1
1
Yes
11025
11023.92 11023.92 0.0098% 0.0098%
6
6
20
20
24
24
0
0
Yes
8000
8000
8000
0%
0%
23.4.4
I 2 S master mode
The I 2 S can be configured in master mode. This means that the serial clock is generated on
the CK pin as well as the Word Select signal WS. Master clock (MCK) may be output or not,
thanks to the MCKOE bit in the SPI_I2SPR register.
Procedure
1.
2.
3.
Select the I2SDIV[7:0] bits in the SPI_I2SPR register to define the serial clock baud
rate to reach the proper audio sample frequency. The ODD bit in the SPI_I2SPR
register also has to be defined.
Select the CKPOL bit to define the steady level for the communication clock. Set the
MCKOE bit in the SPI_I2SPR register if the master clock MCK needs to be provided to
the external DAC/ADC audio component (the I2SDIV and ODD values should be
computed depending on the state of the MCK output, for more details refer to
Set the I2SMOD bit in SPI_I2SCFGR to activate the I 2 S functionalities and choose the
I 2 S standard through the I2SSTD[1:0] and PCMSYNC bits, the data length through the
DATLEN[1:0] bits and the number of bits per channel by configuring the CHLEN bit.
Select also the I 2 S master mode and direction (Transmitter or Receiver) through the
I2SCFG[1:0] bits in the SPI_I2SCFGR register.
Doc ID 13902 Rev 9
609/995
相关PDF资料
MCBTMPM330 BOARD EVAL TOSHIBA TMPM330 SER
MCIMX25WPDKJ KIT DEVELOPMENT WINCE IMX25
MCIMX53-START-R KIT DEVELOPMENT I.MX53
MCM69C432TQ20 IC CAM 1MB 50MHZ 100LQFP
MCP1401T-E/OT IC MOSFET DRVR INV 500MA SOT23-5
MCP1403T-E/MF IC MOSFET DRIVER 4.5A DUAL 8DFN
MCP1406-E/SN IC MOSFET DVR 6A 8SOIC
MCP14628T-E/MF IC MOSFET DVR 2A SYNC BUCK 8-DFN
相关代理商/技术参数
MCBSTM32EXLU 功能描述:开发板和工具包 - ARM EVAL BOARD + ULINK2 FOR STM32F103ZG RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V
MCBSTM32EXLU-ED 制造商:ARM Ltd 功能描述:KEIL STM STM32EXL EVAL BOARD
MCBSTM32EXLUME 功能描述:开发板和工具包 - ARM EVAL BOARD + ULINKME FOR STM32F103ZG RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V
MCBSTM32F200 功能描述:开发板和工具包 - ARM EVAL BOARD FOR STM STM32F207IG RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V
MCBSTM32F200U 功能描述:开发板和工具包 - ARM EVAL BOARD FOR STM STM32F207IG + ULINK2 RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V
MCBSTM32F200UME 功能描述:开发板和工具包 - ARM EVAL BOARD FOR STM STM32F207IG ULINK-ME RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V
MCBSTM32F200UME-ED 制造商:ARM Ltd 功能描述:KEIL STM32F207IG EVAL BOARD
MCBSTM32F400 功能描述:开发板和工具包 - ARM EVAL BOARD FOR STM STM32F407IG RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V