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/dac/dac_dma
2022-01-13 18:50:14 +08:00
..
cdk [chore][cdk] update header file path 2021-12-17 16:05:45 +08:00
CMakeLists.txt first commit 2021-04-13 19:27:30 +08:00
main.c [update][bsp_common][examples] sync demo and bsp common with hal driver" 2022-01-13 18:50:14 +08:00
readme.md [doc][dac] update dac demo readme 2021-11-10 16:49:40 +08:00

  • CONFIG_GPIO11_FUNC 设置成 GPIO_FUN_DAC
  • 如果使用外部参考电压,将 CONFIG_GPIO7_FUNC 设置成 GPIO_FUN_ADC
  • 设置 BSP_DAC_CLOCK_SOURCEROOT_CLOCK_SOURCE_AUPLL_24000000_HZ
  • 设置 BSP_DAC_CLOCK_DIV2能够得到500KHZ

$ make APP=dac_dma BOARD=bl706_iot