LPC4350-db1-DAC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC4350-db1-DAC

765 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by asbjorn on Fri Mar 16 11:18:46 MST 2012
Hi,

I hope some of you can help me initialize the DAC on the LPC4350, or guide me to some example code. I'm using the LPC-link as debugger connected to the LPC4350-db1 through JTAG. I have previously used the DAC on the LPC1769, initializing by setting the PINSEL1 to p0.26, but is it the same pin register on the LPC4350?

Best Regards
Asbjørn Klausen 
Labels (1)
0 Kudos
Reply
1 Reply

751 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by maxkombarov on Tue Mar 20 01:26:16 MST 2012
Hi Asbjørn,

Currently Diolan do not have DAC examples, but the NXP library contains DAC driver (lpc4350_dac.c). It is simple and, I think, DAC can be set operational with DAC_Init(), DAC_UpdateValue() and DAC_SetBias() functions. For pin configuration, look at chapters 15.4.6 - 15.4.8 of the LPC4350 user manual.

Best Regards,
Maxim Kombarov
0 Kudos
Reply