This code is now working with the lt6802-1 device. Write and read configuration functions were tested. Read cells were not tested yet.