Skip to content
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

Use FRAM to store time counters, eliminate RTC backup. #29

Closed
bigjosh opened this issue Dec 12, 2023 · 4 comments
Closed

Use FRAM to store time counters, eliminate RTC backup. #29

bigjosh opened this issue Dec 12, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@bigjosh
Copy link
Owner

bigjosh commented Dec 12, 2023

So much simpler code. Gets rid of those problematic and expensive backup caps.

Only user impact is that time pauses when there is no battery power, which seems correct.

@bigjosh bigjosh added the enhancement New feature or request label Dec 12, 2023
@bigjosh
Copy link
Owner Author

bigjosh commented Jul 8, 2024

Seems maybe we can not simply remove the backup CAP?...
image

Have a request into microcrystal now to see what that is about.

@bigjosh
Copy link
Owner Author

bigjosh commented Jul 8, 2024

We can always just sub this for the CAP at 1/2 a cent...
https://www.digikey.com/en/products/detail/stackpole-electronics-inc/RMCF0805JT10K0/1757762

@bigjosh
Copy link
Owner Author

bigjosh commented Jul 10, 2024

Ok, Microsemi says "You can not leave a CMOS input floating." But I am sceptical. According to the docs, while this is an input in the sense that a current is flowing into a transistor, this is not a gate input. But at least for now, we will put the resistor in since it is low risk. We can always omit it later.

bigjosh added a commit that referenced this issue Jul 10, 2024
Still need to update firmware to continuously track elapsed time as per #29.
bigjosh added a commit that referenced this issue Jul 20, 2024
… rather than RTC backup

Closes #29 , #30 , & #35.

Overall current draw is still less than 2uA.

Currently we unlock/lock the info FRAM where we keep the counters each time we update them, which is once per minute. This uses slightly more power than just leaving them unlocked, unknow if there is any safety benefit.

Lightly tested and seems to work, but big changes so needs way more testing.
@bigjosh
Copy link
Owner Author

bigjosh commented Jul 21, 2024

Closed with 0329562

@bigjosh bigjosh closed this as completed Jul 21, 2024
bigjosh referenced this issue Jul 27, 2024
New persistent storage of time since launch count pauses when batteries are out, then resumes when back in. Omits RTC backup capacitor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant