I have a problem on using the 93LC56A eeprom with my 16f877A. I have used it with software and it works fine. Now that I need to use it with hardware, it doesn't work.
At first, why is the READ command 0xc on software include file and 0x18 on SPI-hardware include file?
I changed it to 0xc!!! ( it didn't work then, i doesn't work now )
As I have seen the problem might be this
The value stored on address 0 is 92 but i get value 46. It seems that there is a 1bit shift to right (div by 2). I just don't know why this happens.
Please help! pleasepleaseplease
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Mon Oct 16, 2006 12:20 pm
Quote:
I have used it with software and it works fine.
Does this mean Proteus ? That's a simulator.
Quote:
Why is the READ command 0xc on software include file and 0x18 on
SPI-hardware include file?
What are these two files ? I assume one of them is the 9356.c driver
file. What is the filename of the other file ? Is it a CCS file, or a
Proteus file ? I can't give you any help on Proteus.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum