Does anyone know of a way to access RTC fast RAM from the ESP32-S3 RISC-V ULP? I understand that this isn't supported out of the box, where RTC slow RAM is the default storage for the program and data.
I've read that RTC FAST RAM is intended to be used by the MCU only (APP and PRO cores). But I wonder if this is due to a hardware limitation or just convention that this cannot be used by the ULP?
In my use case, the ULP would only access fast RTC RAM while the main MCU is in deep sleep, so there wouldn't be any contention between them.
Running code on the ULP, I have tried to directly access an address corresponding to the Fast RAM address in the MCU's memory map, like this:
Code: Select all
void increment_fast_counter() {
volatile uint32_t* counter = (volatile uint32_t*)(0x600fe068);
*counter = (*counter)+1;
}Is there some way to map RTC Fast RAM into the ULP's address space? If this isn't possible, I would be happy to know the limitations that prevent this.
Many thanks,
Mat.
