STM32 ADC multi-channel polling issue
Hi.
I’m working on a custom board with a C551VET6 and trained on a NUCLEO_C562RE with ADC. I attempted the conversion in polling mode in several ways (mode=single + discountinuous=disabled / mode=continuous + discountinuous=3ranks) by varying the implementation of the FOR loop (including or excluding the calls to HAL_ADC_REG_StartConv and HAL_ADC_REG_PollForConv according to the selected mode); no matter what I did, as soon as I needed to convert 3 or more channels, only the first two showed distinct values, while all the other channels in the sequencer returned a value identical to that of the second channel.
I found no example using more than 2 channels in a basic regular sequencer. Have you tried it at ST ?
By the way, I’m working with a CTN temperature sensor and two HDC3120 giving both temperature and humidity, thus 5 channels in my case.
Do I need to lower the resolution or something when the number of channel increases ?
I’m not familiar with ST community mechanisms, shall I open a new topic regarding my issue ? If so I will proceed and delete this comment later.
Best regards
