LPC4350-db1-DAC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC4350-db1-DAC

767 次查看
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 
标签 (1)
0 项奖励
回复
1 回复

753 次查看
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 项奖励
回复