ESP STA or AP wifi is not working

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP STA or AP wifi is not working

Postby Ritesh » Fri Feb 03, 2017 1:52 pm

Hi All,

I have checked ESP32_FCC_WIFI_BT_20161208_V1.0.4.bin which is provided by Espressif Systems to check for RF Related testing on STA and AP not working board and found following outputs while executing TX and RX packet transmission and reception commands.
efuse_MAC: 0x46240a-c404df5c
phy_version: 265, Dec 8 2016, 21:58:06, 0, 2
wait:
wifi rx start: channel is 1, rate is 0x0
Correct: 0 Desired: 0 RSSI: 0 gain: 0 noise: -960 err: 18521 err_fcs: 0 err_a1: 0 gooddata: 0, freq: 0
wifi rx start: channel is 1, rate is 0x0
Correct: 948 Desired: 57 RSSI: -716 gain: 449 noise: -960 err: 34047 err_fcs: 217 err_a1: 844 gooddata: 0, freq: -354
wifi rx start: channel is 1, rate is 0x0
Correct: 2975 Desired: 461 RSSI: -626 gain: 410 noise: -960 err: 11843 err_fcs: 669 err_a1: 2330 gooddata: 0, freq: -354
wifi rx start: channel is 1, rate is 0x0
Correct: 3855 Desired: 518 RSSI: -590 gain: 429 noise: -960 err: 29588 err_fcs: 1072 err_a1: 3168 gooddata: 0, freq: -354
wifi rx start: channel is 2, rate is 0x0
Correct: 1240 Desired: 251 RSSI: -422 gain: 353 noise: -960 err: 71359 err_fcs: 185 err_a1: 856 gooddata: 0, freq: -349
wifi rx start: channel is 13, rate is 0x0
Correct: 295 Desired: 109 RSSI: -363 gain: 223 noise: -960 err: 16587 err_fcs: 353 err_a1: 0 gooddata: 0, freq: -356
Wifi tx out: channel=2, rate=0x0, BK=-4, length=50, delay=52
Tx Over
Wifi tx out: channel=2, rate=0x0, BK=-4, length=50, delay=52
Tx Over
So, I just want to know what the above logs indicates? because, I am not to create AP mode network and not able to connect with other router or network into STA mode and above logs shows wifi tx and rx is working which is misunderstanding for me.

Please correct me if anyone has any idea for that.
Regards,
Ritesh Prajapati

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP STA or AP wifi is not working

Postby Ritesh » Mon Feb 06, 2017 6:06 am

Hi ALL,

Does anyone has any update regarding this issue as I have already provided some test-cases and its result in some previous replies?

Let me know if anyone has any suggestion or inputs to check from software side or from hardware side.
Regards,
Ritesh Prajapati

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP STA or AP wifi is not working

Postby Ritesh » Tue Feb 07, 2017 4:26 am

Hi,

I have tried to capture packets of ESP32 chips into sniffer which are not working into AP+STA mode using following ways.
1) Created Hot-Spot in one mobile phone with SSID and password.
2) Installed Packet Capture APK into mobile phone and started to capture packets.
3) Created firmware with same SSID and Password to start ESP32 board into STA mode
4) First of all, started Non-Working board and logged Gateway Boot-up logs and saved Packet Capture Screen-Shot.
5) After that, started Working board and logged Gateway Boot-up logs and saved Packet Capture Screen-Shot.
So, I am not getting any single packet in Packet Capture logs for Non-Working Boards while getting 7 to 8 logs for Working Board.

It seems like any WiFi packets are not coming from MAC Layer itself from ESP32 chip.

Can this problem be solved by re-flowing or providing some heating on ESP32 chip into non working board? Because, That is last option I have to solve or debug this issue as I have already tried all possible test-cases to debug it in deep level.
Regards,
Ritesh Prajapati

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP STA or AP wifi is not working

Postby Ritesh » Tue Feb 07, 2017 8:51 am

Hi All,

ESP STA+AP mode issue has been resolved by reworking hardware after checking and comparing both non-working hardware with working hardware.

Actually, The Capacitor which is connected with XTAL_P Line is not connected properly which causes this issue. So, After re-soldering that Capacitor, We are now able to form the network in AP mode and also able to connect with Router which we have configured for STA mode.

Thanks to all for being part of discussion into this thread.
Regards,
Ritesh Prajapati

william5858
Posts: 1
Joined: Thu Mar 16, 2017 3:54 am

Re: ESP STA or AP wifi is not working

Postby william5858 » Fri May 12, 2017 9:29 am

When you encounter AP or STA always occur disconnect, you may as well check config ( ssid_len and authmode ) is correct! ;) ;)

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: ESP STA or AP wifi is not working

Postby Ritesh » Sat May 13, 2017 3:48 am

william5858 wrote:When you encounter AP or STA always occur disconnect, you may as well check config ( ssid_len and authmode ) is correct! ;) ;)
Yes. We have did all possible test-cases to create network but not got any success at that time then after that we found that the issue was of hardware in which one XTAL was not connected properly.

So, After reworking that XTAL in proper position, We were able to form network into AP mode as well as able to connect with Router into STA mode.

So, There was hardware issue in my case. Please check hardware first if you are facing this type of issue into your hardware.

Let me know if you need any help from my-side.
Regards,
Ritesh Prajapati

sumedhK
Posts: 1
Joined: Mon Aug 28, 2017 11:08 am

Re: ESP STA or AP wifi is not working

Postby sumedhK » Mon Aug 28, 2017 11:14 am

Hello,

I am currently doing CE certification testing for ESP07 module. We have passed all tests pending receiver blocking. I wanted to know if anyone knows the meaning of the parameters err and err_fcs that we get on executing a Rx stop command. I want to count the exact number of packets sent by the module and the exact number of packets received by it.

Who is online

Users browsing this forum: No registered users and 117 guests