This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

64k External NVSRAM + External IO

Dear all,

Please anyone can help me?

Currenlty i have x2 32kB SRAM for data and code. I would like to add more External-IO port for my board. How can i connect the circuit? I have no problem for write data to External Output port but the External Input port have a problem.

I realize this Input connection will cause the SRAM read and Input data read will run it in synchronized. Because from the coding...

char Read_PORT( const int addr)
{ unsigned char da;

SRAM_ON = 0; // P3^4 Lo to read Input data only. da = XBYTE[addr]; // when read SRAM data = read Input data !! data run in synchronize. SRAM_ON = 1;

return da;
}

How to overcome this problem? Please suggestion..

Thank you.

0