<?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: having trouble with lpc43xx in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/having-trouble-with-lpc43xx/m-p/594581#M22667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wellsk on Thu Dec 26 09:36:00 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;give me a link so i could download them &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;These are the LPCOpen packages for the LCP43xx @ &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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;Did you ever used some of these functions on that evaluation board ( mcb4300 )?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Grab the package specific to the Keil MBC4300 board at that link above. Pick the LPCXpresso package if you are using the LPCXpresso toolchain or the Keil/IAR package of you are using IAR Embedded Workbench or Keil uVision.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;You can get basic quickstart for the LPCopen platforms @ &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%2Fproject%2Flpcopen-platform-nxp-lpc-microcontrollers%2Flpcopen-v200-quickstart-guides" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/project/lpcopen-platform-nxp-lpc-microcontrollers/lpcopen-v200-quickstart-guides&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:20:55 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:20:55Z</dc:date>
    <item>
      <title>having trouble with lpc43xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/having-trouble-with-lpc43xx/m-p/594578#M22664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gil_alon9 on Mon Dec 23 11:01:33 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I need help with figuring the pins on the mcb4300 developement board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;meaning: i need to know how to use the functions of &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the gpio's :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-like why in the function i can only write to ports 0-4 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when there is like (0-F) 15 ports.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-secondly what do i need to place instead of bit_value &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so i coud operate on a a specific pin e.g : p0_1,p2_4 and so forth...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[color=#f00]Thanks in advanced for your help. :)&amp;nbsp; :)&amp;nbsp; :) [/color]&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:20:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/having-trouble-with-lpc43xx/m-p/594578#M22664</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: having trouble with lpc43xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/having-trouble-with-lpc43xx/m-p/594579#M22665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wells on Mon Dec 23 11:19:00 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;-like why in the function i can only write to ports 0-4&lt;BR /&gt;when there is like (0-F) 15 ports.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you show the function prototype with comments?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;-secondly what do i need to place instead of bit_value&lt;BR /&gt;so i coud operate on a a specific pin e.g : p0_1,p2_4 and so forth...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can answer this question for the LPCOpen GPIO functions, but I'm not sure if that is what you are using.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Most LPCOpen functions operate on individual pins or ports.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can set individual port/pin states with the Chip_GPIO_SetPinState() function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;/**
 * @briefSet a GPIO pin state via the GPIO byte register
 * @parampGPIO: The base of GPIO peripheral on the chip
 * @param port: GPIO Port number where @a pin is located
 * @parampin: GPIO pin to set
 * @paramsetting: true for high, false for low
 * @returnNothing
 * @noteThis function replaces Chip_GPIO_WritePortBit()
 */
STATIC INLINE void Chip_GPIO_SetPinState(LPC_GPIO_T *pGPIO, uint8_t port, uint8_t pin, bool setting)&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;&lt;STRONG&gt;Example: Chip_GPIO_SetPinState(LPC_GPIO, 0, 5, true); /* Set PIO0_5 high */&lt;/STRONG&gt;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can set the states of ALL pins in a single port at once using the Chip_GPIO_SetPortValue() function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;/**
 * @briefSet all GPIO raw pin states (regardless of masking)
 * @parampGPIO: The base of GPIO peripheral on the chip
 * @paramport: GPIO Port number where @a pin is located
 * @paramvalue: Value to set all GPIO pin states (0..n) to
 * @returnNothing
 */
STATIC INLINE void Chip_GPIO_SetPortValue(LPC_GPIO_T *pGPIO, uint8_t port, uint32_t value)&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;&lt;STRONG&gt;Example: Chip_GPIO_SetPortValue(LPC_GPIO, 0, ((1&amp;lt;&amp;lt;5) | (1&amp;lt;&amp;lt;7))); /* Set PIO0_5 and PIO0_7 high, but all others low */&lt;/STRONG&gt;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can set multiple pins in a port high or low with the Chip_GPIO_SetPortOutHigh() and Chip_GPIO_SetPortOutLow() functions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;&lt;STRONG&gt;Chip_GPIO_SetPortOutLow(LPC_GPIO, 1, ((1&amp;lt;&amp;lt;4) | (1&amp;lt;&amp;lt;5) | (1&amp;lt;&amp;lt;9))); /* Set only pins 4, 5, and 9 on port 1 low */
Chip_GPIO_SetPortOutHigh(LPC_GPIO, 1, ((1&amp;lt;&amp;lt;4) | (1&amp;lt;&amp;lt;5) | (1&amp;lt;&amp;lt;9))); /* Set only pins 4, 5, and 9 on port 1 high*/&lt;/STRONG&gt;&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Likewise, you can get and set individual pin states and directions using the functions in gpio_18xx_43xx.h.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Almost all GPIO functions are inlined so you can see the source code for them in the header file and these use very little memory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:20:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/having-trouble-with-lpc43xx/m-p/594579#M22665</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: having trouble with lpc43xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/having-trouble-with-lpc43xx/m-p/594580#M22666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gil_alon9 on Mon Dec 23 23:24:15 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont have these kind of functions could you give me a link so i could download them &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or at least a web adress i would love it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you ever used some of these functions on that evaluation board ( mcb4300 )?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:20:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/having-trouble-with-lpc43xx/m-p/594580#M22666</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: having trouble with lpc43xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/having-trouble-with-lpc43xx/m-p/594581#M22667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wellsk on Thu Dec 26 09:36:00 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;give me a link so i could download them &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;These are the LPCOpen packages for the LCP43xx @ &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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;Did you ever used some of these functions on that evaluation board ( mcb4300 )?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Grab the package specific to the Keil MBC4300 board at that link above. Pick the LPCXpresso package if you are using the LPCXpresso toolchain or the Keil/IAR package of you are using IAR Embedded Workbench or Keil uVision.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;You can get basic quickstart for the LPCopen platforms @ &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%2Fproject%2Flpcopen-platform-nxp-lpc-microcontrollers%2Flpcopen-v200-quickstart-guides" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/project/lpcopen-platform-nxp-lpc-microcontrollers/lpcopen-v200-quickstart-guides&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:20:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/having-trouble-with-lpc43xx/m-p/594581#M22667</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: having trouble with lpc43xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/having-trouble-with-lpc43xx/m-p/594582#M22668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Thu Dec 26 12:33:34 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It would always be good to know the compiler you have, then it's easier to provide a useful example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The LPCOpen package provides examples for Keil µVision, for IAR EWARM and for LPCXpresso.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So it's not a bad choice as starting point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the Keil environment you also find examples after installation of the toolchain here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.\Keil\ARM\Boards\Keil\MCB4300&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IAR also has an example somewhere in a folder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:20:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/having-trouble-with-lpc43xx/m-p/594582#M22668</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:20:55Z</dc:date>
    </item>
  </channel>
</rss>

