2024-02-20 11:37 AM
I am trying to set up 3 ADC. I set PA4 to ADC1_INP18, PA5 to ADC2_INP19 and PF11 to ADC1_INP2. Will this be something that works? I am monitoring 3 lines (none NEED to be fast).
I'm not clear on how to set this up. I am multiplexing several inputs onto these, all single ended. I'm not sure how we will read the data yet, timed, interrupt driven or polled. I am replacing a LPC3250 and re-implementing the functionality.
Solved! Go to Solution.
2024-02-20 01:14 PM
The simplest is all three channels on one ADC and DMA to a 3 word buffer with one start command.
See the ADC DMA examples provided with the HAL library.
2024-02-20 01:14 PM
The simplest is all three channels on one ADC and DMA to a 3 word buffer with one start command.
See the ADC DMA examples provided with the HAL library.