cancel
Showing results for 
Search instead for 
Did you mean: 

SPBTLE-1S Multi-Channel ADC?

TJohn.14
Associate II

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)?

1 REPLY 1
Winfred LU
ST Employee

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:

https://www.st.com/content/st_com/en/products/embedded-software/evaluation-tool-software/stsw-bluenrg1-dk.html

Best Regards,

Winfred