<?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>MPC5xxx中的主题 MPC5604E - cannot set GPIOs</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5604E-cannot-set-GPIOs/m-p/431886#M1086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been working with MPC5604E in our company project and I have the following problem: I need to set a few pins as output GPIOs so I write 0x0200 to appropriate PCR registers. However, for certain pins this write is ignored and the PCR value remains unchanged. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My further experiments discovered that this happens if and only if the pin has defined no output alternate function besides GPIO. Moreover, I am able to set all the PCR register bits except OBE. Just to make it clear, I can successfully set OBE bit for all other pins.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am confused since the MPC5604E reference manual marks all the pins to be configurable as GPIO I/O. Am I missing something?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jan Beran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2015 08:20:15 GMT</pubDate>
    <dc:creator>janberan</dc:creator>
    <dc:date>2015-08-11T08:20:15Z</dc:date>
    <item>
      <title>MPC5604E - cannot set GPIOs</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5604E-cannot-set-GPIOs/m-p/431886#M1086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been working with MPC5604E in our company project and I have the following problem: I need to set a few pins as output GPIOs so I write 0x0200 to appropriate PCR registers. However, for certain pins this write is ignored and the PCR value remains unchanged. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My further experiments discovered that this happens if and only if the pin has defined no output alternate function besides GPIO. Moreover, I am able to set all the PCR register bits except OBE. Just to make it clear, I can successfully set OBE bit for all other pins.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am confused since the MPC5604E reference manual marks all the pins to be configurable as GPIO I/O. Am I missing something?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jan Beran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 08:20:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5604E-cannot-set-GPIOs/m-p/431886#M1086</guid>
      <dc:creator>janberan</dc:creator>
      <dc:date>2015-08-11T08:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5604E - cannot set GPIOs</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5604E-cannot-set-GPIOs/m-p/431887#M1087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan,&lt;/P&gt;&lt;P&gt;Look to the reference manual chapter 3.2 Signal Properties Summary, Table 4 pin muxing. If the pin has input direction only (PCR20 for example), then it is not possible to set OBE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 12:45:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5604E-cannot-set-GPIOs/m-p/431887#M1087</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2015-08-11T12:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5604E - cannot set GPIOs</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5604E-cannot-set-GPIOs/m-p/431888#M1088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;Thanks for your answer! I see the problem now - I have been using an old version of the reference manual (rev. 3, 21/06/12) and in that document even PCR[20] is marked as GPIO I/O. So I downloaded the revision 5 of the manual (07/2015 hopefully the latest) and everything makes sense now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jan Beran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 14:55:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5604E-cannot-set-GPIOs/m-p/431888#M1088</guid>
      <dc:creator>janberan</dc:creator>
      <dc:date>2015-08-11T14:55:07Z</dc:date>
    </item>
  </channel>
</rss>

