I want to measure battery voltage using OCV (open circuit method) method. I want to make a look-up table, so, I have come up with a block diagram for OCV measurement at battery relaxed state(you can see in attachment).
Will it possible with this block diagram?
I have a circuit to implement this (circuit attached below).
You can't use equality test, the battery voltage won't be exactly 3.2V unless there's a blue moon!
Your flowchart needs to catch undervoltage condition during the constant current discharge
phase, you haven't explicitly notated this.
Why do you use a voltage divider when the MCU is using 5V and the battery max is 4.2V?