Replies: 15 comments
-
Idk if it is possible at all to get this restricted GPIOs glitch free. In short not possible with Arduino "only" |
Beta Was this translation helpful? Give feedback.
-
There should be no problem using pins 20 and 19 from S3. |
Beta Was this translation helpful? Give feedback.
-
I placed |
Beta Was this translation helpful? Give feedback.
-
It doesn't work like that (it can't be defined in the sketch). Maybe @Jason2866 can help it. |
Beta Was this translation helpful? Give feedback.
-
i am using platformio on vs code, below is my platformio.ini data |
Beta Was this translation helpful? Give feedback.
-
This:
uses any Arduino version Platformio founds. You don't know if this is the latest. I highly doubt.
The board you have specified use this settings
for sure wrong regarding USB. To help what exactly S3 variant does you have. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
16MB QIO Flash and 8MB OPI PSRAM |
Beta Was this translation helpful? Give feedback.
-
i placed the following contents on the platformio.ini file but i think USB-JTAG didnot disable, board_build.arduino.memory_type = qio_opi build_flags = i wrote the follwing line in void loop, here pin20 worked as gpio, pin20 blinking but impact other other code, other code didnot run. did you get the point where it stuck? thanks |
Beta Was this translation helpful? Give feedback.
-
@muzahid13 Therefore, should we close this issue? |
Beta Was this translation helpful? Give feedback.
-
Small advice: Look up how to properly format github issues and comments... e.g. the code above is unreadable. Enclose it like this: ``` |
Beta Was this translation helpful? Give feedback.
-
for the above code my lvgl code is stuck when pin20 is active as GPIO but if i remove pin20 gpio code, my lvgl code is working good. could you please help to solve this? |
Beta Was this translation helpful? Give feedback.
-
@muzahid13 - please try this code in the begining of void setup()
{
pinMode(19, OUTPUT);
pinMode(20, OUTPUT);
uart0_init();
|
Beta Was this translation helpful? Give feedback.
-
@SuGlider; I think you maybe wanted to @ reference someone else, as above issue is for ESP32-S3, and mine was re. ESP32-C3? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the warning. |
Beta Was this translation helpful? Give feedback.
-
Board
esp32-s3
Device Description
i am using esp32-s3 based LVGL 7 inch display. I need to use the USB-JTAG pin19 and pin20 as gpio. i already prepared the PCB. i just made high and low pin20 at regular interval, then i noticed that it impacted on other code, i am using visual studio code platformio and framework: arduino.how can i disbale usb-jtag in platformio and framework arduino. my code is completed, i stuck on pin19 and pin20 to be gpio. thanks
Hardware Configuration
GPIO pin19 and pin20 are connected to max485 D-enable and R-enable pin. so those pin shoudl be used as GPIO pin
Version
latest master (checkout manually)
IDE Name
PlatformIO
Operating System
Windows11
Flash frequency
40Mhz
PSRAM enabled
yes
Upload speed
115200
Description
pin19 and pin20 must be used as GPIO. when i enable PIN19 and 20 as GPIO, the code impact on other portion like the mcu is hanged
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
Beta Was this translation helpful? Give feedback.
All reactions