Page 1 of 1

switching core's and swap iram

Posted: Tue Jan 05, 2016 7:19 am
by rudi ;-)
hi

how can we swap iram from core 1 and iram from core 1?
can we switch just in time in esp31B cores on / off ?
can we set CPU each core's , each different or the core's are Twins clocked 160MHz and the share to each 80 MHz?
can we set overclocking to 200 MHz by code itself or is this fixed?

( no hurry )

best wishes
rudi ;-)

btw - verry stable the esp31B
and fast. but need watchdog function now.
http://esp32.com/viewtopic.php?f=13&p=383#p383[/quote]



@Jeroen
nice!...
have you little info about the processing in this ?

Code: Select all


..

//These are the arrays we store in the app cpu IRAM. We don't use the app
//processor, so we can freely use its IRAM for other purposes.
typedef struct {
	unsigned char videodata[256*192];
	unsigned char sram[0x8000];
} AppIramData;

AppIramData *appIramData=(AppIramData*)0x3ffa8000;

..


Re: switching core's and swap iram

Posted: Wed Jan 06, 2016 2:29 am
by ESP_Sprite
No, you can't swap the IRAMs. It's just that the IRAM for one CPU shows up in the address space (at a different address) of the other CPU; if you don't use the 2nd CPU this means you can use it's IRAM as data space for the 1st, which I do in the sms emulator. The cores have clock gating, so you can switch one off from code running on the other one. Overclocking to 200MHz isn't possible on the ESP31B, as far as I am aware.