Northeastern-Electric-Racing / Shepherd-BMS

Our from-scratch Battery Management Application
3 stars 0 forks source link

Update to new Watchdog #49

Closed dyldonahue closed 8 months ago

dyldonahue commented 11 months ago

Our watchdog is setup to use one from the old NERduino library. There is a watchdog timer IC on shepherd, and we need to utilize this in our code. Normally, a driver will be built that our application would only utilize to talk to a chip. But, because this watchdog timer involves literally writing high/low to a single digital pin, we are handling this directly at the application level. Look into implementation in this datasheet: datasheet here, but again, this should be pretty mcuch creating a "watchdog_pet" function that toggles a pin from that chip high and low again or something.