2019-03-11 10:03 AM
When I read one channel, I get good numbers (using the polled version for now).
When I change the MUX after a read to go to the other channel (ADC2, Temperature), I get garbage on all channels.
I've read/discarded 12 readings, but even that doesn't eliminate the garbage (eg, Temp reads 100degC or ADC1 reads -12mV, and it seems to be random as far as the error goes).
What do I need to do to "scan" the mux (and is it possible to use DMA like the STM32F030)?
2019-03-25 09:04 PM
Hi gthormj,
BlueNRG-1 supports one channel ADC only. It can be one channel in single ended or differential input from pins ADC1 and ADC2.
For DMA, the answer is Yes.
Please refer to sample projects in BlueNRG-1 DK, under folder:
<BlueNRG-1_2 DK>\Project\BlueNRG1_Periph_Examples\ADC\DMA\EWARM
DK can be downloaded from ST website:
Best Regards,
Winfred