Hello,
I was trying to read the A/D channels and got bad results. The problem was that the user manual UM10732 reported that the data results should be in data register bits [0:11]. Actually the results are in [4:15] !
Is there a newer date for the user manual? The one I down loaded was from Dec 2016.
The wrong register bits were located in chapter 16 table 256. Other sections of the UM possibly could list the assignment correctly but I have not found them.
Thank you in advance, jDrum
Solved! Go to Solution.
Hello jDrum,
Actually the results are in [4:15], you can find in UM:
Also there is ADC demo under lpcopen, you can refer to it.
Download lpcopen from:
BR
Alice
Hello jDrum,
Actually the results are in [4:15], you can find in UM:
Also there is ADC demo under lpcopen, you can refer to it.
Download lpcopen from:
BR
Alice
Hello Alice,
Thank you for the reply. That resolves the issue.
I still rely on the data sheets and user manuals to resolve problems. For example, I am trying to use the example LPC code for the interrupt driven I2C communication for the LPC11U68 chip on our own PCB. In this case the program runs but the call back does not invoke. The I2C drivers are in ROM, which makes it difficult to debug. We are now trying to single step through the assembler code.
Is there a more detailed description of the I2C engine embedded in the ROM?
John