Skip to main content
18 events
when toggle format what by license comment
Dec 15, 2022 at 16:05 answer added user1850479 timeline score: 1
Dec 15, 2022 at 10:20 history edited Carmine Zagaria CC BY-SA 4.0
added 560 characters in body
Dec 14, 2022 at 16:50 history edited Carmine Zagaria CC BY-SA 4.0
added 25 characters in body
Dec 14, 2022 at 16:48 comment added Carmine Zagaria To calibrate the adc cs5532, I must supply the converter’s calibration signals which represent ground and full scale, and in this case, i could use the system calibration (cs5532 native function) that compute gain and offset register automatically. I have a sample weight and i dont have the full scale signal. So I have to manually write the gain register and i dont understand the relationship between input signal and the gain register value. So, how can i compute the gain register value given input adc value computed by sample weight in percentage?
Dec 14, 2022 at 16:31 comment added user1850479 It is not clear what you are asking. Could you edit your question to explain what you know and what you are trying to calculate?
Dec 14, 2022 at 16:12 comment added Carmine Zagaria I dont know the digital value beign input to the gain register, this is my goal. I have to calculate the gain register value given ADC binary value (maximum capacity) without full scale signal is applied.
Dec 14, 2022 at 15:42 comment added user1850479 Use the digital value being input to the gain register in your calculation, not the analog voltage. For example, if the digital value is 1, and the output you want is 8, set the gain to 8 using the formula you posted.
Dec 14, 2022 at 14:38 comment added Carmine Zagaria The input value in the ADC is the voltage in mV and my output is a 24 bit data in two's complement format. When i go to divide (adc value) / (input-mV), this is not correspond to the gain register value format that is a number spans from 0 to (64 - 2^-24)
Dec 14, 2022 at 14:07 comment added user1850479 The gain register is multiplied times the input to get the output, correct? If you know the maximum input and you have the maximum output value you want, then you would divide one by the other to get the gain value.
Dec 14, 2022 at 11:15 history edited Carmine Zagaria CC BY-SA 4.0
added 60 characters in body
Dec 14, 2022 at 11:11 history edited toolic CC BY-SA 4.0
deleted 8 characters in body
Dec 14, 2022 at 11:03 comment added Carmine Zagaria I don't understand the relationship between the gain register value and scale maximum capacity. how do i have to valorize the gain register value relative maximum capacity? the gain register value spans from 0 to (64 - 2^-24)
Dec 14, 2022 at 10:34 comment added Kartman What’s stopping you from applying your own scaling?
Dec 14, 2022 at 9:28 history edited Carmine Zagaria CC BY-SA 4.0
added 198 characters in body
Dec 14, 2022 at 8:35 history edited Carmine Zagaria CC BY-SA 4.0
added 6 characters in body
Dec 14, 2022 at 8:34 history edited Carmine Zagaria CC BY-SA 4.0
added 2 characters in body
S Dec 14, 2022 at 8:34 review First questions
Dec 14, 2022 at 11:11
S Dec 14, 2022 at 8:34 history asked Carmine Zagaria CC BY-SA 4.0