How to find GPIO pin for Adc module
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-31 7: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.
- Labels:
-
STM32F1 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-31 7:35 AM - edited ‎2024-01-31 7:36 AM
Hello @BinhTsks,
I think these articles may help you :
- Getting started with ADC : You can follow the step by step.
- Getting started with GPIO.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-01 3: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-01 3:14 AM
Thank you for your information,it helped me handle my problem
