switching core's and swap iram

User avatar
rudi ;-)
Posts: 1730
Joined: Fri Nov 13, 2015 3:25 pm

switching core's and swap iram

Postby rudi ;-) » Tue Jan 05, 2016 7:19 am

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;

..

-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

ESP_Sprite
Posts: 9833
Joined: Thu Nov 26, 2015 4:08 am

Re: switching core's and swap iram

Postby ESP_Sprite » Wed Jan 06, 2016 2:29 am

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.

Who is online

Users browsing this forum: No registered users and 110 guests