2023-09-09 02:08 AM - edited 2023-09-09 02:09 AM
Hi all,
I am doing a project and need up to 25 ADC channels to read current from HAL ACS712 sensor,
I have never read so many ADC channels.
I saw that the STM32L152VET6 supports 25 ADC channels, so I chose it.
I have a problem when configuring with ST32 IDE, how to identify IN0 and IN0b in Rank - channel, I see that there is only channel 0 to channel 1, channel 0b is not found.
Please help me, thanks all !
Solved! Go to Solution.
2023-09-11 06:31 PM - edited 2023-09-11 06:32 PM
Hello @Hoi
I suggest you to try using one of the MCUs STM32H743xI/G, that can give you up to 36 ADC channels that work simultaneously.
Best regards.
II
2023-09-11 07:04 AM
Channel 0b is in bank B. Channel 0 is in bank A. You can't convert channels in separate banks without reconfiguring the ADC. The bank selection is done in ADC settings.
Just a note: The STM32L152VET6 is NRND status.
2023-09-11 06:13 PM
Therefore, we cannot read 25 adc at the same time, because we need to set up ADC to select Bank
2023-09-11 06:31 PM - edited 2023-09-11 06:32 PM
Hello @Hoi
I suggest you to try using one of the MCUs STM32H743xI/G, that can give you up to 36 ADC channels that work simultaneously.
Best regards.
II