-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
Area: BT&WifiBT & Wifi related issuesBT & Wifi related issues
Description
Board
ESP32-C3FH
Device Description
Custom hardware
Hardware Configuration
- using USB CDC on the ESP32C3 device ( have also tested with the device disabled)
- noise on 3.3v during TX ~40mVpp
- hardware matches what is required in the design guidelines for capacitance (see schematic), decoupling caps are on a different sheet)
- oscillator tested and working
- Antenna was verified by looking at RSSI scans of networks located ~50ft away.
mdr2.pdf
Version
v2.0.4
IDE Name
platformio and Arduino IDE 2.0 (Both tested)
Operating System
Ubuntu 22
Flash frequency
160Mhz
PSRAM enabled
no
Upload speed
460800
Description
The ESP32C3 seemingly unable to do anything related to TXing. The device cannot host an AP or connect to any network in station mode.
When running a scan program it is capable of scanning networks and seeing them clearly with strong RSSI. However when connecting to those networks the connection fails.
Sketch
#include <Arduino.h>
#include "esp32-hal-cpu.h"
#include "WiFi.h"
#define Serial USBSerial
const char* ssid = "secret";
const char* password = "secret";
void initWiFi() {
delay(4000);
WiFi.mode(WIFI_STA);
WiFi.disconnect();
WiFi.begin(ssid, password);
Serial.print("Connecting to WiFi ..");
while (WiFi.status() != WL_CONNECTED) {
Serial.print('.');
delay(1000);
}
Serial.println(WiFi.localIP());
}
void setup() {
Serial.begin(115200);
initWiFi();
Serial.print("RRSI: ");
Serial.println(WiFi.RSSI());
}
void loop(){
}Debug Message
In station mode:
[ 37680][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[ 37681][W][WiFiGeneric.cpp:950] _eventCallback(): Reason: 2 - AUTH_EXPIRE
[ 37682][D][WiFiGeneric.cpp:975] _eventCallback(): WiFi AutoReconnect Running
In AP Mode:
[ 4142][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 0 - WIFI_READY
[ 4176][V][WiFiGeneric.cpp:390] _arduino_event_cb(): AP Started
[ 4177][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 10 - AP_START
### Other Steps to Reproduce
2.0.5 and 2.0.3 where also tested.
### I have checked existing issues, online documentation and the Troubleshooting Guide
- [X] I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Labels
Area: BT&WifiBT & Wifi related issuesBT & Wifi related issues