Skip to main content
Hobbyist
Associate II
April 9, 2018
Question

stm32L151ZCTx ADC channel

  • April 9, 2018
  • 1 reply
  • 754 views
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
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
April 9, 2018
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 VenmoUp vote any posts that you find helpful, it shows what's working..