ESP-AT with SPI cant handle very fast incoming data

naitik
Posts: 19
Joined: Thu Apr 22, 2021 2:04 pm

ESP-AT with SPI cant handle very fast incoming data

Postby naitik » Thu Nov 25, 2021 10:31 am

Hello, I am using ESP32 with ESP-AT library in SPI mode. ESP32 is connected to MQTT Broker which publishes the data very fast at one specific topic which shows list of users online. its publish data every 100-200 ms thus most of time ESP32 skips few Important responses on other topics from server and that data never reaches to Host controller. However when ESP32 is used in UART Mode this issue doesn't occur. so can someone point me out on how it can be solved for SPI as well ?

ESP_Alson
Posts: 106
Joined: Mon Mar 22, 2021 3:37 am

Re: ESP-AT with SPI cant handle very fast incoming data

Postby ESP_Alson » Wed Dec 08, 2021 3:23 am

The speed of SPI will be faster than speed of UART in theory. You can increase the frequency of your SPI Master or use Dual mode or Quad mode .

Who is online

Users browsing this forum: No registered users and 29 guests