Forum Discussion
Altera_Forum
Honored Contributor
15 years agoOften an ADC uses offset binary number representation, e.g. an input range of -1.. +1 V is represented by 0x0000 to 0xffff, with 0x8000 for zero input. You can convert offset binary to two's complement and vis versa by simply inverting the MSB, respectively XORing with 0x8000.