Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
If you are trying to program P89V51RD2 by ISP method using RS232,
then do not select the box naming USE DTR FOR RESET in Flash magic ->options ->Advance options -> H/w Config
I guess using different slave addresses is more right way to do so. It can be done easily with hard-wired input pins.
Many EEPROM chips have this provision e.g. AT24C01A The device address word consists of a mandatory one, zero sequence for the first four
most significant bits. This is common to...
First you have to write I2C routines like I2c start, I2c Stop, I2C_Acknowledge_wait, I2C_Byte_Read, I2C_Byte_Write,
these are sub functions of I2C and deals with your SDA and SCL line.
Then try to write the Peripheral IC sub routine function using the I2C sub functions. e.g. Read_DS1307...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.