cancel
Showing results for 
Search instead for 
Did you mean: 

stm32L151ZCTx ADC channel

Hobbyist
Associate II
Posted on April 09, 2018 at 14:10

As STM32L151ZCTx has 40 adc. There are two banks to select adc channels for conversion. In CubeMX, ADC can have only one bank selected at a time. 

I have following questions:

1) BANK A has 29 channels, But cubeMX shows only max 28 channels can be selected. How can i select 29th channel.

2) How can get data from both Bank A and Bank B of ADC? How can be selected?

Thanks in advance to all members of ST communities in advance.

#hal-adc #stm32l #adc #stm32l-discovery #stm32l-discovery #stm32l-dev
1 REPLY 1
Posted on April 09, 2018 at 15:36

The RM only describes 28 channels into the ADC, with some additional injected channels.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..