Re: [riot-devel] STM32l1xx Internal ADC Channels

2016-12-21 Thread Oleg Artamonov
Hi Francisco, We did it a while ago, it's quite easy. https://github.com/unwireddevices/RIOT/blob/master/cpu/stm32l1/periph/adc.c https://github.com/unwireddevices/RIOT/blob/master/cpu/stm32l1/include/perip h_cpu.h 1) In board.h configure internal ADC channels with GPIO_UNDEF pin

[riot-devel] STM32l1xx Internal ADC Channels

2016-12-16 Thread Francisco Molina
Hi, I have been working with the STM32L151RC uc and would like to read two of it's internal ADC channels. The problem is RIOT present implementation por the ADC only takes into account external ADC lines, witch means it require a GPIO assignment. What would be the best way of implementing this? a