Search found 3529 matches

by WiFive
Wed Jul 04, 2018 4:24 am
Forum: General Discussion
Topic: What does I2C_NONFIFO_EN?
Replies: 3
Views: 4407

Re: What does I2C_NONFIFO_EN?

RTC_I2C_DATA_REG is not related to i2c peripheral. https://github.com/espressif/esp-idf/blob/3cad00fdcca7dd4b7939d7862407c000c29657c1/components/soc/esp32/include/soc/i2c_reg.h#L264 APB access is preferred but is used by clearing I2C_NONFIFO_EN not setting it. You will have to manage interrupt prior...
by WiFive
Wed Jul 04, 2018 1:32 am
Forum: General Discussion
Topic: What does I2C_NONFIFO_EN?
Replies: 3
Views: 4407

Re: What does I2C_NONFIFO_EN?

Not sure because the driver clears I2C_NONFIFO_EN in both master and slave mode, then proceeds to access the fifo using I2C_DATA_APB_REG(). So I guess if it is set you use I2C_DATA_REG() instead. The way you write more bytes is to set a threshold then receive an interrupt and refill the fifo.
by WiFive
Tue Jul 03, 2018 4:52 pm
Forum: General Discussion
Topic: Ethernet example fails to discover DHCP assigned address
Replies: 10
Views: 13057

Re: Ethernet example fails to discover DHCP assigned address

Post the debug output anyway
by WiFive
Tue Jul 03, 2018 2:02 pm
Forum: General Discussion
Topic: Ethernet example fails to discover DHCP assigned address
Replies: 10
Views: 13057

Re: Ethernet example fails to discover DHCP assigned address

Is there a difference in debug output?
by WiFive
Tue Jul 03, 2018 12:08 am
Forum: General Discussion
Topic: Very accurate timer implementation
Replies: 11
Views: 13394

Re: Very accurate timer implementation

Oh I see you are saying the idle threshold can't be more than 819us.

What about mcpwm capture?
by WiFive
Mon Jul 02, 2018 10:37 pm
Forum: General Discussion
Topic: Very accurate timer implementation
Replies: 11
Views: 13394

Re: Very accurate timer implementation

If you have 12.5ns and 32767 samples per entry so max 409us per entry so your total signal should use max 20 entries
by WiFive
Mon Jul 02, 2018 4:34 am
Forum: ESP32 Arduino
Topic: ESP Call Back / Interrupt Issue
Replies: 6
Views: 10106

Re: ESP Call Back / Interrupt Issue

https://github.com/Heltec-Aaron-Lee/WiF ... /issues/39

Onreceive is called in interrupt context from a function that is doing a bunch of stuff that also should not be in interrupt context.