First, I'm mostly an analog engineer just now getting into microcontroller design. I'll be using the XC167 and am have trouble finding external memory. I have 12MB of external memory area and am therefore looking for 12MB of memory. Ive been looking for synchronous DRAM but can only find 64MB and greater. Does anybody have recommendations for external memory?
"Basically I'm not far enough along to know how fast you can actually access memory, i.e. how many instruction cycles? Is fast sram (10ns) much faster than standard sram with a 70ns response time? The XC167 is only 40Mhz. I know the memory itself is much faster, but is there really a big difference in this application?" This really depends on many things, but I would guess that 70ns is fast enough. The fastest loop to copy data from one place to another I can think of looks something like this:
; R1 = source address ; R2 = destination address ; R3 = address of R0 ; R4 = source data end address LOOP: MOV R0,[R1+] ;read source word MOV [R2+],[R3] ;write to destination CMP R1,R4 ;end of data? JMPR cc_ULT,LOOP ;jump if not