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_poll
2021-12-17 16:05:45 +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 [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 [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_poll BOARD=bl706_iot