Using WiFi on Tab5 with the Arduino IDE
-
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?
-
-
@smily77 Did you manage to get the SD card reader to work?
-
@sapphire Same, can't get the SD to work. Anyone?
Thanks,
Kris -
I managed to get the SD card reader to work.
H_SDIO_DRV error: sdio card init failed
The WiFi module (ESP32-C6) uses an independent set of dedicated pins (SDIO2_D0 to SDIO2_CK), thus avoiding any physical interface overlap and conflicts.sd_mmc_card:
id: sd_card
clk_pin: GPIO43
cmd_pin: GPIO44
data0_pin: GPIO39
data1_pin: GPIO40
data2_pin: GPIO41
data3_pin: GPIO42
mode_1bit: false
slot: 0esp32_hosted:
variant: esp32c6
active_high: true
clk_pin: GPIO12
cmd_pin: GPIO13
d0_pin: GPIO11
d1_pin: GPIO10
d2_pin: GPIO9
d3_pin: GPIO8
reset_pin: GPIO15
slot: 1