Page 1 of 1

Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of EPS3

Posted: Sat Jun 29, 2024 4:44 pm
by Eltrion
I hope to use the RMT module of ESP32-S2 to send a fixed number of PWM waves, and use the cyclic transmission mode of the RMT module. When the cyclic transmission mode is enabled and transmission begins, can the number of cycles that have been sent be obtained in real-time in the program?

Re: Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of

Posted: Sat Jun 29, 2024 7:20 pm
by aliarifat794

Re: Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of

Posted: Mon Jul 01, 2024 10:24 am
by Eltrion
Hello,I have reviewed these documents and there are no related functions or registers for reading the number of loops

Re: Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of

Posted: Mon Jul 01, 2024 12:47 pm
by ok-home
Eltrion wrote:
Sat Jun 29, 2024 4:44 pm
I am hoping to use the RMT module of the ESP32-S2 to send a fixed number of PWM waves and use the cyclic transmission mode of the RMT module. When the cyclic transmission mode is activated and the transmission starts, is it possible to get the number of cycles sent in real time from the program?
No.

no, this option is not available

esp32s2 allows you to set the number of repetition cycles

What is the maximum number of PWM waves?

Re: Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of

Posted: Mon Jul 01, 2024 4:44 pm
by Eltrion
ok-home wrote:
Mon Jul 01, 2024 12:47 pm
Eltrion wrote:
Sat Jun 29, 2024 4:44 pm
I am hoping to use the RMT module of the ESP32-S2 to send a fixed number of PWM waves and use the cyclic transmission mode of the RMT module. When the cyclic transmission mode is activated and the transmission starts, is it possible to get the number of cycles sent in real time from the program?
No.

no, this option is not available

esp32s2 allows you to set the number of repetition cycles

What is the maximum number of PWM waves?
I want to use ESP32s2 to control the servo motor for positioning control, with a maximum pulse count of around 200k