I am working in AD measurement which prints real value in Voltage. The basic theory is to calculate an LSB in IQ20 and in the measurement cycle only multiply with (integer subtracted with zero point integer). My problem is to calculate this LSB during calibration.
I have reference value in ascii format to convert it to IQ20 that works fine. I measure zero scale and full scale in integer format. From full scale value I subtract zero scale value in integer that is fine. To calculate LSB I need to divide the the IQ20 reference value with maximum 16384 value integer that will be later LSB. And that is the problem, I could not find divide with integer and I could not convert integer in IQ12 and divide IQ20 with IQ12.
Actually I am out of idea any help would be appreciated.