Part Number: MSP432P401R
Hi!
I would like to store an array of 32000 cells of type uint_16. (ADC values). I saw that the max SRAM space is 64KB, so I'm aware that 2B*32000 exceed this memory space. However I saw that the MSP432P401R has 256KB of flash memory and I would like to put my array into this memory (I read that each block size is 4KB, then 4*8=32KB and it should fits for my array).
It's the right way to proceed? And int his case how could I do? Because I tried to declare my array
uint_fast16_t myArray[32000]
and after that call
MAP_FlashCtl_programMemory((void*)myArray,(void*) 0x...., 32000)
but at compile time the compiler prompted me: "program will not fit into available memory" (I also tried with smaller number of cells to fit into SRAM and the write into flash memory went well).
Thank you in advance,
Regards,
Mattia Ducci
