Search found 157 matches

by eriksl
Mon Feb 01, 2016 2:28 am
Forum: ESP8266 SDK
Topic: Wlan rate control acting strange
Replies: 7
Views: 4379

Re: Wlan rate control acting strange

What are other people's experiences? What speed your ESP's normally connect to your access point?

Does anybody use the rate API?
by eriksl
Wed Jan 27, 2016 10:43 pm
Forum: ESP8266 SDK
Topic: Wlan rate control acting strange
Replies: 7
Views: 4379

Wlan rate control acting strange

I have some problems with the 802.11g/n rate control. My esp's never connect at 65 mbps (N) or 54 mbps, it's always a slower speed, usually 13 mbps or 24 mbps. That in itself is no problem. But I found out that when I start to send larger amounts of data over tcp, the rate drops (as monitored on the...
by eriksl
Wed Jan 20, 2016 6:47 pm
Forum: General Q&A
Topic: Does ESP8266 actually have hardware I2C?/ESP8266有硬件I2C吗?
Replies: 4
Views: 9740

Re: Does ESP8266 actually have hardware I2C?/ESP8266有硬件I2C吗?

I already accepted the fact. It's not a big deal because the cpu is fast enough to reach > 100 khz using bit banging. Also a software implementation gives room for a better implementation (better error detection, reporting and recovery, see the code in my project).
by eriksl
Tue Jan 19, 2016 5:10 pm
Forum: ESP8266 SDK
Topic: ETS_FRC_TIMER1_NMI_INTR_ATTACH does not work
Replies: 15
Views: 8930

Re: ETS_FRC_TIMER1_NMI_INTR_ATTACH does not work

If only remotely possible you shouldn't do any real work in an interrupt service route. Make it set a flag and handle it in normal code. It's very easy completely setup all sorts of hardware handling by running too long in an ISR, especially NMI.
by eriksl
Mon Jan 18, 2016 11:20 pm
Forum: ESP8266 SDK
Topic: ETS_FRC_TIMER1_NMI_INTR_ATTACH does not work
Replies: 15
Views: 8930

Re: ETS_FRC_TIMER1_NMI_INTR_ATTACH does not work

Are you using pwm?

Are you returning within a few instructions from the handler?

Is the handler in iram?
by eriksl
Fri Dec 11, 2015 3:22 am
Forum: ESP8266 SDK
Topic: Meaning of ICACHE_FLASH_ATTR
Replies: 19
Views: 21494

Re: Meaning of ICACHE_FLASH_ATTR

code with ICACHE_FLASH_ATTR will end up in irom (flash) only. code without ICACHE_FLASH_ATTR will end up in irom (flash) and will be copied to iram (ram) on bootup. The iram space is quite limited, including space needed by SDK and other libraries you will only have a few kbytes for your own applica...
by eriksl
Sun Dec 06, 2015 5:35 pm
Forum: ESP8266 SDK
Topic: New FEATURES gathering
Replies: 82
Views: 102109

Re: New FEATURES gathering

Urgent request: IRAM usage. I doing my ***** best to keep IRAM usage low. I've come to the point where I have 213 k of IROM code, almost everything I make is in IROM, unless really really necessary in IRAM. I now have 500 bytes of IRAM left. I upgraded to 1.5.0 and now it's only 150 bytes. My code o...
by eriksl
Sun Dec 06, 2015 5:28 pm
Forum: ESP8266 SDK
Topic: New FEATURES gathering
Replies: 82
Views: 102109

Re: New FEATURES gathering

My requests: PWM enhancement. The current software PWM implementation does a decent job, it's usable, but it looks like it hasn't been finished. To make it really comparable to a hardware implementation we're used to please add: - Dynamic membership of a GPIO (i.e. user can make GPIO a PWM or a norm...
by eriksl
Sun Dec 06, 2015 5:16 pm
Forum: ESP8266 SDK
Topic: New FEATURES gathering
Replies: 82
Views: 102109

Re: New FEATURES gathering

chaeplin wrote:- a api to prevent connecting to OPEN AP
- a api to get the encryption type of the current network

Both are already available, check the docs ;)
by eriksl
Sun Dec 06, 2015 5:16 pm
Forum: ESP8266 SDK
Topic: New FEATURES gathering
Replies: 82
Views: 102109

Re: New FEATURES gathering

geo.espressif wrote:An snprintf implementation would help a lot.

Yes agree, but completely in ROM not in RAM!

Go to advanced search