Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of EPS3
Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of EPS3
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?
-
- Posts: 170
- Joined: Sun Jun 23, 2024 6:18 pm
Re: Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of
Hello,I have reviewed these documents and there are no related functions or registers for reading the number of loopsaliarifat794 wrote: ↑Sat Jun 29, 2024 7:20 pmYou can check all these docs:
https://docs.espressif.com/projects/esp ... s/rmt.html
https://github.com/husarnet/esp-idf/blo ... iver/rmt.h
https://github.com/ExploreEmbedded/ESP3 ... ster/rmt.h
Re: Can we obtain the number of pulses that have already been emitted when using the RMT transmission pulse sequence of
No.Eltrion wrote: ↑Sat Jun 29, 2024 4:44 pmI 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, 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
I want to use ESP32s2 to control the servo motor for positioning control, with a maximum pulse count of around 200kok-home wrote: ↑Mon Jul 01, 2024 12:47 pmNo.Eltrion wrote: ↑Sat Jun 29, 2024 4:44 pmI 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, this option is not available
esp32s2 allows you to set the number of repetition cycles
What is the maximum number of PWM waves?
Who is online
Users browsing this forum: No registered users and 86 guests