Why not just buy a working chip for the price of a working chip, and save yourself the hassle and
disillusionment that comes with a part whose price is clearly too low to
be a working product?
The odds of the rest of the module working properly are not too high.
You might spend hours dealing with the fallout of saving ten dollars.
Lesson learned: You get what you pay for.
It comes up as 09/01/2017. I'll keep this RTC online for a few more weeks, as the system debug is almost done.There was another rollover a few months ago where the date was messed-up, but I traced that to a software bug that was my fault.
--
You received this message because you are subscribed to the Google Groups "neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neonixie-l+...@googlegroups.com.
To post to this group, send email to neoni...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/neonixie-l/84ed03ec-1fff-491e-ba9f-cead91660273%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
/Martin
When I looked at the raw data from the RTC, which is in packed BCD format, I could clearly see that my code was not properly parsing it. I believe it was Sep 30--> Oct 01 where I calculated the wrong month.The Jan 01 rollover bug has incorrect BCD data from the RTC itself.
--
You received this message because you are subscribed to the Google Groups "neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neonixie-l+...@googlegroups.com.
To post to this group, send email to neoni...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/neonixie-l/e92236f5-0fbe-46f3-ab1b-efbf339aa91e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There can be a few different reasons for the i2c buss to hang, and may not be the fault of the DS3231. For instance, if there is a software interrupt during an i2c read or write, that can do it. Are you using a mpu based hardware i2c engine, or do you bit-bang the buss?
If the DS3231 is battery backed up, than resetting the power will not reset the buss either. In cases where I use a battery backup, I use a small routine to test the buss at every startup, including brownout and watch dog events:
void I2C_Test() //test to see if I2C line is in a valid (stopped) state
{
if //test I2C line
(!input(i2c_SDA)) //if SDA stuck low - Fault Condition
{
I2CEN=0; //temporary disable I2C Hardware Module
output_drive(i2c_SCL); //set SCL as output
while
(!input(i2c_SDA)) //Continue loop until SDA is released (high)
{
output_toggle(i2c_SCL); //Toggle I2C clock line till fault clears
delay_us(10);
}
output_float(i2c_SCL); // set SCL back as input
I2CEN=1; // re-enable I2C Hardware Module
}
}
Bill
--
You received this message because you are subscribed to the Google Groups "neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neonixie-l+...@googlegroups.com.
To post to this group, send email to neoni...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/neonixie-l/9529a437-2084-41b9-af82-158aa95ff505%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/neonixie-l/003a01d4b4f0%24aaac8250%24000586f0%24%40gmail.com.
That is really weird. Please understand I am not questioning what you are saying, but perhaps there is another explanation. The 74LS596 (I have never seen an HC version) is indeed an open collector chip similar to the 74HC595, which is a tri-state device. On the 74HC595 the inv G (pin 13) should be held low for normal operation. If it goes high for any reason, the output will float in tri-state mode, similar to what an open collector would look like. As you say, I can’t for the life of me not figure why anyone would bother to rebadge those chips especially since there does not seem to be an economic one (which is usually the motivation).
Bill
From: neoni...@googlegroups.com [mailto:neoni...@googlegroups.com] On Behalf Of David Pye
Sent: Friday, January 25, 2019 4:12 PM
To: neoni...@googlegroups.com
Subject: Re: [neonixie-l] Re: Counterfeit RTC modules
It seems even things barely worth faking are being faked also.
--
You received this message because you are subscribed to the Google Groups "neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neonixie-l+...@googlegroups.com.
To post to this group, send email to neoni...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/neonixie-l/008501d4b4fc%24bb636a80%24322a3f80%24%40gmail.com.