<?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>Processor Expert Software中的主题 Processor expert components for GPIO and Delay</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-components-for-GPIO-and-Delay/m-p/975582#M4392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like some help in setting up GPIOC pin as high and low with a delay in between.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MC56F84763 DSC with my own hardware and to check if the code is working, i would like to toggle pin and read it through oscilloscope via my hardware&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;I have taken a sample example project&amp;nbsp;from Processor Expert -&amp;gt; Init_SCI project . And&amp;nbsp;have disabled the main loop code of SCI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some guidance how to use the Processor expert to add and configure components for &lt;STRONG&gt;GPIO&lt;/STRONG&gt; and &lt;STRONG&gt;Delay &lt;/STRONG&gt;from library.&lt;/P&gt;&lt;P&gt;So i can enable GPIO pin as high and low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt;‌&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiangjun.rong"&gt;xiangjun.rong&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Dec 2019 09:01:16 GMT</pubDate>
    <dc:creator>fasihahmed</dc:creator>
    <dc:date>2019-12-13T09:01:16Z</dc:date>
    <item>
      <title>Processor expert components for GPIO and Delay</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-components-for-GPIO-and-Delay/m-p/975582#M4392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like some help in setting up GPIOC pin as high and low with a delay in between.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MC56F84763 DSC with my own hardware and to check if the code is working, i would like to toggle pin and read it through oscilloscope via my hardware&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;I have taken a sample example project&amp;nbsp;from Processor Expert -&amp;gt; Init_SCI project . And&amp;nbsp;have disabled the main loop code of SCI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some guidance how to use the Processor expert to add and configure components for &lt;STRONG&gt;GPIO&lt;/STRONG&gt; and &lt;STRONG&gt;Delay &lt;/STRONG&gt;from library.&lt;/P&gt;&lt;P&gt;So i can enable GPIO pin as high and low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt;‌&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiangjun.rong"&gt;xiangjun.rong&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 09:01:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-components-for-GPIO-and-Delay/m-p/975582#M4392</guid>
      <dc:creator>fasihahmed</dc:creator>
      <dc:date>2019-12-13T09:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Processor expert components for GPIO and Delay</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-components-for-GPIO-and-Delay/m-p/975583#M4393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Fasih,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, the Processor Expert(PE) is a GUI tools, we have not the User Manual or Guidance for the PE tools.&lt;/P&gt;&lt;P&gt;But for the task to toggle a GPIO, this is the procedure, for example you want to toggle GPIOB_1 bit:&lt;/P&gt;&lt;P&gt;1)Enable GPIO gated clock, you can set the corresponding bit in SIM_PCE0 register.&lt;/P&gt;&lt;P&gt;SIM_PCE0|=1&amp;lt;&amp;lt;6; //enable GPIOA clock&lt;/P&gt;&lt;P&gt;2)clear the corresponding bit in GPIOx_PER register so that GPIO controls the pad.&lt;/P&gt;&lt;P&gt;GPIOB_PER&amp;amp;=~(0x02);&lt;/P&gt;&lt;P&gt;3)set the corresponding bit in GPIOx_DDR register so that the pad is configured as GPIO OUTPUT mode:&lt;/P&gt;&lt;P&gt;GPIOB_DDR|=0x02;&lt;/P&gt;&lt;P&gt;3)you can set the pin as 1 by Setting the GPIOx_DR:&lt;/P&gt;&lt;P&gt;GPIOB_DR|=0x02;&lt;/P&gt;&lt;P&gt;4)clear the pin by clearing the GPIOx_DR&lt;/P&gt;&lt;P&gt;GPIOB_DR&amp;amp;=~(0x02);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2019 03:25:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-components-for-GPIO-and-Delay/m-p/975583#M4393</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-12-16T03:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Processor expert components for GPIO and Delay</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-components-for-GPIO-and-Delay/m-p/975584#M4394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show this as a video tutorial?&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiangjun.rong"&gt;xiangjun.rong&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2019 08:13:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Processor-expert-components-for-GPIO-and-Delay/m-p/975584#M4394</guid>
      <dc:creator>fasihahmed</dc:creator>
      <dc:date>2019-12-16T08:13:30Z</dc:date>
    </item>
  </channel>
</rss>

