Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/19/03 06:46
Read: times


 
#61017 - RE: Problems with XRAM access in ATMEL chip
Responding to: ???'s previous message
Some more info...

We removed the Philips MF RC531 chip and started checking the signals of the ATMEL chip (during external access) at Oscilloscope level. Then we found something different.

The code for writeregister is
P4 &= ~(0x10); //Chip Select enable
AUXR |= 0x02; // Select external data
XBYTE [byAddress] = byValue;
AUXR &= ~(0x02);
P4 |= 0x10; //Chip Select disable

Code for readregister is
BYTE byRetVal = 0;
P4 &= ~(0x10); //Chip Select enable
AUXR |= 0x02; // Select external data
byRetVal = XBYTE [byAddress];
AUXR &= ~(0x02);
P4 |= 0x10; //Chip Select disable
return (byRetVal);

And what we found in the scope was
1) During a writeregister the chip select is proper and there is a WR pulse within the chip select which means a proper write pulse out from the ATMEL chip

2) During the readregister, however the chip select is proper, but there is no RD pulse within the chip select. A very meagre spike alone is seen. Why is the chip behaving differently. Is there anything special to be done for reading alone (Any config registers or anything)

Thanks for the support, looking forward for more..

List of 21 messages in thread
TopicAuthorDate
Problems with XRAM access in ATMEL chip            01/01/70 00:00      
   RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
      RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
         RE: Problems with XRAM access in ATMEL c            01/01/70 00:00      
            RE: Problems with XRAM access in ATMEL c            01/01/70 00:00      
   RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
      RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
         RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
         RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
            RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
               RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
                  RE: Problems with sites            01/01/70 00:00      
                  RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
   RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
      RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
         RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
            RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
            RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
               RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
         RE: Problems with XRAM access in ATMEL chip            01/01/70 00:00      
            RE: more            01/01/70 00:00      

Back to Subject List