Search found 424 matches

by Ritesh
Sat Feb 17, 2018 9:44 am
Forum: ESP32 SDK
Topic: DMA example for UART communication for ESP32
Replies: 10
Views: 315

Re: DMA example for UART communication for ESP32

End of frame will also generate tout interrupt so unless you need ultra realtime processing of messages it should be ok. Let's consider our UART module is going to send packets with variable size in every 100 msec of interval over Interrupt and also it needs some little bit time to process that pac...
by Ritesh
Sat Feb 17, 2018 4:46 am
Forum: ESP32 SDK
Topic: DMA example for UART communication for ESP32
Replies: 10
Views: 315

Re: DMA example for UART communication for ESP32

We didn't set fifo threshold to 1 byte but set 1 byte as interrupt to get each byte interrupt. Isn't that the same thing? uint8_t rxfifo_full_thresh UART RX full interrupt threshold. Why do you need an interrupt for each byte? Default is 120. We don't have fixed size of frame coming from UART modul...
by Ritesh
Fri Feb 16, 2018 7:28 pm
Forum: General Discussion
Topic: Use of dual core
Replies: 32
Views: 12173

Re: Use of dual core

Good Morning, i want to implement a slow speed pcm slave interface capable of transfering 32bit frames with 8kHz In- and Output at the same time. When i got my ESP32 i tried to (ab)use the I2S interfaces for that. I made more ivestigations Friday. There is my open thread you can find under: http://...
by Ritesh
Fri Feb 16, 2018 6:54 pm
Forum: ESP32 SDK
Topic: DMA example for UART communication for ESP32
Replies: 10
Views: 315

Re: DMA example for UART communication for ESP32

The problem is setting fifo threshold to 1 byte We didn't set fifo threshold to 1 byte but set 1 byte as interrupt to get each byte interrupt. So, will it create any problem while receiving data from both UART at every 100 msec? Let me know if you had any idea regarding DMA UART example or any info...
by Ritesh
Fri Feb 16, 2018 6:48 pm
Forum: ESP32 SDK
Topic: DMA example for UART communication for ESP32
Replies: 10
Views: 315

Re: DMA example for UART communication for ESP32

I don't think there is any need to use DMA with UART with your usage case. I'm only using the uart event task, similar to esp-idf/examples/peripherals/uart_events example. I've newer had any problems with it and response time is quite fast. At 128 byte packets every 100 ms you should have no proble...
by Ritesh
Fri Feb 16, 2018 3:53 am
Forum: ESP32 SDK
Topic: DMA example for UART communication for ESP32
Replies: 10
Views: 315

Re: DMA example for UART communication for ESP32

Hi Loboris or Espressif Systems Developer,

Do you have any idea or any base examples for how to use DMA for UART into ESP32?

Please let me know reference link or any example based on that ASAP.
by Ritesh
Thu Feb 15, 2018 5:25 pm
Forum: ESP32 SDK
Topic: UART DMA code doesn't work
Replies: 13
Views: 1020

Re: UART DMA code doesn't work

Hi,

Anyone got success to use DMA for UART data send and receive?

We had also Requirement for DMA to use into UART communication.
by Ritesh
Thu Feb 15, 2018 4:53 pm
Forum: ESP32 SDK
Topic: DMA example for UART communication for ESP32
Replies: 10
Views: 315

DMA example for UART communication for ESP32

Hi, We are working on ESP32 board and also using ESP32 IDF for application development as per our project Requirement. Right now, we had connected two different RF module over UART in which sometimes both modules are sending 128 bytes packets at interval of 100 milliseconds. Here, we are using inter...
by Ritesh
Thu Feb 15, 2018 4:13 pm
Forum: ESP32 SDK
Topic: Restart ESP Programmatically
Replies: 2
Views: 98

Re: Restart ESP Programmatically

Hi Is there a way to restart the ESP32, the equivalent of a power cycle ? I tried esp_restart(), but it seems that it only restarts the CPU, not the WiFi, Bluetooth etc. How do I trigger a restart which is an equivalent of a power cycle ? esp_restart() will gracefully restart whole system including...
by Ritesh
Thu Feb 15, 2018 4:08 pm
Forum: ESP32 SDK
Topic: Need help to compress files into ESP32
Replies: 4
Views: 150

Re: Need help to compress files into ESP32

As far as I know, there is no folder compression support or library for ESP32. You could use zlib library to compress the files. Here is the link to the zlib component I'm using with only the files needed. There is no function in it to compress the directory, you will need to create your own functi...

Go to advanced search