ESP8285 custom board no Wifi on wakeup

skywave
Posts: 19
Joined: Sun May 17, 2015 3:33 am

ESP8285 custom board no Wifi on wakeup

Postby skywave » Sun May 28, 2017 4:20 am

Hi There,

I have made a custom board based on ESP8285. I have made a small program that scans for APs nearby (taken from your examples), however no APs are found. The ESP8285 is only drawing 40mA from the power source. Is it possible that the radio is off. No errors appear when calling the scan function. The SDK is 2.1.0 with the default esp_init_data_default.bin. Bootloader v1.7. In the previous version I made a custom board with ESP8266 - the power drawn from the power source was 80mA. What can be happening? Is there a way to enable the radio interface?

Looking forward to hearing from you soon,

Pedro Pereira

pratik

Re: ESP8285 custom board no Wifi on wakeup

Postby pratik » Sun May 28, 2017 9:34 pm

Interesting. You are correct on the power consumption of about 70mA with previous SDKs.
If you flash the previous SDK based code now, does it work okay? Or is this like a permanent problem since you started using the new SDK?

Also, when you flash the new SDK based program, flash the whole set of files included in that SDK - the boot file, user1/2, init, and blank files as well.

skywave
Posts: 19
Joined: Sun May 17, 2015 3:33 am

Re: ESP8285 custom board no Wifi on wakeup

Postby skywave » Sat Jun 03, 2017 2:46 am

Is there a way to check if RF is on or not? wifi_set_sleep_type function doesn't seem to influence. Consumption is still 40mA - radio functions return true (OK) but no APs found / no SoftAP detected - seems like the rf is off.

pratik

Re: ESP8285 custom board no Wifi on wakeup

Postby pratik » Sun Jun 04, 2017 11:19 pm

RF must be on if the functions are working fine. Otherwise they will return errors. Try flashing the AT firmware at check everything is alright?
Also, you said it is a custom board. Make sure your antenna design is correct!

skywave
Posts: 19
Joined: Sun May 17, 2015 3:33 am

Re: ESP8285 custom board no Wifi on wakeup

Postby skywave » Mon Jun 05, 2017 2:08 am

Hi There,

Thanks for the reply. I have flashed the AT firmware. Same result. Consumption is around 40mA, all AT commands work, including changing modes (station, AP, SoftAP+station). No Aps found - i cannot detect SoftAP. System returns MAC addresses, chip ID and everything else. Besides radio all other things work. The chips were bought from TME. Is this an authorized distributor? Or could the chips be damaged somehow.

Best Regards,

pratik

Re: ESP8285 custom board no Wifi on wakeup

Postby pratik » Wed Jun 07, 2017 3:31 pm

This really should not be happening. The chip is fine I guess, ESD or other damages will usually affect the digital section too, so no way it is just the RF.
What you have here seems like an RF circuit design issue to me. It might have something to do with board layout or maybe you have shorts under the chip RF pins or something? You mentioned that this is a custom board... so I am considering possibilities of design issues and soldering issues.

Who is online

Users browsing this forum: No registered users and 305 guests