WiFi Not working in latest RTOS SDK

AgentSmithers
Posts: 172
Joined: Sat Apr 01, 2017 1:21 am
Contact:

Re: WiFi Not working in latest RTOS SDK

Postby AgentSmithers » Fri Mar 02, 2018 12:25 am

john_m wrote:The issue is now resolved after configuring the Crystal Frequency as 26M.

Thanks AgentSmithers for your suggestions


Yeah no worries, I've learned something as well. Does the 12E specify that it has a 26M Crystal vs a 40? Did you just guess that or see something to trigger trying that value?

"4.3. Crystal
Currently, the frequency of crystal oscillators supported include 40MHz, 26MHz and 24MHz. The accuracy of
crystal oscillators applied should be ±10PPM, and the operating temperature range should be between -20°C and 85°C.
When using the downloading tools, please remember to select the right crystal oscillator type. In circuit design,
capacitors C1 and C2, which are connected to the earth, are added to the input and output terminals of the crystal
oscillator respectively. The values of the two capacitors can be flexible, ranging from 6pF to 22pF, however, the specific
capacitive values of C1 and C2 depend on further testing and adjustment on the overall performance of the whole
circuit. Normally, the capacitive values of C1 and C2 are within 10pF if the crystal oscillator frequency is 26MHz, while
the values of C1 and C2 are 10pF<C1, C2<22pF if the crystal oscillator frequency is 40MHz."

SRC:http://www.kloppenborg.net/images/blog/esp8266/esp8266-esp12e-specs.pdf

Did you add external caps to your XTALK Pins to trigger the 26MHZ is if I'm reading this wrong the 12E is 26MHZ by default??
My WemosD1 is 40MHZ so I've never had to go down that road.

john_m
Posts: 13
Joined: Fri Jul 28, 2017 3:06 pm

Re: WiFi Not working in latest RTOS SDK

Postby john_m » Fri Mar 02, 2018 1:44 pm

AgentSmithers wrote:
john_m wrote:The issue is now resolved after configuring the Crystal Frequency as 26M.

Thanks AgentSmithers for your suggestions


Yeah no worries, I've learned something as well. Does the 12E specify that it has a 26M Crystal vs a 40? Did you just guess that or see something to trigger trying that value?

"4.3. Crystal
Currently, the frequency of crystal oscillators supported include 40MHz, 26MHz and 24MHz. The accuracy of
crystal oscillators applied should be ±10PPM, and the operating temperature range should be between -20°C and 85°C.
When using the downloading tools, please remember to select the right crystal oscillator type. In circuit design,
capacitors C1 and C2, which are connected to the earth, are added to the input and output terminals of the crystal
oscillator respectively. The values of the two capacitors can be flexible, ranging from 6pF to 22pF, however, the specific
capacitive values of C1 and C2 depend on further testing and adjustment on the overall performance of the whole
circuit. Normally, the capacitive values of C1 and C2 are within 10pF if the crystal oscillator frequency is 26MHz, while
the values of C1 and C2 are 10pF<C1, C2<22pF if the crystal oscillator frequency is 40MHz."

SRC:http://www.kloppenborg.net/images/blog/esp8266/esp8266-esp12e-specs.pdf

Did you add external caps to your XTALK Pins to trigger the 26MHZ is if I'm reading this wrong the 12E is 26MHZ by default??
My WemosD1 is 40MHZ so I've never had to go down that road.


I did not add any external caps to trigger 26MHZ. But what i could see in the default init data binary which contains 0x01 at offset 0x30, is 26Mhz. Some forum is saying 0x00 for 40Mhz and 1 for 26Mhz. But i was using 40mhz in the esp download tool as crystal frequency.
Since ESP12E is 26mhz by default in hardware, i guess we have to use 26mhz.
Attachments
default_init_data.png
init data
default_init_data.png (8.3 KiB) Viewed 1085 times

AgentSmithers
Posts: 172
Joined: Sat Apr 01, 2017 1:21 am
Contact:

Re: WiFi Not working in latest RTOS SDK

Postby AgentSmithers » Sat Mar 03, 2018 5:54 am

You know, I do recall reading that. Any known benefit of going 40MHZ from 26? I mean.. I guess you maybe cant unless you alter your hardware setup right?

john_m
Posts: 13
Joined: Fri Jul 28, 2017 3:06 pm

Re: WiFi Not working in latest RTOS SDK

Postby john_m » Mon Mar 05, 2018 2:04 pm

AgentSmithers wrote:You know, I do recall reading that. Any known benefit of going 40MHZ from 26? I mean.. I guess you maybe cant unless you alter your hardware setup right?


Yes correct

Who is online

Users browsing this forum: No registered users and 6 guests