-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not set / display time with HW_MODEL_D #1
Comments
Is it working with the changes you made? |
Everything is fine, except the clock. |
I’m wondering if the data and clock lines of ds1302 have external pull-up resistors on them? I recall some issue where we had to play with the pin mode registers to get pull-up (if so might check data sheet on this. ) |
RTC data IO has 7k6 pull-up. |
Changed DS1302's CE to open-drain output
Constant 1F 7F has been changed to constant 00 00, but still could not set time. |
|
|
I checked. CE and CLK is always low. Only IO is changing. |
OK, I fixed.
|
Curious if you had to explicitly set P1M0 and P1M1 registers to 0. I understand from datasheet that this should be the default, and I don't recall where we were setting these otherwise. |
Here is a link to the STC15F204EA new firmware for Madhava-04 to try on your new model. the only difference is your light sensor is on P1.3 but my ZM-907AA is on P1.5. If your test is ok, I can recompiled the firmware for P1.3 |
Temperature and ligth measurement are working. Display is OK. Button 1 and 2 are working.
Time setting and display is not working. There is a 1F 7F constant display instead of time.
The text was updated successfully, but these errors were encountered: