Audio; Description; Operating Voltage; Audio Codec Interface - ST STM32L562E-DK User Manual

Discovery kit with stm32l562qe mcu
Hide thumbs Also See for STM32L562E-DK:
Table of Contents

Advertisement

6.7

Audio

6.7.1

Description

An audio codec (U1) is connected to the SAI interface of STM32L562QEI6Q, which supports the TDM feature of
the SAI port. The TDM feature offers STM32L562QEI6Q the capability to stream stereo audio channels.
There is one low-power digital microphone on board the STM32L562E-DK. The Discovery kit offers the possibility
to connect a MEMS expansion module.
6.7.2

Operating voltage

VDD supplies the microphone, which is compatible with the VDD_MCU voltage range from 1.8 to 3.3 V. The audio
codec has two supplies:
VL connected to VDD compatible with VDD_MCU voltage selection 1V8 or 3V3 according to the audio
codec datasheet
1V8_CODEC source provided by U44
6.7.3

Audio codec interface

The audio codec interface is the MCU SAI1 and an I
Table 10
describes the I/O configuration for the audio codec interface.
I/O
PG1
PE2
PE3
PE4
PE5
PE6
PB6
PB7
6.7.4

Headphones outputs

The STM32L562E-DK Discovery kit can drive stereo headphones. The STM32L562QEI6Q sends up the stereo
audio channels, via its SAI1 TDM port, to the codec device. The codec device converts the digital audio stream to
stereo analog signals. It then boosts them for direct drive of headphones connecting to a 3.5 mm stereo jack
(CN13) receptacle on the board.
2
An I
C bus sets the audio codec. The address is a 7-bit address, with an additional bit to read or write (high to
read, low to write). The AD0 pin connected to GND gives the least significant bit of the address. The address of
the audio codec is 0b1001010x. The hexadecimal code is 0x94 to write, and 0x95 to read.
UM2617 - Rev 7
Table 10.
I/O configuration for the audio interface
PG1 is used as audio RESET (active low).
PE2 is used as SAI.MCLK_A.
PE3 is used as SAI.SD_B.
PE4 is used as SAI.FS_A.
PE5 is used as SAI.SCK_A.
PE6 is used as SAI.SD_A.
PB6 is used as I2C1_SCL shared between ARDUINO
PB7 is used as I2C1_SDA shared between ARDUINO
2
C interface.
Configuration
®
, CTP, STMod+, 3D accelerometer, and 3D gyrometer.
®
, CTP, STMod+, 3D accelerometer, and 3D gyrometer.
UM2617
Audio
page 23/64

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32L562E-DK and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents