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

EPM900

I am using an EPM900 to emulate the P89LPC933 from philips.
I do not manage to configure the A/D converter available in the micro and get it to work. Need to perform a single conversion on the AD10 pin (P0.1).
Do you have any sample code in assembler

Parents Reply Children
  • Hi Erik,

    Apologise for any misunderstandings.

    I have managed to get the A/D to work. My problem now resides with the following:

    I do not manage to set PT0AD after i perform the following instruction

    MOV PCONA,#11101111B

    MOV PT0AD,#00000010B

    PT0AD does not assume the new value