Hundred1906
Member
Trying to get my head around where best to locate IO storage buffers and tables for a 20x2 application. At present I am reading from one device (SERIN) into scratchpad, processing data and then placing it into RAM for output (SEROUT) to another device. I think that RAM and Flash are different terms for the same thing.
The application is going to get a lot more complicated and use of HSERIN on a third channel is becoming more likely. I want to more carefully map memory allocation and make best use of RAM and Scratchpad memory types. So the question is - what is the difference between these two (RAM and Scratchpad) if any: In speed terms are they the same?
My thanks.
PS. I do have the reference spec PIC18(L)F1XK22 in front of me but precision, rather than brevity, is it's strong point. Also there is the little matter of the Picaxe interpretation in the way.
The application is going to get a lot more complicated and use of HSERIN on a third channel is becoming more likely. I want to more carefully map memory allocation and make best use of RAM and Scratchpad memory types. So the question is - what is the difference between these two (RAM and Scratchpad) if any: In speed terms are they the same?
My thanks.
PS. I do have the reference spec PIC18(L)F1XK22 in front of me but precision, rather than brevity, is it's strong point. Also there is the little matter of the Picaxe interpretation in the way.