<?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>S12 / MagniV MicrocontrollersのトピックRe: use LIN pin as a SCI(UART) of s12zvl micro</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/use-LIN-pin-as-a-SCI-UART-of-s12zvl-micro/m-p/473706#M11913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charudatta,&lt;/P&gt;&lt;P&gt;In fact, LINPHY is routed directly to SCI0 module by default. See Figure 1-1. MC9S12ZVL-Family Block Diagram in RM.&lt;/P&gt;&lt;P&gt;When we want send or receive any LIN message, SCI0 peripheral is typically used for transmitting/receiving that signal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Official LIN stack:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/microcontrollers/software/device_drivers/FSL_LIN_2.X_STACK.zip" title="http://www.nxp.com/files/microcontrollers/software/device_drivers/FSL_LIN_2.X_STACK.zip"&gt;http://www.nxp.com/files/microcontrollers/software/device_drivers/FSL_LIN_2.X_STACK.zip&lt;/A&gt; ​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;RadekS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2016 15:38:57 GMT</pubDate>
    <dc:creator>RadekS</dc:creator>
    <dc:date>2016-03-14T15:38:57Z</dc:date>
    <item>
      <title>use LIN pin as a SCI(UART) of s12zvl micro</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/use-LIN-pin-as-a-SCI-UART-of-s12zvl-micro/m-p/473705#M11912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know is there any way to use LIN pin as a SCI of s12zvl micro?&lt;/P&gt;&lt;P&gt;Basically I want to use LIN pin of s12zvl controller as a SCI (UART).&lt;/P&gt;&lt;P&gt;If it is possible good to have if i get example code for it.&lt;/P&gt;&lt;P&gt;Requesting assistance for the same .&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Charudatta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 12:33:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/use-LIN-pin-as-a-SCI-UART-of-s12zvl-micro/m-p/473705#M11912</guid>
      <dc:creator>charudattaingal</dc:creator>
      <dc:date>2016-03-14T12:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: use LIN pin as a SCI(UART) of s12zvl micro</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/use-LIN-pin-as-a-SCI-UART-of-s12zvl-micro/m-p/473706#M11913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charudatta,&lt;/P&gt;&lt;P&gt;In fact, LINPHY is routed directly to SCI0 module by default. See Figure 1-1. MC9S12ZVL-Family Block Diagram in RM.&lt;/P&gt;&lt;P&gt;When we want send or receive any LIN message, SCI0 peripheral is typically used for transmitting/receiving that signal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Official LIN stack:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/microcontrollers/software/device_drivers/FSL_LIN_2.X_STACK.zip" title="http://www.nxp.com/files/microcontrollers/software/device_drivers/FSL_LIN_2.X_STACK.zip"&gt;http://www.nxp.com/files/microcontrollers/software/device_drivers/FSL_LIN_2.X_STACK.zip&lt;/A&gt; ​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;RadekS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 15:38:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/use-LIN-pin-as-a-SCI-UART-of-s12zvl-micro/m-p/473706#M11913</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2016-03-14T15:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: use LIN pin as a SCI(UART) of s12zvl micro</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/use-LIN-pin-as-a-SCI-UART-of-s12zvl-micro/m-p/473707#M11914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use sci through LIN pin,my SCI frame data i want to Receive/Transmit&amp;nbsp; through LIN pin.&lt;/P&gt;&lt;P&gt;(half duplex UART)&lt;/P&gt;&lt;P&gt;what will be the configuration for that.?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23461i419E6400594D0E49/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;First i will configure the&amp;nbsp; SOLORR[2:0] = 000 so Lin pin internally routed to SCI want to confirm.&lt;/P&gt;&lt;P&gt;After that&amp;nbsp; I can use UART functionality(UART RX/TX Interrupt)&amp;nbsp; as it is through LIN /or some more configuration require for LIN?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Mar 2016 09:27:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/use-LIN-pin-as-a-SCI-UART-of-s12zvl-micro/m-p/473707#M11914</guid>
      <dc:creator>charudattaingal</dc:creator>
      <dc:date>2016-03-19T09:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: use LIN pin as a SCI(UART) of s12zvl micro</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/use-LIN-pin-as-a-SCI-UART-of-s12zvl-micro/m-p/473708#M11915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charudatta,&lt;/P&gt;&lt;P&gt;If you will use SCI0 and LIN PHY, please use S0L0RR[2:0] = 0b000 or 0b100.&lt;/P&gt;&lt;P&gt;In that case, the command will be MODRR0=0x00; . Since this is default value after reset, this command is not necessary, but we should use it to be sure.&lt;/P&gt;&lt;P&gt;You need also configure LIN PHY and SCI module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very simple example for LIN could be found here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-93792"&gt;https://community.freescale.com/docs/DOC-93792&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note: This example code is for S12G family and CW5.1. Therefore, the project cannot be used directly. It is just rather for inspiration. The C code should be compatible with exceptions in SCI baud rate, SCI interrupt vector and external LIN PHY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;RadekS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 07:44:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/use-LIN-pin-as-a-SCI-UART-of-s12zvl-micro/m-p/473708#M11915</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2016-03-21T07:44:59Z</dc:date>
    </item>
  </channel>
</rss>

