Anthony_
Junior Member level 2
- Joined
- Jul 29, 2013
- Messages
- 23
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Location
- Zulia-Venezuela
- Activity points
- 175
hi guys! im a newbie in the uC world, lately i've been trying to interface a 16f877a with the DS1307 clock with no result! i've been using the master I2C module of this pic, everything in the real circuit is connected correctly, with pull-ups resistor in the bus lines and SQW pin, cristals of 32khz in the DS1307 and 4 mhz in the pic side, everything according to datasheet specs, i think im doing something wrong in the code, i've been trying to turn the Ds1307 oscillator ON with 1HZ output in SQW pin but with no sucess (the uC has never received an acknowledge from DS1307), here's the code i hope you guys can help me! im a lil bit frustrated with this