Search found 2 matches

by PeterA
Thu Sep 28, 2017 10:04 pm
Forum: ESP-IDF
Topic: Crash on vRingbufferReturnItem
Replies: 3
Views: 5621

Re: Crash on vRingbufferReturnItem

Aha! Thank you WiFive, your are absolutely correct, that has fixed the crash.

It's now mostly working, but I'm getting a sporadic
E (28872) rmt: RMT[2] ERR
E (28872) rmt: status: 0x13080100
when it's getting a lot of toggling on the rx pin.

Are the RMT error codes documented anywhere?

Thank you ...
by PeterA
Mon Sep 25, 2017 10:02 pm
Forum: ESP-IDF
Topic: Crash on vRingbufferReturnItem
Replies: 3
Views: 5621

Crash on vRingbufferReturnItem

Hi all,

I am trying to use the RMT peripheral to calculate speed from a motors hall sensor (max speed approx 350Hz).
I get plausible results if do xRingbufferReceive with ticks_to_wait=portMAX_DELAY, but obviously the latency of my speed calculations are too high.
If I change the ticks_to_wait to ...

Go to advanced search