Waveshare WM8960 Скачать руководство пользователя страница 13

WM8960 Audio Board 

   

 

CLK 

SAI1_SCK_B (PF8) 

WS 

SAI1_FS_B (PF9

 

TXSDA 

SAI1_SD_B (PF6) 

TXMCLK 

SAI1_MCLK_B (PF7) 

 

Note: Pins which doesn’t listed on table are not connected

 

2.

 

Description of files 

Examples are compiled on MDK-ARM V4, generated by STM32CubeMX 

../Src: 

WM8960.c: Bottom driver of WM8960, mainly provide functions that sending data 

to chip, initializes chip 

Play_WAV.c: Provide function that play WAV file from SD card, include read list of 

WAV files, read audio information of files, play WAV files, handle keys events and 

so on. 

3.

 

Expected result 

After connecting all module to Open746I-C, insert an earphone or speaker to 

Audio board, connect USART1 interface of Open746I-C to PC , and then open 

serial assistance software on PC. 

Download example to Open746I-C board, module will begin to play audio file 

automatically, and print WAV files list and the information of current WAV file to 

USART port at the same time. 

Содержание WM8960

Страница 1: ...quantity MEMS silicon MIC for recording without earphone 3 5mm 4 segment headphone mic allows external headphone for recording or playing Dual channel Speaker interface for external speaker Supports...

Страница 2: ...98dB ADC signal noise ratio 94dB Headphone controller 16 40mW Speaker controller 8 1W PINS PIN Descriptions VCC 3 3V GND Ground SDA I2C Data input SCL I2C Clock input CLK I2S Bit clock input WS I2S F...

Страница 3: ...cating There are 3P pins for choosing MCLK signal left one is MCLK signal transmitted and the right one is MCLK signal received You can connect 3 segment headphone or 4 segment headphone mic to EARPHO...

Страница 4: ...bit and finally the response signal If slave device receives the response signal it will return a response to master device Then master device could begin to send data to slave device which is 8 bits...

Страница 5: ...uency 2 x Sample rate x Sample bits Frame clock LRCK WS is used to switch data of LEFT and RIGHT channels If LRCK is 1 it means that data of RIGHT channel are being transmitted and LEFT channel is act...

Страница 6: ...audio file to SD card EXAMPLES FOR OPEN429I C Example 1 Play audio data internal 1 Hardware connection Board Open429I C Module required WM8960 Audio Board You should connect WM8960 module to I2S inter...

Страница 7: ...d TX on board with jumper connect WM8960 audio board to Open429 as table above Connect an earphone or speaker to audio board then download the example to development board Audio will be outputted to e...

Страница 8: ...f WM8960 mainly provide functions that sending data to chip initializes chip Play_WAV c Provide function that play WAV file from SD card include read list of WAV files read audio information of files...

Страница 9: ...Hardware connection Board Open429I C Modules required Micro SD Storage Board SD card WM8960 Audio Board You should insert SD card to Micro SD Storage Board then connect the SD board to SDIO interface...

Страница 10: ...ts and so on 3 Expected result Connecting all the modules to Open429I C then inset an earphone or speaker to Audio board Connect UASRT1 interface of Open429I C to PC and open the serial assistance sof...

Страница 11: ...interface of the Open board PIN Open746I C VCC 3 3V GND GND SDA I2C1_SDA PB9 SCL I2C1_SCL PB8 CLK I2S2_CLK PB13 WS I2S2_WS PB12 TXSDA I2S2_SDA PB13 TXMCLK I2S2_MCLK PC6 Note Pins which doesn t listed...

Страница 12: ...speaker to audio board then download the example to development board Audio will be outputted to earphone speaker Example 2 Play WAV audio from SD card 1 Hardware connection Board Open746I C Modules r...

Страница 13: ...lay_WAV c Provide function that play WAV file from SD card include read list of WAV files read audio information of files play WAV files handle keys events and so on 3 Expected result After connecting...

Страница 14: ...cro SD Storage Board SD card WM8960 Audio Board You should insert SD card to Micro SD Storage Board then connect the SD board to SDIO interface of Open746I C Finally insert Audio board to SAI interfac...

Страница 15: ...ts and so on 3 Expected result Connecting all the modules to Open746I C then inset an earphone or speaker to Audio board Connect UASRT1 interface of Open746I C to PC and open the serial assistance sof...

Отзывы: