ESP32-C3 Custom Board WiFi not working [SOLVED]
Posted: Sun Feb 13, 2022 7:36 pm
Hello, I recently create small board with ESP32-C3, but now when I am testing it, i found out wifi is not working correctly.
When I tried create softAP, nothing showed. I can scan the networks and see them, but when I tried connecting to one, it failed.
I got this error once when I was trying softAP example:
I added 10uF capacitor to VDD3P3 and tried again:
This is whole log when I was trying the softAP example:
What am I missing? Maybe I have the matching circuit wrong? Because It looks like I am able to receieve signals but cant send anything and that could be because of badly matched impedances (which would mean some power would come back to esp32c3). Is there any way to measure it internally? In works I could probably get my hands on some spectral analyzers, or I have SDR (HackRF One).
You can find whole project on github:
https://github.com/arnytrty/devc3
Also board files:
https://oshwlab.com/trty69230/devc3
When I tried create softAP, nothing showed. I can scan the networks and see them, but when I tried connecting to one, it failed.
I got this error once when I was trying softAP example:
Code: Select all
W (460) phy_init: failed to load RF calibration data (0x1102), falling back to full calibration
This is whole log when I was trying the softAP example:
Code: Select all
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x1 (POWERON),boot:0xd (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x16b4
load:0x403ce000,len:0x930
load:0x403d0000,len:0x2d40
entry 0x403ce000
I (30) boot: ESP-IDF v4.4 2nd stage bootloader
I (30) boot: compile time 17:53:24
I (30) boot: chip revision: 3
I (32) boot.esp32c3: SPI Speed : 80MHz
I (36) boot.esp32c3: SPI Mode : DIO
I (41) boot.esp32c3: SPI Flash Size : 4MB
I (46) boot: Enabling RNG early entropy source...
I (51) boot: Partition Table:
I (55) boot: ## Label Usage Type ST Offset Length
I (62) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (70) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (77) boot: 2 factory factory app 00 00 00010000 00100000
I (85) boot: End of partition table
I (89) esp_image: segment 0: paddr=00010020 vaddr=3c080020 size=132f0h ( 78576) map
I (109) esp_image: segment 1: paddr=00023318 vaddr=3fc8e200 size=02b4ch ( 11084) load
I (112) esp_image: segment 2: paddr=00025e6c vaddr=40380000 size=0a1ach ( 41388) load
I (123) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=74a60h (477792) map
I (198) esp_image: segment 4: paddr=000a4a88 vaddr=4038a1ac size=03f20h ( 16160) load
I (202) esp_image: segment 5: paddr=000a89b0 vaddr=50000010 size=00010h ( 16) load
I (209) boot: Loaded app from partition at offset 0x10000
I (216) boot: Disabling RNG early entropy source...
I (227) cpu_start: Pro cpu up.
I (236) cpu_start: Pro cpu start user code
I (236) cpu_start: cpu freq: 160000000
I (236) cpu_start: Application information:
I (238) cpu_start: Project name: wifi_softAP
I (244) cpu_start: App version: 1
I (248) cpu_start: Compile time: Feb 13 2022 17:52:58
I (254) cpu_start: ELF file SHA256: d420a79ce26dae7d...
I (260) cpu_start: ESP-IDF: v4.4
I (265) heap_init: Initializing. RAM available for dynamic allocation:
I (272) heap_init: At 3FC94CB0 len 0002B350 (172 KiB): DRAM
I (278) heap_init: At 3FCC0000 len 0001F060 (124 KiB): STACK/DRAM
I (285) heap_init: At 50000020 len 00001FE0 (7 KiB): RTCRAM
I (292) spi_flash: detected chip: generic
I (296) spi_flash: flash io: dio
I (301) sleep: Configure to isolate all GPIO pins in sleep state
I (307) sleep: Enable automatic switching of GPIO sleep configuration
I (314) cpu_start: Starting scheduler.
I (326) wifi softAP: ESP_WIFI_MODE_AP
I (326) pp: pp rom version: 9387209
I (326) net80211: net80211 rom version: 9387209
I (346) wifi:wifi driver task: 3fc9d950, prio:23, stack:6656, core=0
I (346) system_api: Base MAC address is not set
I (346) system_api: read default base MAC address from EFUSE
I (356) wifi:wifi firmware version: 7679c42
I (356) wifi:wifi certification version: v7.0
I (356) wifi:config NVS flash: enabled
I (366) wifi:config nano formating: disabled
I (366) wifi:Init data frame dynamic rx buffer num: 32
I (376) wifi:Init management frame dynamic rx buffer num: 32
I (376) wifi:Init management short buffer num: 32
I (386) wifi:Init dynamic tx buffer num: 32
I (386) wifi:Init static tx FG buffer num: 2
I (386) wifi:Init static rx buffer size: 1600
I (396) wifi:Init static rx buffer num: 10
I (396) wifi:Init dynamic rx buffer num: 32
I (406) wifi_init: rx ba win: 6
I (406) wifi_init: tcpip mbox: 32
I (406) wifi_init: udp mbox: 6
I (416) wifi_init: tcp mbox: 6
I (416) wifi_init: tcp tx win: 5744
I (426) wifi_init: tcp rx win: 5744
I (426) wifi_init: tcp mss: 1440
I (426) wifi_init: WiFi IRAM OP enabled
I (436) wifi_init: WiFi RX IRAM OP enabled
I (446) phy_init: phy_version 907,3369105-dirty,Dec 3 2021,14:55:12
I (486) wifi:mode : softAP (34:b4:72:0c:cf:69)
I (486) wifi:Total power save buffer number: 16
I (486) wifi:Init max length of beacon: 752/752
chan:1,max_power:80
chan:2,max_power:80
chan:3,max_power:80
chan:4,max_power:80
chan:5,max_power:80
chan:6,max_power:80
chan:7,max_power:80
chan:8,max_power:80
chan:9,max_power:80
chan:10,max_power:80
chan:11,max_power:80
chan:12,max_power:80
chan:13,max_power:80
chan:14,max_power:80
I (516) wifi:Init max length of beacon: 752/752
I (516) wifi softAP: wifi_init_softap finished. SSID:TestAP password:TestPassword channel:1
You can find whole project on github:
https://github.com/arnytrty/devc3
Also board files:
https://oshwlab.com/trty69230/devc3