Re: ADC on STM32
Uwe Bonnes <bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org> Tue, 22 Nov 2016 19:51:42 +0100
| Newsgroups | gmane.comp.hardware.microcontrollers.ethernut |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Krzysztof" == Krzysztof Sawicki <[email protected]> writes: Krzysztof> Hi! Is ADC supported by NutOS on STM32? I've found Krzysztof> documentation at: Krzysztof> http://www.ethernut.de/api-beta/stm32__adc_8c.html but I Krzysztof> don't see implementation on SVN. Hello, the stm32_adc.c file was probably copied from arch/arm/dev/atmel/at91_adc.c and probably never compiled for STM32. The file contains none-existing register definitions, like ADC_CHDR. As there also was no app example file showing the usage of the ADC api, I deleted that file about 3 years ago with SVN commit @5371. In my designs, I mostly use the ADC with DMA, triggered by some timer, with different sampling times. I did not feel like the the given "ADC Api" would fit for that purpose... It seems that Ole introduced the ADC Api. Ole, are you still using that API? Perhaps on different designs? Perhaps with some at least semi-portable example? In that case, it might make sense to implement that driver. If you want to contribute, Krzysztof, you are welcome and I can offer you help. Bye -- Uwe Bonnes bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 1623569 ------- Fax. 06151 1623305 --------- _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion