Using WiFi on Tab5 with the Arduino IDE
-
@smily77 a-HA!
Thank you. -
Hi guys
the ESP32C6 is connected via SDIO bus to the ESP32P4 but unfortunately the GPIOs used in Tab5 differ from the GPIOs used by the ESP32P4 eval board.
In other words the pre-compiled Arduino library is setup to use SDIO GPIOs which do not match the Tab5 hardware.
So in order to use Arduino you'll need to pre-compile the Arduino library yourself using the Arduino library builder or setup the build system to use Arduino as ESP-IDF component. Both ways should allow to modify the SDIO GPIOs accordingly.
Note: the SDIO GPIOs used in Tab5 can be found here.
Thanks
Felix -
This applies as well if you use the M5Stack pkg? - is there a "how to" somewere for this?
-
Hello @smily77
no, AFAIK there is no specific 'how to' for M5Tab5 - only the generic about how to build your own Arduino library using Arduino library builder or how to use Arduino as ESP-IDF component. See links above.
Thanks
Felix -
There seams to be an additional Issue the Tab5 uses SDIO2 - The correct GPIO's only don't work
-
Hello @smily77
I believe SDIO2 is used so the communication between ESP32P4 (master) and ESP32C6 (slave) can be exclusive, e.g. not shared with other slaves.
Thanks
Felix -
Hi there,
are there any (better) news about using Wifi within the Arduino environment?
kind regards
Jörg -
Hi guys
corresponding github issue for reference.
It seems there isn't an easier way just (yet) than using Espressif Library Builder.
Thanks
Felix -
It was mentioned that in the next ESP-Arduino package 3.3.0 the issue with the connection will be solved by this possibility:
WiFi.setPins(clk, cmd, d0, d1, d2, d3, rst);
WiFi.begin(ssid, pass);This sounds promising. However the Tab 5 doc's lists the Pins for clk, cmd, d0, d1, d2, d3 but not for the reset pin (rst). Does somebody know how the reset of the C6 is wired to the P4 in the Tab 5?
-