Search found 5 matches
- Tue Apr 02, 2024 7:01 am
- Forum: ESP32 Arduino
- Topic: The difference in readings of the touch sensors between ESP32 and ESP32S3
- Replies: 2
- Views: 1921
The difference in readings of the touch sensors between ESP32 and ESP32S3
When migrating the controller from ESP32S3 to ESP32, I found that the touch sensor reading on ESP32S3 is 16300 when idle, increasing to 800000 after touch. Using the same program, the touch sensor reading on ESP32 is 76 when idle, decreasing to 7 after touch. What could be the reason for this differ...
- Mon Oct 30, 2023 6:38 am
- Forum: ESP32 Arduino
- Topic: Does EEPROM automatically perform wear leveling?
- Replies: 5
- Views: 3061
Re: Does EEPROM automatically perform wear leveling?
Thank you, I will go learn about the Preferences library.ESP_Sprite wrote: ↑Sun Oct 29, 2023 12:25 amProbably better to use the Preferences library, EEPROM is a bit clunky. That maps to the NVS functionality of ESP-IDF, which indeed implements wear-leveling ref.
- Mon Oct 30, 2023 6:38 am
- Forum: ESP32 Arduino
- Topic: Does EEPROM automatically perform wear leveling?
- Replies: 5
- Views: 3061
Re: Does EEPROM automatically perform wear leveling?
Both EEPROM and Preferences will use wear levelling, since they both use nvs as their backend. Preferences is faster, easier to use, and overall more suitable if you don't need arduino portable code. Note that using the IDE to erase the flash is one way that specifically sidesteps wear levelling. Y...
- Sat Oct 28, 2023 1:28 am
- Forum: ESP32 Arduino
- Topic: Does EEPROM automatically perform wear leveling?
- Replies: 5
- Views: 3061
Does EEPROM automatically perform wear leveling?
The EEPROM of ESP32S3 is virtualized by FLASH. Does erasing EEPROM directly in Arduino IDE automatically perform wear leveling at the underlying level? When using ESP32S3 to create a device with a counter function, I want to save data during power-off, so I need to save it once when a counting event...
- Thu Oct 26, 2023 7:58 am
- Forum: ESP-IDF 中文讨论版
- Topic: 请问EEPROM是否会自动进行磨损均衡
- Replies: 0
- Views: 754
请问EEPROM是否会自动进行磨损均衡
ESP32S3的EEPROM是由FLASH虚拟的,请问直接在arduinoIDE中擦写EEPROM时是否在底层自动进行了磨损平衡?
在用ESP32S3做含有计数器功能的设备,希望可以掉电保存数据,所以在计数事件发生时就要保存一次。每天大概会保存2000次。用arduino框架+FreeRTOS开发时使用EEPROM会方便很多。如果底层自动完成磨损均衡就能省很多事情了
在用ESP32S3做含有计数器功能的设备,希望可以掉电保存数据,所以在计数事件发生时就要保存一次。每天大概会保存2000次。用arduino框架+FreeRTOS开发时使用EEPROM会方便很多。如果底层自动完成磨损均衡就能省很多事情了