Hi,
The problem came from: stm32_registry.h , line:2386
/*===========================================================================*/
/* STM32F334x8. */
/*===========================================================================*/
#if defined(STM32F334x8)
/* ADC attributes.*/
#define ...
Search found 4 matches
- Wed May 17, 2017 8:03 am
- Forum: Bug Reports
- Topic: STM32F3xx 2xADC with DMA Problem
- Replies: 8
- Views: 6005
- Tue May 16, 2017 7:32 am
- Forum: Bug Reports
- Topic: STM32F3xx 2xADC with DMA Problem
- Replies: 8
- Views: 6005
Re: STM32F3xx 2xADC with DMA Problem
Hi,
The device is STM32F334R8.
I also found that ADC1 did not measure correctly and for ADC2 there's no data written to [&adcsample_t].
Regards,
Rado
The device is STM32F334R8.
I also found that ADC1 did not measure correctly and for ADC2 there's no data written to [&adcsample_t].
Regards,
Rado
- Thu May 11, 2017 11:11 am
- Forum: Bug Reports
- Topic: STM32F3xx 2xADC with DMA Problem
- Replies: 8
- Views: 6005
Re: STM32F3xx 2xADC with DMA Problem
Adress: 0x800357C is outside of _stm32_dma_streams scope.
I think may be is bad pointer arithmetic, but don't have time to investigate at the moment.
Workaround:
In file: adc_lld.c change line:
ADCD2.dmastp = STM32_DMA_STREAM(STM32_ADC_ADC2_DMA_STREAM);
with:
ADCD2.dmastp = STM32_DMA_STREAM ...
I think may be is bad pointer arithmetic, but don't have time to investigate at the moment.
Workaround:
In file: adc_lld.c change line:
ADCD2.dmastp = STM32_DMA_STREAM(STM32_ADC_ADC2_DMA_STREAM);
with:
ADCD2.dmastp = STM32_DMA_STREAM ...
- Wed May 10, 2017 1:27 pm
- Forum: Bug Reports
- Topic: STM32F3xx 2xADC with DMA Problem
- Replies: 8
- Views: 6005
STM32F3xx 2xADC with DMA Problem
Hi,
When I try to use ADC1 and ADC2 with DMA, after initialization data in DMA section of ADCDriver struct is wrong.
Actually, the data written over DMA pointer is: "DMA failure":
Regards,
Rado
When I try to use ADC1 and ADC2 with DMA, after initialization data in DMA section of ADCDriver struct is wrong.
Actually, the data written over DMA pointer is: "DMA failure":
Regards,
Rado