Bus Controller: can I use EMIF / DMA? | Cypress Semiconductor
Bus Controller: can I use EMIF / DMA?
Hi (new guy here),
I am trying to figure out how I can let my PSoC-5LP be a System Controller for a Z80 computer project I am doing. Functionality I have in mind is loading programs directly into Z80 memory, debug support, extended (above 64k) memory management etc. I started with a UART implementation to hook up to a terminal on the PC (just to get a feel for it) and now I have that working, I was looking into how to transfer a (Z80) program from the PC, over UART link, directly into the memory of the Z80 computer.
I looked at the EMIF and DMA sample which looked relatively simple. However the designer does not allow me to re-assign the ports in use by the EMIF for other purposes. The problem is that the EMIF only need to be active when I am doing a DMA into external Z80 memory. At any other moment the EMIF needs to be disconnected and the Address and Data bus are used for monitoring purposes (inputs) - and perhaps some external memory decoding (also inputs).
I am starting to think that the EMIF is not the correct tool for the job, but I would like some confirmation from people that have a little more experience on the PSoC than I have (like I said, new guy). Also if you have any suggestions for alternative solutions...