Hello,
I am working on a project and I saw that I can store my code in FLASH memory.
I am not that good with processor architecture and I need a few explanations about FLASH:
1.) If I store the code in FLASH memory, will my arrays and data still be saved in RAM memory, only code is stored in FLASH? (That way I get more space because my code itself will not use any RAM space?)
2.) Why is code running slower if i store it in FLASH?
3.) For my project I need to do ADC at about 850kHz (I am adding every 32 together for oversampling). Will running code from FLASH affect the processor so I might not be able to do ADC so fast?
Thank you very much for the answer, it will mean a lot to me.
Best regards,
Ivan.