Apr 10, 2017 #21 D djeceymca Junior Member level 2 Joined Mar 17, 2017 Messages 22 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 196 In proteus, I could not find DS3231 so i used DS1307 and surprisingly it works in proteus. In real hardware i am using DS3231 and that where my code get stuck.
In proteus, I could not find DS3231 so i used DS1307 and surprisingly it works in proteus. In real hardware i am using DS3231 and that where my code get stuck.
Apr 10, 2017 #22 O Okada Banned Joined Jun 16, 2016 Messages 1,159 Helped 129 Reputation 252 Reaction score 129 Trophy points 63 Activity points 0 Use logic analyzer in hardware and check what is happining. Post images showing SCL and SDA signals.
Apr 10, 2017 #23 D djeceymca Junior Member level 2 Joined Mar 17, 2017 Messages 22 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 196 Thanks Okada for the help so far, but I cannot afford to buy logic analyzer. Thanks a lot for your help. Cheers!!! Okada said: Use logic analyzer in hardware and check what is happining. Post images showing SCL and SDA signals. Click to expand...
Thanks Okada for the help so far, but I cannot afford to buy logic analyzer. Thanks a lot for your help. Cheers!!! Okada said: Use logic analyzer in hardware and check what is happining. Post images showing SCL and SDA signals. Click to expand...
Apr 10, 2017 #24 O Okada Banned Joined Jun 16, 2016 Messages 1,159 Helped 129 Reputation 252 Reaction score 129 Trophy points 63 Activity points 0 but I cannot afford to buy logic analyzer. Click to expand... Then change the DS3231 module and try.
Apr 13, 2017 #25 D djeceymca Junior Member level 2 Joined Mar 17, 2017 Messages 22 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 196 Hello Okada, Issue is solved now. I just needed to set port as Digital by setting ANSELX bits. Thanks a lot again for your help. Regards, Dev
Hello Okada, Issue is solved now. I just needed to set port as Digital by setting ANSELX bits. Thanks a lot again for your help. Regards, Dev