<?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>MCUXpresso General中的主题 Re: Using GPIO port B</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/Using-GPIO-port-B/m-p/741114#M331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The default function of PB0/PB1 is xtal clock.&amp;nbsp;Have you configed them to gpio?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2018 06:22:50 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2018-05-14T06:22:50Z</dc:date>
    <item>
      <title>Using GPIO port B</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Using-GPIO-port-B/m-p/741113#M330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i try to use GPIO B as an output, but the port didn't work and I don't know why.&lt;/P&gt;&lt;P&gt;These are my definitions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define BOARD_GPIO_B GPIOB&lt;BR /&gt;#define PB00 0U&lt;BR /&gt;#define PB01 1U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are my pin configuration:&lt;/P&gt;&lt;P&gt;GPIO_PinInit(BOARD_GPIO_B, PB00, &amp;amp;(gpio_pin_config_t){kGPIO_DigitalOutput, 0U});&lt;BR /&gt; GPIO_PinInit(BOARD_GPIO_B, PB01, &amp;amp;(gpio_pin_config_t){kGPIO_DigitalOutput, 0U});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then in the "if" command I wrote:&lt;/P&gt;&lt;P&gt;if ((X == 0U)&amp;amp;&amp;amp;(Y == 1U)) {&lt;BR /&gt;//PB00_ON();&lt;BR /&gt; GPIO_SetPinsOutput(BOARD_GPIO_B, 1U &amp;lt;&amp;lt; PB00);&lt;BR /&gt; //PB01_ON();&lt;BR /&gt; GPIO_SetPinsOutput(BOARD_GPIO_B, 1U &amp;lt;&amp;lt; PB01);&lt;/P&gt;&lt;P&gt;else if (Y == 0U) {&lt;/P&gt;&lt;P&gt;//PB00_OFF();&lt;BR /&gt; GPIO_ClearPinsOutput(BOARD_GPIO_B, 0U &amp;lt;&amp;lt; PB00);&lt;BR /&gt; //PB01_OFF();&lt;BR /&gt; GPIO_ClearPinsOutput(BOARD_GPIO_B, 0U &amp;lt;&amp;lt; PB01);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Port A and LEDs work correctly but port B and GPIO B doesn't work.&lt;/P&gt;&lt;P&gt;I use MCUXpresso IDE and qn9080-DK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 14:15:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Using-GPIO-port-B/m-p/741113#M330</guid>
      <dc:creator>ashkanrezaee</dc:creator>
      <dc:date>2018-05-09T14:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using GPIO port B</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Using-GPIO-port-B/m-p/741114#M331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The default function of PB0/PB1 is xtal clock.&amp;nbsp;Have you configed them to gpio?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 06:22:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Using-GPIO-port-B/m-p/741114#M331</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-05-14T06:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using GPIO port B</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Using-GPIO-port-B/m-p/741115#M332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, how can I do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 06:25:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Using-GPIO-port-B/m-p/741115#M332</guid>
      <dc:creator>ashkanrezaee</dc:creator>
      <dc:date>2018-05-14T06:25:48Z</dc:date>
    </item>
  </channel>
</rss>

