This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ADC in 8051F060

Have anybody help me with the ADC interface code for C8051F060 ?. How to get the sign bit for the ADC output for the same.
Thank You.

Parents
  • Yes, true. The data is in 2's complement. But the datasheet says that the output data is in 15bits for a differential mode. So the 16th bit will give idea about the sign of the bit. 16th bit is 1 for negative voltage and will be 0 for a positive voltage. I think I am correct. Please give suggestion if I am wrong.

Reply
  • Yes, true. The data is in 2's complement. But the datasheet says that the output data is in 15bits for a differential mode. So the 16th bit will give idea about the sign of the bit. 16th bit is 1 for negative voltage and will be 0 for a positive voltage. I think I am correct. Please give suggestion if I am wrong.

Children