<?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: is there no need pin function choose in source code with S12ZVC ? in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/is-there-no-need-pin-function-choose-in-source-code-with-S12ZVC/m-p/1883754#M19861</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The pin 38&lt;/P&gt;
&lt;P&gt;38&amp;nbsp;&amp;nbsp; PS5 / KWS5 / MOSI1 / TXD1 / IOC0_2&lt;/P&gt;
&lt;P&gt;37&amp;nbsp; PS4 / KWS4 / MISO1 / RXD1 / IOC0_3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The pin description in the table 1-6 presents&amp;gt;&lt;/P&gt;
&lt;P&gt;38 PS5 KWS5 MOSI1 TXD1 IOC0_22&lt;/P&gt;
&lt;P&gt;The default function is GPIO in input mode. All other function have priority from left(lowest) to right(highest).&lt;/P&gt;
&lt;P&gt;If the alternative peripheral/peripherals is/are enabled at the pin then the peripheral with the highest priority takes precedence over other and controls the pin. So if the pin is used as SCI then there is nothing necessary to be set and the pin works like Rx/Tx pinr SCI.&lt;/P&gt;
&lt;P&gt;Moreover it is worth to look on the default connection of the peripheral to the pin. In this case, for SCI1, the Rx/Tx can be routed by MODRR register to&lt;/P&gt;
&lt;P&gt;Bit 5 of MODRR0, SCI1RR, Module Routing Register — SCI1 routing&lt;BR /&gt;(Table 2-4. MODRR0 Routing Register Field Descriptions)&lt;/P&gt;
&lt;P&gt;1 TXD1 on PT1; RXD1 on PT0&lt;/P&gt;
&lt;P&gt;0 TXD1 on PS5; RXD1 on PS4&lt;/P&gt;
&lt;P&gt;The default status of the bit is 0 so TXD1 is on PS5 by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, The bootloader selection pin is selected in the config,h file…&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Ladislav&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2024 17:19:50 GMT</pubDate>
    <dc:creator>lama</dc:creator>
    <dc:date>2024-06-07T17:19:50Z</dc:date>
    <item>
      <title>is there no need pin function choose in source code with S12ZVC ?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/is-there-no-need-pin-function-choose-in-source-code-with-S12ZVC/m-p/1882189#M19856</link>
      <description>&lt;P&gt;I looked [&lt;A href="https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Simple-Serial-Bootloader-for-S12Z-AN-draft/ta-p/1126452" target="_blank"&gt;Simple Serial Bootloader for S12Z - AN draft - NXP Community&lt;/A&gt;](&lt;A href="https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Simple-Serial-Bootloader-for-S12Z-AN-draft/ta-p/1126452" target="_blank"&gt;Simple Serial Bootloader for S12Z - AN draft - NXP Community&lt;/A&gt;) and want to build a serial code on my S12ZVC board. Now I can build with the SCI.c and releate files success. I do ``InitSCI()`` function , then I call&amp;nbsp;OutStr("\f\r\nS12Z Bootloader v1.0\r\n")。I use SCI1 as default.But I couldn't catch data out on PIN38(PT1/IOC1_1/SCL0/TXD1)。I&amp;nbsp;wonder PIN38 has so many funcs, but I couldn't find where to config PIN38 pin mux in sample code? How could sample code choose PIN38 pin function?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 01:51:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/is-there-no-need-pin-function-choose-in-source-code-with-S12ZVC/m-p/1882189#M19856</guid>
      <dc:creator>iysheng</dc:creator>
      <dc:date>2024-06-06T01:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: is there no need pin function choose in source code with S12ZVC ?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/is-there-no-need-pin-function-choose-in-source-code-with-S12ZVC/m-p/1883754#M19861</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The pin 38&lt;/P&gt;
&lt;P&gt;38&amp;nbsp;&amp;nbsp; PS5 / KWS5 / MOSI1 / TXD1 / IOC0_2&lt;/P&gt;
&lt;P&gt;37&amp;nbsp; PS4 / KWS4 / MISO1 / RXD1 / IOC0_3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The pin description in the table 1-6 presents&amp;gt;&lt;/P&gt;
&lt;P&gt;38 PS5 KWS5 MOSI1 TXD1 IOC0_22&lt;/P&gt;
&lt;P&gt;The default function is GPIO in input mode. All other function have priority from left(lowest) to right(highest).&lt;/P&gt;
&lt;P&gt;If the alternative peripheral/peripherals is/are enabled at the pin then the peripheral with the highest priority takes precedence over other and controls the pin. So if the pin is used as SCI then there is nothing necessary to be set and the pin works like Rx/Tx pinr SCI.&lt;/P&gt;
&lt;P&gt;Moreover it is worth to look on the default connection of the peripheral to the pin. In this case, for SCI1, the Rx/Tx can be routed by MODRR register to&lt;/P&gt;
&lt;P&gt;Bit 5 of MODRR0, SCI1RR, Module Routing Register — SCI1 routing&lt;BR /&gt;(Table 2-4. MODRR0 Routing Register Field Descriptions)&lt;/P&gt;
&lt;P&gt;1 TXD1 on PT1; RXD1 on PT0&lt;/P&gt;
&lt;P&gt;0 TXD1 on PS5; RXD1 on PS4&lt;/P&gt;
&lt;P&gt;The default status of the bit is 0 so TXD1 is on PS5 by default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, The bootloader selection pin is selected in the config,h file…&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Ladislav&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 17:19:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/is-there-no-need-pin-function-choose-in-source-code-with-S12ZVC/m-p/1883754#M19861</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2024-06-07T17:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: is there no need pin function choose in source code with S12ZVC ?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/is-there-no-need-pin-function-choose-in-source-code-with-S12ZVC/m-p/1883891#M19862</link>
      <description>thanks for your patient reply. I wonder after I set RXD1(PT0), then whether I can set the pin with internal pull up?</description>
      <pubDate>Fri, 07 Jun 2024 23:36:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/is-there-no-need-pin-function-choose-in-source-code-with-S12ZVC/m-p/1883891#M19862</guid>
      <dc:creator>iysheng</dc:creator>
      <dc:date>2024-06-07T23:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: is there no need pin function choose in source code with S12ZVC ?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/is-there-no-need-pin-function-choose-in-source-code-with-S12ZVC/m-p/1884238#M19863</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;if you use the pin as UART x you do not have to do anything with it.&lt;/P&gt;
&lt;P&gt;Of course, if you enable pull-up it will cause nothing from principal point of view.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Ladislav.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 12:31:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/is-there-no-need-pin-function-choose-in-source-code-with-S12ZVC/m-p/1884238#M19863</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2024-06-10T12:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: is there no need pin function choose in source code with S12ZVC ?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/is-there-no-need-pin-function-choose-in-source-code-with-S12ZVC/m-p/1888234#M19868</link>
      <description>&lt;P&gt;For I use this pin connect with a RS485 convert chip , and I found I always get 0X00 when I switch rs485 in and or. After I searched some soolution, I found someone told to pull up with RX pin. And after I add some code like this&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;PERT_PERT0 = 1;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;It works.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2024 12:40:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/is-there-no-need-pin-function-choose-in-source-code-with-S12ZVC/m-p/1888234#M19868</guid>
      <dc:creator>iysheng</dc:creator>
      <dc:date>2024-06-16T12:40:31Z</dc:date>
    </item>
  </channel>
</rss>

