Other Parts Discussed in Thread: C2000WARE
Hi,
Is it possible to access the FLASH memory and combine them with RAMGS to form one memory block so as i can write an array of 26 Variables (idealy) as shown below? Each Variable contains 2000 data points. I've combined all RAMGS and still require more space.
I have attached the screenshot to my memory allocation.
// Define the structure
struct Data_struct {
float arrayVa[2000]; // Array to hold Va readings
float arrayVb[2000]; // Array to hold Vb readings
float arrayVc[2000]; // Array to hold Vc readings
float arrayVn[2000];
float arrayDCYa[2000];
float arrayDCYb[2000];
float arrayDCYc[2000];
float arrayVaLP[2000]; // Array to hold VaLP readings
float arrayVbLP[2000]; // Array to hold VbLP readings
float arrayVcLP[2000]; // Array to hold VcLP readings
float arrayVnLP[2000];
float arrayIa[2000];
float arrayIb[2000];
float arrayIc[2000];
float arrayVdc[2000];
float arrayVnx[2000];
// float arrayId[2000];
//float arrayIq[2000];
//float arrayId_REF[2000];
//float arrayIq_REF[2000];
//float arrayVdSS[2000];
//float arrayVqSS[2000];
//float arrayV0SS[2000];
float arrayPLL[2000];
//float arrayVd[2000];
//float arrayVq[2000];
//float arrayMPC_PLL[500];
}data;
Kind regards
Edwin