Search found 5 matches

by ahalekelly
Thu Mar 03, 2022 3:22 am
Forum: Hardware
Topic: Unable to auto flash with custom board
Replies: 2
Views: 2393

Unable to auto flash with custom board

I got a board made with the ESP32-WROOM module, and copied the auto flash circuit from the ESP32-DevKitC v4 schematic . Using an FT232RL, esptool.py is able to reboot the ESP32 but it comes up in boot: 0x17, meaning that the BOOT pin is high. If I hold DTR low and RTS high and then power cycle, the ...
by ahalekelly
Tue Feb 22, 2022 8:06 am
Forum: ESP32 Arduino
Topic: Bidirectional Dshot using RMT
Replies: 5
Views: 4841

Re: Bidirectional Dshot using RMT

If I configure the RMT output and then call

Code: Select all

gpio_set_direction(gpio_num, GPIO_MODE_INPUT_OUTPUT_OD);
I don't get any output, how should I do this?
by ahalekelly
Thu Feb 17, 2022 3:45 am
Forum: ESP32 Arduino
Topic: Bidirectional Dshot using RMT
Replies: 5
Views: 4841

Re: Bidirectional Dshot using RMT

Oh that's a good idea. The protocol isn't open-drain but I think it's compatible. I didn't know you could put both an RX and a TX RMT channel on one GPIO, that would be helpful in saving me some GPIOs compared to using two per pin. I'll try it out.
by ahalekelly
Sun Feb 13, 2022 6:43 pm
Forum: ESP32 Arduino
Topic: Bidirectional Dshot using RMT
Replies: 5
Views: 4841

Re: Bidirectional Dshot using RMT

In order to allow the other MCU to respond, I need to switch the RMT output to high-impedance (input) mode. But my signal is default high, so a dip in the voltage results in an error in the signal. This demo code results in a 3us long low signal on the output, 6us before the RMT output is sent: gpio...
by ahalekelly
Tue Feb 08, 2022 5:26 pm
Forum: ESP32 Arduino
Topic: Bidirectional Dshot using RMT
Replies: 5
Views: 4841

Bidirectional Dshot using RMT

Hey, I'm trying to implement the bidirectional dshot protocol on the ESP-32 using the RMT peripheral. Basically I need to send a 16 bit packet at 600 kbps, wait for a 16 bit response on the same pin, repeat this at several kHz, and do this on 4 pins concurrently. I'm using the DShotRMT library as a ...