<?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:  SCI0 without LIN interface in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI0-without-LIN-interface/m-p/886749#M16372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;BR /&gt;Thank you for this example, it works well, it allowed me to debug my program and find the problem.&lt;BR /&gt;thanks again&lt;BR /&gt;Lotfi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2019 17:36:05 GMT</pubDate>
    <dc:creator>lotfi_bensalem</dc:creator>
    <dc:date>2019-02-11T17:36:05Z</dc:date>
    <item>
      <title>SCI0 without LIN interface</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI0-without-LIN-interface/m-p/886747#M16370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I use the DEVKIT-S12VR64: Dev Board for #S12VR64 MCU and the CW V5.1. I would like to use a pure serial interface SCI0&amp;nbsp; without through the LIN interface. At first, I used the serial SCI1 as presented in the LAB3_SCI_S12VR, just to familiarize myself and be sure that the control settings are correct, everything works fine. Then I wanted to adapt this example for the SCI0 interface, but it does not work. In the MC9S12VRRM, it explains on page 82/83 that SCI0 is shared with LINPHY interface. I programmed the register MODRR2 = 0b0110 to use PS1 / TXD0 and PS0 / RXD0 but it does not work. I also tried MODRR2 = 0b1110 to use PT1 / TXD0 and PT0 / RXD0, does not work . Here is a registry initialization code:&lt;/P&gt;&lt;P&gt;//route SCI0&lt;BR /&gt; /* MODRR2: MODRR23=0,MODRR22=1,MODRR21=1,MODRR20=0, */ //Module Routing Register 2&lt;BR /&gt; setReg8Bits(MODRR2, 0x06U); //TXD0 on PS1, RXD0 on PS0, see page 82, 83 &lt;BR /&gt; /* LPCR: LPE=0 */ //LIN Control Register (LPCR)&lt;BR /&gt; clrReg8Bits(LPCR, 0x08U); //The LIN Physical Layer is in shutdown mode, see page 82, 83 &lt;BR /&gt; /* PPSS: PPSS1=1,PPSS0=1 */ //polarity select, pull down&lt;BR /&gt; setReg8Bits(PPSS, 0x03U); &lt;BR /&gt; /* PERS: PERS1=1,PERS0=1 */ //polarity enabled&lt;BR /&gt; setReg8Bits(PERS, 0x03U); &lt;BR /&gt; /* WOMS: WOMS1=0 */ //Output Wired mode: Push pull&lt;BR /&gt; clrReg8Bits(WOMS, 0x02U);&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;What's wrong ?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 13:19:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI0-without-LIN-interface/m-p/886747#M16370</guid>
      <dc:creator>lotfi_bensalem</dc:creator>
      <dc:date>2019-02-06T13:19:55Z</dc:date>
    </item>
    <item>
      <title>Re:  SCI0 without LIN interface</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI0-without-LIN-interface/m-p/886748#M16371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to point&amp;nbsp;to the example code for the S12VR64 MCU where can be seen the initialization, settings, and interrupts of the SCI0. There SCI0 is routed to Port S.&lt;/P&gt;&lt;P&gt;Please refer to the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you. If you have any questions, let me know.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 08:28:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI0-without-LIN-interface/m-p/886748#M16371</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-02-07T08:28:57Z</dc:date>
    </item>
    <item>
      <title>Re:  SCI0 without LIN interface</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI0-without-LIN-interface/m-p/886749#M16372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;BR /&gt;Thank you for this example, it works well, it allowed me to debug my program and find the problem.&lt;BR /&gt;thanks again&lt;BR /&gt;Lotfi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 17:36:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SCI0-without-LIN-interface/m-p/886749#M16372</guid>
      <dc:creator>lotfi_bensalem</dc:creator>
      <dc:date>2019-02-11T17:36:05Z</dc:date>
    </item>
  </channel>
</rss>

