??? 06/12/05 10:34 Read: times |
#94714 - external memory access problem |
I am using EEPROM as external memory to the microcontroller(89S8252) and also I need to 8255 PPI for sending my data simultaneously.
In my software routine, Whenever I am accessing EEPROM i disabled thE 8255 through P1.5 pin(Port 1) which is connected to the CS (chip select) pin of 8255. Similarly when accessing 8255 registers i disabled EEPROM through P1.4 pin which is connected to the CS pin of EEPROM. the address for 8255 port selection: I used CLR P1.5 ;ENABLES 8255 SET P1.4 ;DISABLES EEPROM MOVX @R0,A instruction for accessing 8255 ports control reg: 03 port A : 00 port B : 01 port C : 02 i used CLR P1.4 ;ENABLES EEPROM SET P1.5 ;DISABLES 8255 MOVX A,@DPTR When accessing the data from EEPROM I know 8255 is having the output latched feature, so it should retain the present output when it is disabled. But my problem is at some instant it retains the output when it is disabled and at some instant its not doing so. can anybody tell me what is the mistake i did here |
Topic | Author | Date |
external memory access problem | 01/01/70 00:00 | |
my first suggestion.... | 01/01/70 00:00 | |
actually i tried in single instruction | 01/01/70 00:00 | |
more | 01/01/70 00:00 | |
Relic Chips Are Slow | 01/01/70 00:00 | |
Memory Map IT !! | 01/01/70 00:00 | |
and then you may get others | 01/01/70 00:00 | |
Such AS ?? | 01/01/70 00:00 | |
with the '51 | 01/01/70 00:00 | |
8085/805x <=>8255 | 01/01/70 00:00 | |
to slow, too low | 01/01/70 00:00 | |
really need more info to be helpful![]() | 01/01/70 00:00 | |
Query | 01/01/70 00:00 | |
re query | 01/01/70 00:00 |