Search found 9 matches

by chris.f.rice
Tue Jul 14, 2026 6:49 am
Forum: ESP-IDF
Topic: Do we need to "burst" (periodically toggle CS) to stream data to our ESP32S3 via SPI?
Replies: 2
Views: 68

Re: Do we need to "burst" (periodically toggle CS) to stream data to our ESP32S3 via SPI?

Sorry for the delay... I have been troubleshooting the existing design before testing whether the ESP API functions will return when *full* rather than CS deasserting. FWIW, I asked Claude if that (Return when full) were true, and it pointedly disagreed (see below -- but it told me to burst in the ...
by chris.f.rice
Sat Jul 11, 2026 1:24 am
Forum: ESP-IDF
Topic: Do we need to "burst" (periodically toggle CS) to stream data to our ESP32S3 via SPI?
Replies: 2
Views: 68

Do we need to "burst" (periodically toggle CS) to stream data to our ESP32S3 via SPI?

Hello there. We are using an STM32H7 as a SPI master connected to our ESP32-S3 as a slave. I've read over the documentation on how to code the ESP32 end, below:

https://github.com/hideakitai/ESP32SPISlave
https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/peripherals/spi ...
by chris.f.rice
Mon Feb 19, 2024 12:17 am
Forum: ESP-IDF
Topic: Do we need bad block management, and if so is there something in the API for it?
Replies: 3
Views: 1460

Re: Do we need bad block management, and if so is there something in the API for it?

Oh, great... no we are implementing a circular log over a span of blocks using the Partitions API, which will be sort of naturally wear-leveled. So I'm glad to hear that that eliminates the need for bad block management. I thought I remembered that the bad blocks could appear over time, and was a ...
by chris.f.rice
Sun Feb 18, 2024 3:17 pm
Forum: ESP-IDF
Topic: Do we need bad block management, and if so is there something in the API for it?
Replies: 3
Views: 1460

Do we need bad block management, and if so is there something in the API for it?

We are using a ESP-32 dev kit (ESP32-C6-DevKitC-1), and using the partitions API to read and write to FLASH, and it works well.

It's been a while since I've written code for nonvolatile FLASH... I seem to recall the need for a mechanism called bad block management, in which you scan for blocks that ...
by chris.f.rice
Sun Feb 18, 2024 3:11 pm
Forum: ESP-IDF
Topic: Can receive characters via UART1, but not UART0
Replies: 3
Views: 1900

Re: Can receive characters via UART1, but not UART0

Thank you ok-home, you are right that was the problem. Not sure why the dev kit would come shipped with this problem...
by chris.f.rice
Wed Feb 07, 2024 2:20 pm
Forum: ESP-IDF
Topic: Can receive characters via UART1, but not UART0
Replies: 3
Views: 1900

Can receive characters via UART1, but not UART0

UPDATE: this is happening on two different boards, and I don't seem to be able to find ANY example code that sets up UART0 for receiving. This is getting absurd, the most basic function on a controller and I can't get it to work. Does anyone have any theories, or a pointer to some code that should ...
by chris.f.rice
Thu Feb 01, 2024 8:24 pm
Forum: ESP-IDF
Topic: Do I need to do something special to talk to dev kit UART0?
Replies: 0
Views: 828

Do I need to do something special to talk to dev kit UART0?

Hello, I'm trying to write some UART code to talk to my ESP32c6-DEVKITC1. I am able to read and write through UART1 through pins 10 and 11, with the first code snippet below. But I am not able to talk through UART0 through pins U0TXD/GPIO16, U0RXD/GPIO17, using the second code snippet below.

Is ...
by chris.f.rice
Wed Jan 24, 2024 1:50 am
Forum: ESP-IDF
Topic: Best library/API to use for custom nonvolatile database
Replies: 4
Views: 2151

Re: Best library/API to use for custom nonvolatile database

Thank you MicroController. I do get that, that FLASH memory generally requires erasing a page at a time, and we have some reusable roll-your-own code that manages that (copies page out, edits, erases original page, writes modified page). I will definitely look into the libraries you mention (SPIFFS ...
by chris.f.rice
Tue Jan 23, 2024 4:57 pm
Forum: ESP-IDF
Topic: Best library/API to use for custom nonvolatile database
Replies: 4
Views: 2151

Best library/API to use for custom nonvolatile database

Hello, we are getting started using an ESP32c6, and we would like to implement some light custom database functionality, using nonvolatile storage.

I see that the NVS library is available, but that it's "designed to store key-value pairs in flash."

I think that's (key value pairs) not exactly the ...

Go to advanced search