Hi, guys!
Have you ever considered to forget the SMbus and just using the Pixhawk2 analog inputs for reading battery voltage and current? It's pin 47 and 49 on the 80pin connector. Mission Planner allows you to modify the battery data readout method from SMbus to analog... But I'm not sure if...