This repository has been archived on 2023-07-17. You can view files and clone it, but cannot push or open issues or pull requests.
bl_mcu_sdk/examples/spi/spi_i2s_mono_play
2021-10-19 20:04:23 +08:00
..
CMakeLists.txt [refactor] remove bflb_platform.h from bl602 and bl702 driver,include it in anywhere used 2021-10-19 20:04:23 +08:00
fhm_onechannel_16k_20.h [fix][examples] modify some demos peripheral init parameters,update ld file 2021-09-26 15:06:14 +08:00
main.c [refactor] remove bflb_platform.h from bl602 and bl702 driver,include it in anywhere used 2021-10-19 20:04:23 +08:00
readme.md [fix][examples] modify some demos peripheral init parameters,update ld file 2021-09-26 15:06:14 +08:00

修改程序

-- board/bl706_avb/pinmux_config.hPINMUX_SELECT 选择 PINMUX_LVGL

-- board/bl706_avb/pinmux_config.hCONFIG_GPIO10_FUNCCONFIG_GPIO19_FUNCCONFIG_GPIO20_FUNCCONFIG_GPIO21_FUNC选择 GPIO_FUN_SPI

-- board/bl706_avb/pinmux_config.hCONFIG_GPIO11_FUNCCONFIG_GPIO16_FUNC选择 GPIO_FUN_I2C

-- board/bl706_avb/pinmux_config.hCONFIG_GPIO6_FUNC 选择 GPIO_FUN_CLK_OUT

-- board/bl706_avb/clock_config.hBSP_AUDIO_PLL_CLOCK_SOURCE 选择 ROOT_CLOCK_SOURCE_AUPLL_12288000_HZ

编译命令


$ make APP=spi_i2s_mono_play BOARD=bl706_avb

硬件环境

  • BL706_AVB 开发板上的 FUN2 接上跳线帽;
  • 准备音频模组 ES8388 或者 WM8978 ;
  • 连线方式:
AVB_Board Audio_Module
I2C-SCL I2C-SCL
I2C-SDA I2C-SDA
SPI-CS I2S-FS
SPI-SCK I2S-BCLK
SPI-MISO I2S-DO/SDA
I2S-MCLK I2S-MCLK