Battery OCV look-up table implementation

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).

Battery is 4.2v Li-ion,3200mah

circuit.png

Will it possible with this block diagram?

Sure.

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?

yeah i got it i can remove voltage divider.

yes,battery voltage is may not exact i will tweak accordingly.

so, over all it make sense rite and circuit also ?

thank you all answering.