Quote Originally Posted by languer View Post
The 18F452 should have plenty of memory; and all the banks can be accessed linearly.

For 1024 x 32-bit (long) words; a 32K serial EEPROM (e.g. 25AA320) would do. They can be clocked up to 10MHz (all in the HW SPI) which should be more than needed.

If you strictly need RAM (not long-term storage) then a serial RAM (e.g. 23A640) should do. Again SPI interface at speeds up to 20MHz.
Doh! I didn't read enough of the manual! I somehow thought the hardware SPI and the USART shared the same pins and I didn't want to give up the USART. Now I see that it's different pins for that. I think you've pointed me to the solution. Thanks! And I apologize for not RTFMing thoroughly enough...

Quote Originally Posted by languer View Post
I still think you should have more than enough storage on an 18F452.
Sadly, no. Try compiling just this line for an 18F452:

Code:
MyArray var WORD[1024]
You get the message "ERROR: Unable to fit variable MyArray". It'd be awesome if you could show me I'm wrong here as well.

Best,
Paul