for some reason the minimal wifi station example is working on an older dev board with an ESP32-WRO)M-32 is working. However on my custom PCB with ESP32-WROOM-32E it is not. It's exactly the same software I'm flashing. On both boards, I first erased the flash via `idf.py erase_flash`.
The dev board's HW:
- DevKit 4 C clone
- Powered through USB (Thinkpad docking station)
- Powered through custom step down converter which can deliver up to 1A. Checked via scope: The Output voltage is less noisy compared to the DevKit.
- The ESP module is placed on the top right corner of the PCB. There's no PCB under the antenna area.
- Other functions I checked so far worked flawlessly. E.g. LED fading, TWAI, regular GPIO switching.
Code: Select all
I (677) wifi_init: WiFi IRAM OP enabled
I (677) wifi_init: WiFi RX IRAM OP enabled
I (787) phy: phy_version: 4500, 0cd6843, Sep 17 2020, 15:37:07, 0, 0
I (797) wifi:mode : sta (7c:9e:bd:d9:b6:50)
I (797) wifi station: wifi_init_sta finished.
I (1517) wifi:new:<6,0>, old:<1,0>, ap:<255,255>, sta:<6,0>, prof:1
I (3467) wifi:state: init -> auth (b0)
I (4467) wifi:state: auth -> init (200)
I (4467) wifi:new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
I (4467) wifi station: retry to connect to the AP
I (4467) wifi station: connect to the AP fail
I (6517) wifi station: retry to connect to the AP
I (6517) wifi station: connect to the AP fail
I (6637) wifi:new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
I (6637) wifi:state: init -> auth (b0)
I (7637) wifi:state: auth -> init (200)
I (7637) wifi:new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
I (7647) wifi station: retry to connect to the AP
BR
Marcel
Edit: Corrected attached file and added more info