ADC DMA not updating all channels
I'm using an STM32L4S9 MCU and I'm having trouble getting all the channels to update after starting HAL_ADC_Start_DMA. I'm doing a regular 12 bit conversion on 5 channels, trigger by software, waiting for conversion completed in the adc call back handler, then reading the data from the array that I pointed to when starting the adc conversion. The first two channels will consistently update, the next three don't. I have 5 channels set to scan in the ADC settings. A uint16_t array [5]. DMA is set to half word. I can change the scan channel order and array [0] and array[1] are always updated. The other 3 are always 4095. I've sped things up, slowed them down, but it seems like all then channel are not getting read, or not getting transferred.
I have simular code and settings working on a nucleo board with a different MCU. It looks like everything matches between the two. I also tried youtube examples etc.
I'm away from my computer so I can't upload the code at the moment.
I didn't find any other threads with this issue, maybe I didn't search the correct terms so let me know if it's already been covered. I'm hoping someone has ran into this problem and will know what setting I'm missing in the 32L4S9.
Thanks
