Hello,
Just started working with ESP32.
I'm working with the latest IDF master branch from github, as of today.
Trying to use this code: https://github.com/Lucas-Bruder/ESP32_LED_STRIP which uses the RMT driver.
The code successfully starts the RMT peripheral and I see (using o-scope) the very first "clear" pattern output on the correct pin at what appears to be the correct overall frequency, etc, but the code never receives the TX interrupt, so the thread ("led_strip_task") hangs.
Additionally, if I change the call to 'rmt_write_items()' to indicate "wait for tx done", then the code hangs internally to 'rmt_write_items()' instead of later where it waits on the tx done interrupt (basically same code in both places... waiting on semaphore).
Any advice to help find the root cause? Is there some additional setup steps to enable the interrupt?
I'm using interrupt 19 and RMT channel 0.
Thank you!
RMT driver - TX interrupt fails?
Re: RMT driver - TX interrupt fails?
Solved. Mis-match between the led strip code version of IDF and the latest IDF.
Thanks to:
https://twitter.com/onelittlebat/status ... 1622625281
Here are more notes:
https://github.com/espressif/esp-idf/issues/187
and
https://github.com/Lucas-Bruder/ESP32_L ... /issues/19
Thanks to:
https://twitter.com/onelittlebat/status ... 1622625281
Here are more notes:
https://github.com/espressif/esp-idf/issues/187
and
https://github.com/Lucas-Bruder/ESP32_L ... /issues/19
Who is online
Users browsing this forum: Baidu [Spider] and 93 guests