LPC4350-db1-DAC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC4350-db1-DAC

770件の閲覧回数
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 返信

756件の閲覧回数
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 件の賞賛
返信