Skip to content

PHY and GPIO error after 3.1 #11343

Closed
Closed
@ricardourio

Description

@ricardourio

Board

ESP32-WROOM-32E

Device Description

DS3231 and BME280

Hardware Configuration

GPIO21 & 22 to I2C devices

Version

v3.2.0

IDE Name

Arduino 2.3.5

Operating System

Windows 11

Flash frequency

40

PSRAM enabled

no

Upload speed

921600

Description

WiFi.h seems not 100% compatible with versions 3.1 and above, and return error on boot, while it didn´t happen with versions 3.0.7 or 2.0.17 . The error may have some consequences with Bluetooth communication as well when using 3.2.0. For now the sketch bellow has the following behavior on boot :
3.0.7 No error
3.1.3 E (509) wifi_init_default: netstack cb reg failed with 12308
3.2.0 E (89) phy_comm: gpio[0] number: 2 is reserved

Sketch

#include <WiFi.h>

void setup() {
  Serial.begin(115200);
  Serial.println("Starting...");

  WiFi.mode(WIFI_STA);     
  WiFi.disconnect(true);  
  delay(100);
}

void loop() {
  delay(1);
}

Debug Message

3.1.3 :
ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4916
load:0x40078000,len:16492
load:0x40080400,len:4
load:0x40080404,len:3524
entry 0x400805b8
Starting...
E (374) wifi_init_default: netstack cb reg failed with 12308

3.2.0 :
ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4888
load:0x40078000,len:16516
load:0x40080400,len:4
load:0x40080404,len:3476
entry 0x400805b4
Starting...
E (90) phy_comm: gpio[0] number: 2 is reserved

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions