Search found 3 matches

by INeedHelp
Sat Feb 07, 2026 8:35 pm
Forum: General Discussion
Topic: RMT callback is not generated reliably
Replies: 4
Views: 809

Re: RMT callback is not generated reliably


Why so complicated?

// synchronize sending of all channels
rmt_new_sync_manager(...)
....
while(1){
// prepare data
....

// transmit data
rmt_transmit(ch0...);
rmt_transmit(ch1...);
rmt_transmit(ch2...);
// wait for all channels to finish transmitting
rmt_tx_wait_all_done(ch0...);
rmt_tx_wait ...
by INeedHelp
Sat Feb 07, 2026 8:31 pm
Forum: General Discussion
Topic: RMT callback is not generated reliably
Replies: 4
Views: 809

Re: RMT callback is not generated reliably


Isn't it enough to know that transmission for the last channel has completed?


esp_err_t stepper_rmt_init() {
for(int i = 0; i < 3; i++) {
// --- RMT TX Channel ---
rmt_tx_channel_config_t tx_chan_cfg = {
.gpio_num = MOTOR_STEP_PIN[i],
.clk_src = RMT_CLK_SRC_DEFAULT, // Use default clock ...
by INeedHelp
Wed Jan 21, 2026 10:20 pm
Forum: General Discussion
Topic: RMT callback is not generated reliably
Replies: 4
Views: 809

RMT callback is not generated reliably

Hi,

im currently programming a robot arm with stepper and servomotors.
I have trouble coding the software for 3 steppermotors. Id like to control the steps with RMT. In order to do that I have to detect the Moment, when the RMT-Modula has generated all Symbols. After finishing the transmition I ...

Go to advanced search