RMT in loop mode results in crash, and no looping for 64+ items
Posted: Wed Sep 20, 2017 8:52 am
I've noticed a crash when using the RMT to generate repeating sequences. In particular I want the RMT to re-execute all the items over and over again, to produce a square wave with known frequency.
However I've noticed that setting the tx_config.loop_en field can cause the application to crash, but only if the number of items in the RMT list is 63 or fewer. Adding a debug function call in a subsequent loop can also cause a crash. Setting the number of items to 64 results in a one-shot of the sequence but with no looping.
I've filed a bug with details here:
https://github.com/espressif/esp-idf/issues/1019
Any idea what's happening?
However I've noticed that setting the tx_config.loop_en field can cause the application to crash, but only if the number of items in the RMT list is 63 or fewer. Adding a debug function call in a subsequent loop can also cause a crash. Setting the number of items to 64 results in a one-shot of the sequence but with no looping.
I've filed a bug with details here:
https://github.com/espressif/esp-idf/issues/1019
Any idea what's happening?