Page 1 of 1

Data rate on esp32

Posted: Sun Dec 01, 2019 6:42 pm
by sv_nagendra
Hello,
I am using ESP32 DEVKIT using arduino ide. I am trying to use the peer to peer mode.
The pins 23 and 2 are made as input pins on ESP32 master and pins 23 and 2 as receive pins on ESP32 slave device.
The pin 23 of master has been connected to a function generator and the pin 23 on slave device connects to a oscilloscope.
I am able to transmit pulses successfully up to 50Hz and if I further increase the frequency on master device, the frequency on receiver starts failing.
My requirement is to send 25mbps data from a master ESP32 device to a slave ESP32 device. How can I increase the data rate here?

Thanks and regards,
Nagendra

Re: Data rate on esp32

Posted: Mon Dec 02, 2019 2:43 am
by ESP_Sprite
Are you using any peripherals for this, or just banging bits? Because there's no way you're going to get 25MBps using GPIO. Try something like SPI or SDIO instead, or even Ethernet.

Re: Data rate on esp32

Posted: Mon Dec 02, 2019 4:14 am
by sv_nagendra
Hello,
The idea is to use an FPGA in order to send the bits to ESP32 @25Mbps.
I am OK in using SPI as the protocol. What should be the address and bit format to be sent over SPI?
Can I still use the Arduino to load the firmware on to DEVKIT to enable the SPI port?
Let me know any reference document for SPI based peer to peer communication.

Thanks,
Nagendra

Re: Data rate on esp32

Posted: Fri Jan 21, 2022 12:27 pm
by Max Bursell
Hi Nagendra
Did you solve your issue with the datarate?
if yes, would you like to share code?
im doing a projekt ned needs a datarate of 2.5 mbps and cant get it to work.
Best Regards
Max Bursell