Hi,
I'm using the LPCXpresso845-MAX board. I want to use the DAC1 mode via pin PIO0_29. With reference to the LPC845 user manual UM11029, I can observe that there is a DAC MODE bit (number 16) in the IOCON register for DAC0, PIO0_17, which needs to be set to utilize DAC0, but there is no matching bit for DAC1 in the IOCON register for PIO0_29.
In PIO0_29, how do I adjust the DAC MODE for DAC1?
I saw your reply, (There isn't this bit, no need config DAC MODE bit.) but still this problem is not solved. Here I attached the configuration of DAC and SWM and IOCON register. So kindly update the solution for that problem.
Hi,
I have run your application code, it appears the DAC0 works fine, the PIO0_17 can output voltage of DAC0. But It appears that the DAC1 does not work, in detail, PIO0_29 can not output voltage of DAC1.
I will report the issue to AE team and check something is missed in RM.
BR
XiangJun Rong
Hello Vignesh,
You mention a reply, is this thread a continuation of a previous one? If so, would you please this thread as to allow better tracking of this issue?
Regards,
Gustavo
Hi gusarambula,
I have a work on the required DAC concept.Please Update ASAP.Thank you.
Please convey the reply ASAP .
Hi,
I suppose that you use LPCXPresso845MAX board, this is the PIO0_29 pin connection. If you want to test the PIO0_29 pin voltage, you have to test the pin 2 of SJ15.
I have tested your code, it is correct. when I output DAC 1023, the P0_29 pin voltage is 3.3V.
Hope it can help you
BR
XiangJun Rong