Strain Gauge/Load Cell based Endstops

Hello garethky,
I follow your work here regarding load cell sensor. I own a Creality K1 Max and this year, I decided to fix it as in Dec 2025, Creality published the source code of prtouch_v2.py, prtouch_v2_wrapper.py in their official K1 Max repository.
I already work on this small project about 3 weeks, and it looks like I fixed everything what I can fix from python perspective.
This work is more about physical measurements and data processing rather than programming itself and this is my profession…
Many of my changes are directly linked with what you have discussed here and in your discussion from here: Load Cell Design - Developers - Klipper.
On my side, the system starts working, but the only thing I would like to patch further - the MCU timing as you mentioned in your post. Do you have any source code to reference to?
Thank yo in advance, Vlad.