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

problem with aduc812 a/d convertor

Hi i am using anolog device aduc812 microcontroller i tryed to accesses buit in adc with out giving input i am getting output 0xFFF i.e maximum value in all channel except channel 8 ie temp sensor.taht gives some
value ie 423 what is the problem please help me

Parents
  • it is part of program

    No, it's not. There's no program this could be "part" of. It might be referred to as "clippings", at best.

    And there are lots of things wrong even with these small clippings. You totally confuse C and assembler language, and to add insult to injury, neither the C nor the asm is written particularly well. For example you should not call asm functions from the middle of C code without a much better reason than is apparent in those clippings --- and even if you do, you don't do it by issuing a verbatim asm CALL instruction.

Reply
  • it is part of program

    No, it's not. There's no program this could be "part" of. It might be referred to as "clippings", at best.

    And there are lots of things wrong even with these small clippings. You totally confuse C and assembler language, and to add insult to injury, neither the C nor the asm is written particularly well. For example you should not call asm functions from the middle of C code without a much better reason than is apparent in those clippings --- and even if you do, you don't do it by issuing a verbatim asm CALL instruction.

Children