STM32F4标准库配置ADC
时间: 2023-10-24 17:04:14 浏览: 244
STM32F4标准库配置ADC的方法是通过DMA传输实现的。在F4板子上,ADC与DMA之间有相应的对应关系。具体配置如下:
- DMA2(CH0 CH4)连接至ADC1
- DMA2(CH2 CH3)连接至ADC2
- DMA2(CH0 CH1)连接至ADC3
在STM32F103中,配置硬件I2C主机轮询收发数据的方法如下:使用标准库实现的I2C1总线通信,并通过串口打印接收和发送的数据。这种方法适合初学者,但前提是需要熟悉I2C的相关知识。
若想了解更多关于STM32F4标准库配置ADC的信息,可以参考以下链接 。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [【单片机学习】STM32F4板子ADC配置](https://blog.csdn.net/weixin_52207736/article/details/117427356)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [STM32F103硬件I2C主机收发数据,亲测可用](https://download.csdn.net/download/YM_ZFJ/88226610)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [STM32F4的ADC 配置](https://blog.csdn.net/V_zhangyang/article/details/78676869)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文