Search found 74 matches
- Wed Nov 22, 2023 3:29 am
- Forum: General Discussion
- Topic: Getting Wake Cause in Wake Stub not working on S3
- Replies: 3
- Views: 4358
Re: Getting Wake Cause in Wake Stub not working on S3
Looking at the TRM, RTC_CNTL_WAKEUP_STATE_REG does not seem to be the correct register for reading the wake-up cause on S3. RTC_CNTL_WAKEUP_CAUSE is from RTC_CNTL_SLP_WAKEUP_CAUSE_REG You can take a look at rtc_cntl_ll_get_wakeup_cause() to see how it is done on different chips (you could use this i...
- Fri Oct 22, 2021 3:20 am
- Forum: Hardware
- Topic: RSA peripheral 50% slower on ESP32-S3/C3 than S2?
- Replies: 11
- Views: 18285
Re: RSA peripheral 50% slower on ESP32-S3/C3 than S2?
Sorry, as far as I know there is no secret registers that allow you to perform just one modular multiplication instead of two on these newer chips. I'll forward the question to the guy on our digital team responsible for this peripheral and see if he has any ideas, but most likely there isn't any wa...
- Mon Oct 18, 2021 2:48 am
- Forum: Hardware
- Topic: RSA peripheral 50% slower on ESP32-S3/C3 than S2?
- Replies: 11
- Views: 18285
Re: RSA peripheral 50% slower on ESP32-S3/C3 than S2?
You are correct that the peripheral is the same, but the way we access the memory has changed and unfortunately this means the RSA on C3/S3 will be slower than S2, but still an improvement from ESP32. 50% seems to be within the expected range. I see that the TRM RSA performance data for S3/C3 do not...
- Fri Oct 15, 2021 1:50 am
- Forum: ESP-IDF
- Topic: ESP download modes
- Replies: 5
- Views: 9713
Re: ESP download modes
Hi, Any updates regarding how to enable the "Permanently switch to Secure mode (recommended) option? SECURE_ENABLE_SECURE_ROM_DL_MODE is only supported on S2 and later chips, so that's why you are unable to enable it. Sorry for your confusion, the latest docs have a note mentioning that it is not su...
- Thu Sep 02, 2021 2:37 am
- Forum: ESP-IDF
- Topic: esp_aes_gcm_finish(): assert triggered (BUG?)
- Replies: 4
- Views: 3951
Re: esp_aes_gcm_finish(): assert triggered (BUG?)
Hi,
Yeah this looks like a bug. I think the length here should always be 16 bytes, and for smaller tags it should be clipped afterwards.
I'll look into and fix this. In the meanwhile you should be able to bypass this by disabling MBEDTLS_HARDWARE_GCM if this is issue is a blocker for you.
Yeah this looks like a bug. I think the length here should always be 16 bytes, and for smaller tags it should be clipped afterwards.
I'll look into and fix this. In the meanwhile you should be able to bypass this by disabling MBEDTLS_HARDWARE_GCM if this is issue is a blocker for you.
- Sat Jul 31, 2021 12:47 am
- Forum: ESP-IDF
- Topic: UART ROM download mode when using Flash Encryption
- Replies: 1
- Views: 3791
Re: UART ROM download mode when using Flash Encryption
Hi, With secure mode you would still be able to encrypt your binary on the host, flash it and boot successfully. This is of course only possible if you already know the key burned to the ESP32. If you don't have any specific reason to keep secure mode on we still recommend disabling the download mod...
- Wed Jul 21, 2021 1:51 am
- Forum: General Discussion
- Topic: Trouble understanding I2C examples
- Replies: 1
- Views: 2721
Re: Trouble understanding I2C examples
Hi, We know some of our examples can be a bit complex when you want to get started with just some basic functionality. To remedy this we actually recently added a "simple I2C" example just to show case basic functionality like this. Unfortunately it hasnt been synced to Github yet, but i'll attach t...
- Tue Jul 20, 2021 1:46 am
- Forum: ESP-IDF
- Topic: How to increase .bss size for ULP?
- Replies: 5
- Views: 5069
Re: How to increase .bss size for ULP?
CONFIG_ESP32_ULP_COPROC_RESERVE_MEM Should be the correct way of increasing it. Any chance CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM is defined in your sdkconfig as well? That could potentially overwrite the setting. Are you able to provide a simple example that reproduce this behaviour? If so I'd be h...
- Tue Jun 08, 2021 12:11 am
- Forum: General Discussion
- Topic: Documenting an esp32 project with Doxygen/Breathe/Sphinx
- Replies: 2
- Views: 3766
Re: Documenting an esp32 project with Doxygen/Breathe/Sphinx
We are actually working on decoupling the documentation build system we have from IDF in order to make it easier for other Espressif projects to use it. Seems like this something that could benefit you as well! For your use-case it seems like you might not need any of functionality we added on-top o...
- Sun Apr 25, 2021 1:45 am
- Forum: ESP-IDF
- Topic: Using SPI Master in ESP32-C3
- Replies: 18
- Views: 24815
Re: Using SPI Master in ESP32-C3
Great to hear that you got it working! You mean exclude the whole component from being built? Then the easiest way is probably to include something like this at the top of the component you dont wanna compile's CMakeLists.txt idf_build_get_property(target IDF_TARGET) if(${target} STREQUAL "esp32c3")...