RMT - problem with setting precise item duration
Posted: Wed Dec 12, 2018 4:01 pm
I am currently working on project that uses RMT. It is just sending impulses of variable duration and pauses in time.
However I have troubles with properly setting time duration of RMT items. Looks like it is related to clock divider.
I followed esp example but still it does not work and time durations come out too short
Some questions - what is the proper way to set precise time in microseconds for RMT items?
Also what are the recommended values for clk_div, what exactly is idle_level, idle_output_en and mem_block_num...
How all that works? I read documentation saying that there are some limits for number of items - so do I need to set something in config?
For now I need items basically with 500us impulses or multiplication of 500us
Thanks
However I have troubles with properly setting time duration of RMT items. Looks like it is related to clock divider.
I followed esp example but still it does not work and time durations come out too short
Some questions - what is the proper way to set precise time in microseconds for RMT items?
Also what are the recommended values for clk_div, what exactly is idle_level, idle_output_en and mem_block_num...
How all that works? I read documentation saying that there are some limits for number of items - so do I need to set something in config?
For now I need items basically with 500us impulses or multiplication of 500us
Thanks