<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How Select DAC Pin...? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549280#M13798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nerd herd on Fri Dec 12 16:59:08 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi h.lotfi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is configuration needed in order to use the DAC on the LPC4357. Have you read the user's maunal or looked at our LPCOpen software platform for a DAC software example?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Link to user's manual:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fdocuments%2Fuser_manual%2FUM10503.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/documents/user_manual/UM10503.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCOpen software platform:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Flpcopen-software-development-platform-lpc43xx-packages" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc43xx-packages&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:33:46 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:33:46Z</dc:date>
    <item>
      <title>How Select DAC Pin...?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549279#M13797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by h.lotfi on Sat Dec 06 04:29:47 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have problem with LPC4357 DAC!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i don't know how can i select DAC mode of Analog pins!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i want use pin number 8 (in LQFP208 Package), this pin share with ADC0_0 ,ADC1_0, DAC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i selec ADC1_0 or DAC Mode in this pin?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and when i want use DAC in P4_4 pin ,i just add this line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_SCU-&amp;gt;ENAIO2 |=(1&amp;lt;&amp;lt;0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but this pin also doesn't work...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;anye body can help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i see 3.3V on those pins, and i connect LC filter on VDDA.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549279#M13797</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: How Select DAC Pin...?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549280#M13798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nerd herd on Fri Dec 12 16:59:08 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi h.lotfi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is configuration needed in order to use the DAC on the LPC4357. Have you read the user's maunal or looked at our LPCOpen software platform for a DAC software example?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Link to user's manual:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fdocuments%2Fuser_manual%2FUM10503.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/documents/user_manual/UM10503.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCOpen software platform:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Flpcopen-software-development-platform-lpc43xx-packages" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc43xx-packages&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549280#M13798</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: How Select DAC Pin...?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549281#M13799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by h.lotfi on Sun Dec 14 04:18:50 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: nerd herd&lt;/STRONG&gt;&lt;BR /&gt;Hi h.lotfi,&lt;BR /&gt;&lt;BR /&gt;There is configuration needed in order to use the DAC on the LPC4357. Have you read the user's maunal or looked at our LPCOpen software platform for a DAC software example?&lt;BR /&gt;&lt;BR /&gt;Link to user's manual:&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fdocuments%2Fuser_manual%2FUM10503.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/documents/user_manual/UM10503.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;LPCOpen software platform:&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Flpcopen-software-development-platform-lpc43xx-packages" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc43xx-packages&lt;/A&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi nerd herd,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i read user manual, but i can't find configuration in user manual!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which page is your mean?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and so i look LPCOpen Software... but it doesn't help me...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i work with DAC in LPC1788, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in LPC4357 i don't know how select pin for DAC, can you tell me how select pins for DAC?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: h.lotfi&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;i want use pin number 8 (in LQFP208 Package), this pin share with ADC0_0 ,ADC1_0, DAC&lt;BR /&gt;How can i selec ADC1_0 or DAC Mode in this pin?&lt;BR /&gt;&lt;BR /&gt;and when i want use DAC in P4_4 pin ,i just add this line:&lt;BR /&gt;LPC_SCU-&amp;gt;ENAIO2 |=(1&amp;lt;&amp;lt;0);&lt;BR /&gt;&lt;BR /&gt;but this pin also doesn't work...&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549281#M13799</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: How Select DAC Pin...?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549282#M13800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Mon Dec 15 00:00:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: h.lotfi&lt;/STRONG&gt;&lt;BR /&gt;i want use pin number 8 (in LQFP208 Package), this pin share with ADC0_0 ,ADC1_0, DAC&lt;BR /&gt;How can i selec ADC1_0 or DAC Mode in this pin?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UM10503 chapter 16 section 16.4.6 ADC0 function select register&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: h.lotfi&lt;/STRONG&gt;&lt;BR /&gt;and when i want use DAC in P4_4 pin ,i just add this line:&lt;BR /&gt;LPC_SCU-&amp;gt;ENAIO2 |=(1&amp;lt;&amp;lt;0);&lt;BR /&gt;&lt;BR /&gt;but this pin also doesn't work...&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UM10503 chapter 16 section 16.4.8 Analog function select register&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549282#M13800</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: How Select DAC Pin...?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549283#M13801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by h.lotfi on Mon Dec 15 01:07:18 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: larryvc&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: h.lotfi&lt;/STRONG&gt;&lt;BR /&gt;i want use pin number 8 (in LQFP208 Package), this pin share with ADC0_0 ,ADC1_0, DAC&lt;BR /&gt;How can i selec ADC1_0 or DAC Mode in this pin?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;UM10503 chapter 16 section 16.4.6 ADC0 function select register&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: h.lotfi&lt;/STRONG&gt;&lt;BR /&gt;and when i want use DAC in P4_4 pin ,i just add this line:&lt;BR /&gt;LPC_SCU-&amp;gt;ENAIO2 |=(1&amp;lt;&amp;lt;0);&lt;BR /&gt;&lt;BR /&gt;but this pin also doesn't work...&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;UM10503 chapter 16 section 16.4.8 Analog function select register&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for answer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i Read this chapter!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;these sections are for pins that share between analog and digital!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i want use pins are just Analog (pin number 8 in LQFP208 or Pin Number E3 in LBGA256)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and i told i write this line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_SCU-&amp;gt;ENAIO2 |=(1&amp;lt;&amp;lt;0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for P4_4 as DAC but it doesn't work...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;do i write wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549283#M13801</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: How Select DAC Pin...?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549284#M13802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Mon Dec 15 02:44:34 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: h.lotfi&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;thank you for answer,&lt;BR /&gt;i Read this chapter!&lt;BR /&gt;these sections are for pins that share between analog and digital!&lt;BR /&gt;i want use pins are just Analog (pin number 8 in LQFP208 or Pin Number E3 in LBGA256)&lt;BR /&gt;&lt;BR /&gt;and i told i write this line:&lt;BR /&gt;LPC_SCU-&amp;gt;ENAIO2 |=(1&amp;lt;&amp;lt;0);&lt;BR /&gt;for P4_4 as DAC but it doesn't work...&lt;BR /&gt;do i write wrong?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You cannot just write what you wrote.&amp;nbsp; Like nerd herd said, there are other things that need to be set up first.&amp;nbsp; Did you even look at the links that he gave you?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to read both of these sections very carefully:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UM10503 chapter 16 section 16.4.6 ADC0 function select register&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;UM10503 chapter 16 section 16.4.8 Analog function select register&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;They tell you all the steps that need to be taken in setting up exactly what you want.&amp;nbsp; Follow all the steps and it will work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549284#M13802</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: How Select DAC Pin...?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549285#M13803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Mon Dec 15 18:52:36 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: h.lotfi&lt;/STRONG&gt;&lt;BR /&gt; but it doesn't work...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Explain what doesn't work means.&amp;nbsp; Do you get an error message?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;LPC_SCU-&amp;gt;ENAIO[2] |= (1&amp;lt;&amp;lt;0);&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or just &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;LPC_SCU-&amp;gt;ENAIO[2] |= 1;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; ^-- This was in the LPCOpen example software that nerd herd pointed you to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
/**
 * @briefDAC Pin Configuration
 * @returnNothing
 */
STATIC INLINE void Chip_SCU_DAC_Analog_Config(void)
{
/*Enable analog function DAC on pin P4_4*/
LPC_SCU-&amp;gt;ENAIO[2] |= 1;
}&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549285#M13803</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: How Select DAC Pin...?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549286#M13804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by h.lotfi on Mon Dec 22 10:05:19 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;today again i work with my sample and finally my problem solved&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my problem was third bit of CTRL register... i wasn't set it!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but i have just a question,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when i use DAC i can see result on pin number 8 in LQFP208 package or Pin Number E3 in LBGA256 package without set any register for this pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and when i add this line to my program "LPC_SCU-&amp;gt;ENAIO2 |=1;" i can see result on P4.4 and on Pin number 8 in LQFP208 package in same time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pin number 8 in package LQFP208 is share between ADC0_0, ADC1_0 and DAC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when i write a sample code for ADC0_0 i use this pin as ADC0_0 without set any register for this pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my question is if i want write a sample code with ADC0_0 and DAC, What's happen for pin number 8?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can i select the function for this pin?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for example can i use P4_4 as DAC and Pin number 8 as ADC0_0?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549286#M13804</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: How Select DAC Pin...?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549287#M13805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Mon Dec 22 14:24:23 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't answer your second question, but I will give you some advice.&amp;nbsp; If you had posted the code you were using to set up the DAC we would have been able to answer your first problem much sooner.&amp;nbsp; When you only post a snippet of code, we can only assume that you know what you are doing and that you know that the problem is only with that snippet of code.&amp;nbsp; In this case it was not.&amp;nbsp; It was a setup problem in the CTRL register.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So to get better help with your second question post the code that you are using.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549287#M13805</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: How Select DAC Pin...?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549288#M13806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by h.lotfi on Tue Dec 23 08:31:18 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: larryvc&lt;/STRONG&gt;&lt;BR /&gt;I can't answer your second question, but I will give you some advice.&amp;nbsp; If you had posted the code you were using to set up the DAC we would have been able to answer your first problem much sooner.&amp;nbsp; When you only post a snippet of code, we can only assume that you know what you are doing and that you know that the problem is only with that snippet of code.&amp;nbsp; In this case it was not.&amp;nbsp; It was a setup problem in the CTRL register.&lt;BR /&gt;&lt;BR /&gt;So to get better help with your second question post the code that you are using.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for advice &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and i add code for this new question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: h.lotfi&lt;/STRONG&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;today again i work with my sample and finally my problem solved&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;BR /&gt;my problem was third bit of CTRL register... i wasn't set it!!!&lt;BR /&gt;&lt;BR /&gt;but i have just a question,&lt;BR /&gt;when i use DAC i can see result on pin number 8 in LQFP208 package or Pin Number E3 in LBGA256 package without set any register for this pin.&lt;BR /&gt;and when i add this line to my program "LPC_SCU-&amp;gt;ENAIO2 |=1;" i can see result on P4.4 and on Pin number 8 in LQFP208 package in same time.&lt;BR /&gt;pin number 8 in package LQFP208 is share between ADC0_0, ADC1_0 and DAC.&lt;BR /&gt;when i write a sample code for ADC0_0 i use this pin as ADC0_0 without set any register for this pin.&lt;BR /&gt;my question is if i want write a sample code with ADC0_0 and DAC, What's happen for pin number 8?&lt;BR /&gt;my code:&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
void ADC_Configuration(void)
{
 // Init ADC0: 200 kHz sampling rate, 10 bits
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADC_Init(LPC_ADC0, 200000, 10);
ADC_IntConfig(LPC_ADC0, ADC_ADINTEN0, DISABLE); // global interrupt is enabled by default

// Enable channel 0
ADC_ChannelCmd(LPC_ADC0, ADC_CHANNEL_0, ENABLE);
}
void DAC_Configuration(void)
{
DAC_CONVERTER_CFG_Type DacConfiStruct;
//**********
DacConfiStruct.CNT_ENA=ENABLE;
DacConfiStruct.DMA_ENA= ENABLE;&amp;nbsp; // Enable DMA and DAC
DAC_Init(LPC_DAC);
DAC_SetDMATimeOut(LPC_DAC,0xFFFF);
DAC_SetBias(LPC_DAC,DAC_MAX_CURRENT_700uA);
DAC_ConfigDAConverterControl (LPC_DAC,&amp;amp;DacConfiStruct);
//*****
}
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;Can i select the function for this pin?&lt;BR /&gt;for example can i use P4_4 as DAC and Pin number 8 as ADC0_0?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-Select-DAC-Pin/m-p/549288#M13806</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:51Z</dc:date>
    </item>
  </channel>
</rss>

