lpcXpresso55s16 adc support #58309
-
Hi Team, Please help me to provide the configuration steps and sample codes of adc read for lpcXpresso55s16. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Hi @ArjunDinesh007 , The ADC driver is not yet enabled on the LPCXpresso55s16 board yet. Each NXP board page documents the current supported features. This document also states:
The ADC is supported on the LPCXpresso55s69 board, and is the same ADC peripheral and driver on the LPC55S16. So if you want to add that feature, you can use the LPCXpresso55s69 as a reference. Best regards |
Beta Was this translation helpful? Give feedback.
-
Hi @ArjunDinesh007 ,
I am not a devicetree expert, and typically follow the samples to reference the devicetree nodes. One example you can reference is the ADC driver sample. Or if you prefer to use an alias like this, the blink and button samples use alias nodes. Best regards |
Beta Was this translation helpful? Give feedback.
-
Hi @ArjunDinesh007 , I am still waiting for you to confirm that you are testing this with an app that we know works. Please confirm: or Does this app you are testing work correctly on the lpcxpresso55s69 board? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @ArjunDinesh007 , To build for the
Also, your error log shows an issue in your devicetree:
The file zephyr.dts is generated during the build, and shows the final merged devicetree that is compiled with the application. You can review line 411 in this zephyr.dts file to find the node and property generating this warning. You can also build the same sample application for the I have not yet reviewed the files you shared. If I have some time, I will take a look at your port. In the meantime, let us know what you find after resolving these issues. Best regards |
Beta Was this translation helpful? Give feedback.
Hi @ArjunDinesh007 ,
First, the
-t run
argument in yourwest build
command does not work for these boards. And this is causing your build error "Emulation/Simulation not supported with this board." This argument is used for for emulation on host systems like QEMU. See Zephyr's Building doc page for more details.To build for the
lpcxpresso55s69
board, you can use this command below. I realize you do not have an LPCXpresso55S69 board available (BTW, I would recommend getting one. It will help confirm the working operation on that board, as you port new features to the board you are using), but since this ADC driver sample does work on thelpcxpresso55s69
board, you can build the sample for…