This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Question on offset calculation in HV_Solar_DC_DC Kit DPL-ISR.asm

I'm using the  HV_Solar_DC_DC Kit which based on the Piccolo F28035 card.

I have a question about the DPL-ISR assembly file. 

Does anyone know how the 85.8mV offset is calculated in the following line of code?


SUB   ACC, #82<<12       ; ACC = IL_raw - offset, IL CS OPAMP offset = 0.026*3.3V = 85.8mV

                         ; Therefore, 12bit offset value = 0.02*4095 = 82

In other words, how is calculated the 0.026 coefficient?