Hello,
I am using esp_wroom32(esp32 dev-kit).So,can i use GPIO4 as an adc input?
Thanks in advance,
Regards,
Kishan Patel.
Configure GPIO4 as ADC Input
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
-
- Posts: 45
- Joined: Wed Aug 30, 2017 4:56 am
Re: Configure GPIO4 as ADC Input
Okay thanks,
And can i use GPIO12 as a DTR pin?
Thanks again,
Regards,
Kishan Patel.
And can i use GPIO12 as a DTR pin?
Thanks again,
Regards,
Kishan Patel.
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Configure GPIO4 as ADC Input
Do you mean DTR (Data Terminal Ready) input to control serial communication?
GPIO12 or MTDI is one of Strapping Pins and should be either pulled down or pulled up on power-on reset.
External device connected to GPIO12 should not pull in opposite direction on power on reset, or ESP32 will likely fail to boot.
GPIO12 or MTDI is one of Strapping Pins and should be either pulled down or pulled up on power-on reset.
External device connected to GPIO12 should not pull in opposite direction on power on reset, or ESP32 will likely fail to boot.
-
- Posts: 45
- Joined: Wed Aug 30, 2017 4:56 am
Re: Configure GPIO4 as ADC Input
Okay thanks,
Yes,DTR (Data terminal Ready),i want to use it as an output.Is there any restriction to use GPIO12 as a DTR configuration?
Thanks in advance.
Yes,DTR (Data terminal Ready),i want to use it as an output.Is there any restriction to use GPIO12 as a DTR configuration?
Thanks in advance.
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Configure GPIO4 as ADC Input
GPIO12 is also one of dedicated JTAG pins.
If you plan to use JTAG then its operation will interfere with an application toggling DTR.
Apart from that I do not see issues with using GPIO12 as an output.
If you plan to use JTAG then its operation will interfere with an application toggling DTR.
Apart from that I do not see issues with using GPIO12 as an output.
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot], MicroController and 132 guests