需要用到STM32F373中的SDADC1和SDADC2,而且需要把SDADC1的增益设置为32,而SDADC2设置增益为1;程序如下,发现SDADC1的增益设置不成功,不知哪里出错了?求教! /*Analog Input configuration conf0: use single ended zero reference */ SDADC_AINStructTypeDef SDADC1_AINStructure; SDADC_AINStructTypeDef SDADC2_AINStructure; SDADC2_AINStructure.SDADC_InputMode = SDADC_InputMode_SEZeroReference; SDADC2_AINStructure.SDADC_Gain = SDADC_Gain_1; SDADC2_AINStructure.SDADC_CommonMode = SDADC_CommonMode_VSSA; SDADC2_AINStructure.SDADC_Offset = 0; SDADC_AINInit(POT_SDADC2, SDADC_Conf_0, &SDADC2_AINStructure); SDADC1_AINStructure.SDADC_InputMode = SDADC_InputMode_SEZeroReference; SDADC1_AINStructure.SDADC_Gain = SDADC_Gain_32; SDADC1_AINStructure.SDADC_CommonMode = SDADC_CommonMode_VSSA; SDADC1_AINStructure.SDADC_Offset = 0; SDADC_AINInit(POT_SDADC1, SDADC_Conf_0, &SDADC1_AINStructure); |
STM32F3 硬件I2C 驱动OLED 求助!!
STM32F303使用定时器触发双ADC常规同步采样模式
哪位大哥传下STM32F334 Nucleo的工程模板给我下
STM32F334 不能串口下载
关于STM32F334的HRTIM分辨率问题
STM32F303+LCD1602程序问题,不只为什么点不亮?
STM32F334的ADC使用问题
STM32F334 HRTIM形成移相全桥波形问题
有用过STM32F373VC的板子么 iic 例程不好使
STM32F3 ADC外部触发采样达不到7.2MSPS
评分
查看全部评分