2024-01-31 07:27 AM
Hello everyone,i want to config gpio pin as adc chanels on stm32f103c8t6, i have read the GPIO chapter and ADC chapter,but i can not find out what is GPIO pin for each ADC chanel,example GPIOA_pin0 for ADC1_chanel0...,what is the chapter describe about this?? Thank you for helping!!!
Solved! Go to Solution.
2024-01-31 10:43 AM - edited 2024-01-31 10:44 AM
Hello @BinhTsks
I also want to add to the resources that @Pierre_Paris added that you can refer to the table 5 of the DS5319 to understand how the ADC Channels are mapped to the GPIO pins.
PS: ADC12 means ADC1 and ADC2.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-01-31 07:35 AM - edited 2024-01-31 07:36 AM
Hello @BinhTsks,
I think these articles may help you :
Kind Regards,
Pierre
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-01-31 10:43 AM - edited 2024-01-31 10:44 AM
Hello @BinhTsks
I also want to add to the resources that @Pierre_Paris added that you can refer to the table 5 of the DS5319 to understand how the ADC Channels are mapped to the GPIO pins.
PS: ADC12 means ADC1 and ADC2.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-02-01 03:12 AM
Thank your solution,but for some reasons i don't use stm32cubeide so i want to know the GPIO pin for ADC to config ADC through register directly
2024-02-01 03:14 AM
Thank you for your information,it helped me handle my problem