-
Notifications
You must be signed in to change notification settings - Fork 90
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
SAFETY Signal on LTC6803 GPIO2 #16
Comments
This is a system to disable the out and input when the watchdog triggers of the LTC (the LTC resets also its GPIO on WDT overflow). I use an GPIO on the LTC because over SPI I tell the LTC to pull the wire low (low being the charge / discharge are allowed to become high). So this is exactly as you have understood it operates. The drawback of using the WDT is that it works the other way around, and you dont have a clear understanding of why the pin is asserted (any communication that is valid will reset the WDT if I recall correctly), where in the GPIO approach you have the uC deliberately ask the pin to go low. ( I actually first build it with the use of the WDT pin, but then moved to using the GPIO because of the added features described ) |
That clearly makes sense to me! You are right - any valid communication will reset the WDT! Another short question: |
Hello,
first of all really nice project! I am currently making a special Version for a custom battery pack.
So thank you very much for sharing!
I have a question:
What is the purpose for connecting the SAFETY signal to GPIO2 of the LTC6803?
I guess its for the reason when something went wrong with communication due to a uC brownout for example?
But why did you use GPIO2 for that? I think the WDTB pin is a better choice for that?
Like the datasheet suggests on page 15:
If using GPIO2 and the uC sets this pin to zero, the power stage can be switched on. When the uC gets stucked or something went wrong the pin of the LTC6803 stays at low level, so the power stage will remain enabled!?
This would not happen if SAFETY is connected to the WDTB pin, which uses the LTC6803 internal watchdog?
Or is there any special purposes why you used GPIO2?
Here is my current implementation of the WDTB watchdog feature:
This also has the additional advance that the ISL28022 can also interrupts discharge/charge if an error occurs. (Overcurrent for example).
I think this should be much faster than doing this with the uC.
And once the ISL28022 is successfully configured and the software later stucks the overcurrent protection is still available.
Kind Regards
Danie
The text was updated successfully, but these errors were encountered: