AN2739 Implementation example
23/26
2.4 General, allowed parameters
Audio file
Supported audio configuration is:
● Format: PCM
● Channel number: Stereo/Mono
(b)
●
Data length: 16 bits
● Frequency: 8 kHz, 16 kHz, 22.05 kHz, 44.1 kHz, 48 kHz (depending on the system
clock frequency)
● Length: depends on the memory used and the program memory usage (16 MB
available on NOR Flash memory and8 MB available on SPI Flash memory).
SPI peripheral
The SPI peripheral used for I
2
S communication is SPI2 and the relative allowed parameters
are:
● Mode: I
2
S master.
● Standard: I
2
S Phillips, MSB, LSB
(c)
●
Master Clock: Enabled or disabled (depends on the system clock, the audio frequency
and the audio file type (speech, music, etc.)).
● Frequencies: 8 kHz, 16 kHz, 22.05 kHz, 44.1 kHz, 48 kHz.
● Data format: 16-bit data length in 16-bit packets.
b. This configuration only depends on the codec. If a different codec is used, the Mono format may not be
available.
c. This configuration only depends on the codec. If another codec type is used, this parameter may be different.