INPUT_PULLUP on GPIO18 & GPIO19 pins
Posted: Fri Aug 11, 2023 3:58 pm
Hi,
I am using USB CDC on ESP-C3-13 module and connecting to my notebook via USB interface. When I push boot button my notebook is able to see COM port and able to download program successfully into module. After I reset module USB connection drops normally, but Windows create a notification with an "USB Device Not Recognized" error. While figuring out the problem I found out that I set GPIO18 andGPIO19 pins to INPUT_PULLUP. After I remark those lines USB device is able to find by notebook.
This situation is same for Serial.* commands too.
Is it not permitted to set GPIO18 and 19 to INPUT_PULLUP while using USB CDC scenario? And why I am facing same situation when I use Serial?
Thank you.
Orkun Gedik
I am using USB CDC on ESP-C3-13 module and connecting to my notebook via USB interface. When I push boot button my notebook is able to see COM port and able to download program successfully into module. After I reset module USB connection drops normally, but Windows create a notification with an "USB Device Not Recognized" error. While figuring out the problem I found out that I set GPIO18 andGPIO19 pins to INPUT_PULLUP. After I remark those lines USB device is able to find by notebook.
Code: Select all
pinMode(18, INPUT_PULLUP);
pinMode(19, INPUT_PULLUP);
Is it not permitted to set GPIO18 and 19 to INPUT_PULLUP while using USB CDC scenario? And why I am facing same situation when I use Serial?
Thank you.
Orkun Gedik