Hi everyone,
I'm trying to put the peripheral ADC0 of the LPC802 to work, however setting the reference manual seems to be wrong. The table does not follow the sequence of the registers, as shown in the figure below.
Hello Leonardo,
I highly recommend you to download the examples of the code bundle. There you will find a example of the ADC which you can use as a guide to see how the configurations are made.
If you are using MCUXpresso you can download the code bundle from the next link:
https://www.nxp.com/downloads/en/software/LPC802-EX-CODE-MCUXPRESSO.zip
If you are using another IDE please go to the next link and in the section Lab and Test Software you can download the correct code bundle for your IDE.
LPC80x 15 MHz|Arm Cortex-M0+|32-bit MCUs|NXP|NXP
Hope it helps!
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------