I have a problem with using the I2C memory. When the command for a write is given to the microcontroller, it hangs. What should i do ??
Even there's a problem with read command.
Please Reply.
MikeValencia
Joined: 04 Aug 2004 Posts: 238 Location: Chicago
Posted: Wed Oct 19, 2005 11:56 am
There's something wrong with the slave then. If you issue a 'write' to a device that physically isn't there, then it wont hang. instead you'll get 0xFF when you do a read. If you write to a device that is not working right, then your master PIC can hang.
The Code Examples forum has plenty of examples of both Master and Slave pics.
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