I am using a 12 bit ADC in my board. I need to convert this value to physical value (ie.. 0-10V) .
I tried multiplying ADC input with 10000. But I am not sure how many bits to shift. If I fix 14 bits (corresponding to 10000) Iam getting wrong answer
if you want to convert a digital value (12 bit) into a physical value(0..10V) then you need a DAC. (no ADC)
Maybe additionally an OPAMP to adjust output voltage range.
ADC input is analog. Did you use OPAMP with gain of 10000? But what´s the input of the OPAMP?
The ouput of an ADC is digital. If 12 bit then 0...4095.
Shift by 14 bits to left means multiplying by 16384, not 10000.
sorry, I did not spell out that scaling needs to be done within FPGA so that the equvalent physical value can be displayed in LED 7 segments. I was facing issue with Q format multiplication and now it is clear. Anyways thank you. It is resolved