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/readme.md
2022-03-21 14:59:16 +08:00

969 B

修改程序

-- 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