Search found 5 matches

by Moondrop
Wed Dec 21, 2022 12:39 pm
Forum: ESP-IDF
Topic: ESP-IDF problem in SPI latency
Replies: 0
Views: 700

ESP-IDF problem in SPI latency

Hi All. I am trying to port some code from Arduino to ESP-IDF, and I am encounetring a strange behaviour regarding to SPI timings. My arduino code is: SPIClass spiV = SPIClass(VSPI); spiV.begin(-1, -1, -1, -1); spiV.beginTransaction(SPISettings(40000000, MSBFIRST, SPI_MODE3)); bufIdx = 0; intToRead ...
by Moondrop
Wed Dec 21, 2022 12:39 pm
Forum: ESP-IDF
Topic: ESP-IDF problem in SPI latency
Replies: 0
Views: 745

ESP-IDF problem in SPI latency

Hi All. I am trying to port some code from Arduino to ESP-IDF, and I am encounetring a strange behaviour regarding to SPI timings. My arduino code is: SPIClass spiV = SPIClass(VSPI); spiV.begin(-1, -1, -1, -1); spiV.beginTransaction(SPISettings(40000000, MSBFIRST, SPI_MODE3)); bufIdx = 0; intToRead ...
by Moondrop
Sun Oct 16, 2022 8:06 pm
Forum: ESP-IDF
Topic: Panic from BT stack (Bluedroid)
Replies: 1
Views: 1149

Panic from BT stack (Bluedroid)

Hi All. I am encountering a weird behaviour envolving the BT stack. I have application which uses external ADC (SPI + additional control pins), the ADC is being read (in a separate RTOS task) in chunks and passed to the main task which writes the chunks to sdcard (SPI-SDCARD). The application works ...
by Moondrop
Sun Oct 16, 2022 4:21 pm
Forum: General Discussion
Topic: Unexplained data in uart buffer
Replies: 2
Views: 4632

Re: Unexplained data in uart buffer

Yes that was the problem. Thank you
by Moondrop
Sat Jan 01, 2022 3:09 pm
Forum: General Discussion
Topic: Unexplained data in uart buffer
Replies: 2
Views: 4632

Unexplained data in uart buffer

Hi. I am seeing a weird behaviour of '0x0d' byte being to my UART tx stream once in a while. I have ESP32 and another device connected via UART. I am using UART to transfer binary data in constant block sizes of 66 bytes. In every transfer of a block, the ESP32 first reads 2 bytes from device, then ...