Search found 4 matches

by progit
Tue Jul 16, 2019 3:32 pm
Forum: ESP-IDF
Topic: RMT channel 0 with high evt_thresh in rmt_set_tx_thr_intr_en fails.
Replies: 2
Views: 3509

Re: RMT channel 0 with high evt_thresh in rmt_set_tx_thr_intr_en fails.

Thanks. That clarifies why 256 is the max no of events I can send in one TX. I was mislead by the uint16_t to think that it might have been more. As an aside, why not just say : esp_err_t rmt_set_tx_thr_intr_en(rmt_channel_t channel, bool en, uint8_t evt_thresh) instead of esp_err_t rmt_set_tx_thr_i...
by progit
Mon Jul 15, 2019 11:27 pm
Forum: ESP-IDF
Topic: RMT channel 0 with high evt_thresh in rmt_set_tx_thr_intr_en fails.
Replies: 2
Views: 3509

RMT channel 0 with high evt_thresh in rmt_set_tx_thr_intr_en fails.

Hello All, I am trying to send pulses (to generate a square wave with RMT). However, I am having a problem with the rmt_set_tx_thr_intr_en function. It seems like I cannot set the evt_thresh to any uint16_t value. For example, when I set evt_thresh to 240, thing works fine. Increasing evt_thresh to ...
by progit
Tue Jul 09, 2019 3:22 pm
Forum: ESP-IDF
Topic: Sending sequence of pulses with RMT
Replies: 1
Views: 3555

Sending sequence of pulses with RMT

Hello All, I am trying to understand how to use the RMT peripheral. I want to send a sequence of pulses (3,4,5 to 100 pulses) by setting the rmt_set_tx_thr_intr_en to the number of pulses, and stopping the rmt when that number is reached. My code however is not working. What I see is the initial pul...
by progit
Mon Jul 01, 2019 4:36 pm
Forum: ESP-IDF
Topic: Interrupting higher priority task from webserver command
Replies: 0
Views: 1890

Interrupting higher priority task from webserver command

Hello All, I am new to using the esp32 and am trying to figure out how to make a "Abort" button on my esp32 webpage abort a for loop in a higher priority task (task pulses in code below). The problem is that when the for loop in the Pulse Code below is running, the webserver is blocked and I cannot ...