2023-09-15 01:13 AM
In my project I am using STM32G030k8, in which I need to use 6 ADC channels and 2 of them are Pa11 and PA12
PA9 and PA8 as gpio .
I couldn't able to configure PA11 and PA12 what is the alternate way to use that channel
2023-09-15 01:55 AM
RM0454 describes in section 14.3.8 that in mode Fully Configurable only inputs 0...14 can be used, which is also shown in STM32CubeMX. If you want to use ADC1.IN15 and higher, you have to set the ADC to Not Fully Configurable.
Does it answer your question?
Regards
/Peter
2023-09-15 01:57 AM - edited 2023-09-15 02:03 AM
2023-09-15 02:08 AM
Yes ,Thank you so much.
2023-09-15 02:08 AM
Thank you.
2023-11-26 03:59 AM
Hi As per my old conversation I got my prototype to with the above adc channel I set the configuration as Not fully configurable and tried to build the project,I am getting same values for all the channels.I used conversion both by polling and DMA using interrupts I am getting the same results.How can I use the PA12 and PA11 channel in stm32G03ok8