>Hello Piclisters. I have some specific question about PortE functioning. > >In PSPMODE PortE control the exchange. Initially RE0 and RE1 pins are >input. > >I put to PortD some byte and temporary set RE0 (/RD) as output and low. >Did this result to internal latched out_byte will appear on PortD pins ? > >In another words: Is there ability to simulate from PIC itself the >external Read_from_PIC situation ? Minial additional hardware required. >(I mean also no additional PIC pins) > >WBR Dmitry. Hi Dmitry. If it did work that way, then strobing the /WR and /CS should generate an MPIF interrupt. Should be easy to trap the interrupt. However, the block diagrams in the data sheets for PortE don't specifically show this. Of course you could always make a hardwired connection from another I/O pin. Ray Gardiner Technical Director DSP Systems ray@dsp-systems.com private email to:- ray@netspace.net.au http://www.dsp-systems.com