ADC 1,2,3 independent mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-09-04 12:13 PM
I've got a problem with stm32f407zet . I use also LL drivers and 3 ADCs with dma .
No problem when run separately , e.g. only ADC 1 - results are corrects , only ADC3 - results are corrects .
Problem is when I turn on two ADC by :
//adc1
LL_ADC_CommonInitTypeDef ADC_CommonInitStruct;
ADC_CommonInitStruct.CommonClock = LL_ADC_CLOCK_SYNC_PCLK_DIV2;
ADC_CommonInitStruct.Multimode = LL_ADC_MULTI_INDEPENDENT;
LL_ADC_CommonInit(__LL_ADC_COMMON_INSTANCE(ADC1), &ADC_CommonInitStruct);
//adc3
LL_ADC_CommonInitTypeDef ADC_CommonInitStruct;
ADC_CommonInitStruct.CommonClock = LL_ADC_CLOCK_SYNC_PCLK_DIV2;
ADC_CommonInitStruct.Multimode = LL_ADC_MULTI_INDEPENDENT;
LL_ADC_CommonInit(__LL_ADC_COMMON_INSTANCE(ADC3), &ADC_CommonInitStruct);
Only noise results , what's wrong ?
- Labels:
-
ADC
-
STM32Cube MCU Packages
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-09-22 09:04 AM
I answer self . Now , all ADC's works well thanks to good configuration .