Search found 15 matches

by shirogeek
Thu Jan 11, 2024 10:42 am
Forum: ESP32 Arduino
Topic: RMT Peripheral to send a variable number of pulses continuously
Replies: 1
Views: 35633

Re: RMT Peripheral to send a variable number of pulses continuously

I managed to fix the delay between two consecutive waves of pulses being sent by disabling the interrupt for the channel I use and simply launching my function sendPulses at regular interval. The delay between the pulses being sent becomes then exactly equal to the interval without the additional de...
by shirogeek
Wed Jan 10, 2024 6:10 pm
Forum: ESP-IDF
Topic: Using RMT to generate 'n' rising clock edges [faster than gpio twiddling]
Replies: 7
Views: 27987

Re: Using RMT to generate 'n' rising clock edges [faster than gpio twiddling]

Hey guys, Reviving this topic to see if you could share your full solution with me ... I actually have a piece of working code myself for the same purpose but my problem is that successive calls to send a wave of pulses yields at least a 15 us delay between the two waves and I cannot afford that in ...
by shirogeek
Wed Jan 10, 2024 5:39 pm
Forum: ESP-IDF
Topic: Why is there a 15us interval between rmt pulses between two rmt_transmit?
Replies: 3
Views: 53650

Re: Why is there a 15us interval between rmt pulses between two rmt_transmit?

Did you manage to solve your issue ? I have the same problem but for a different reason. I have an interactive application where I need to compute a sequence of pulses based on some sensor data I get. I use the rmt to send the pulses in a loop fashion : check sensor -> compute sequence -> send via R...
by shirogeek
Wed Jan 10, 2024 1:16 pm
Forum: ESP32 Arduino
Topic: RMT Peripheral to send a variable number of pulses continuously
Replies: 1
Views: 35633

RMT Peripheral to send a variable number of pulses continuously

Hi guys, I am tinkering around with the rmt peripheral and understand it is an amazing tool to generate complex and changing waveform overtime. I need to generate a certain amount of pulses over a GPIO that I would like to vary in terms of number of pulses, frequency and duty cycle. Here is my curre...
by shirogeek
Tue Jan 11, 2022 8:37 am
Forum: Hardware
Topic: ESP32 DevKit based on Wrover-E cannot use SDIO
Replies: 2
Views: 3979

Re: ESP32 DevKit based on Wrover-E cannot use SDIO

Thanks for the quick reply !
I’m using a normal breakout board with no level shifter ...
by shirogeek
Mon Jan 10, 2022 6:52 pm
Forum: Hardware
Topic: ESP32 DevKit based on Wrover-E cannot use SDIO
Replies: 2
Views: 3979

ESP32 DevKit based on Wrover-E cannot use SDIO

Hey guys, So i'm in a bit of a bummer here, I have troubles working out how to connect an SD card in native sdio 4-lines to my devkit. I followed the Arduino example which suggests the following pin connections : /* * Connect the SD card to the following pins: * * SD Card | ESP32 * D2 12 * D3 13 * C...
by shirogeek
Fri Oct 15, 2021 11:02 am
Forum: ESP-IDF
Topic: UDP Client example : where to get ESP32 UDP port
Replies: 4
Views: 12697

Re: UDP Client example : where to get ESP32 UDP port

Thanks for your reply guys. I actually meant the port from which the ESP32 can send messages through UDP. The port you guys are mentioning is the port of the UDP server (on my computer for instance). I'm actually looking for the port I can combine with the IP address of the ESP32 to send messages fr...
by shirogeek
Wed Sep 22, 2021 1:56 pm
Forum: ESP-IDF
Topic: OTA update : 2 partitions one with OTA program and second with application program
Replies: 3
Views: 5811

Re: OTA update : 2 partitions one with OTA program and second with application program

Thanks for the reply boarchuz ! I kept looking at this in the meanwhile and understood what you mentioned exactly. I got the example working and i can switch between the factory and OTA app through reboot. The following code snippet (found here : https://www.esp32.com/viewtopic.php?t=4210) allows to...
by shirogeek
Wed Sep 22, 2021 9:14 am
Forum: ESP-IDF
Topic: OTA update : 2 partitions one with OTA program and second with application program
Replies: 3
Views: 5811

OTA update : 2 partitions one with OTA program and second with application program

Hello, I wanted to inquire if it was possible to setup a 2 OTA partitions scheme where one contains the simple ota example for instance and its role would be to update then boot on the second partition (my actual application). Is it possible to OTA update just this second partition and for instance ...
by shirogeek
Sat Sep 11, 2021 9:28 am
Forum: ESP-IDF
Topic: UDP Client example : where to get ESP32 UDP port
Replies: 4
Views: 12697

UDP Client example : where to get ESP32 UDP port

Hey guys, I am playing around with the udp_client example. I can easily receive and send packets to the ESP32. However, I would like to know if there is a systematic way to know the UDP port of the ESP32. I currently can figure it out by looking at the source UDP port of the message the UDP sends an...