<?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 LIN slave support for MPC563xM in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/LIN-slave-support-for-MPC563xM/m-p/158122#M1</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; I am developing a little LIN network with one master (LINAnlyzer by Vector Informatik) and one (or more) slave(s).&lt;/P&gt;&lt;P&gt;I need to develop slave node using mpc5634 Monaco, that contains native support and LIN fsm only for master node &lt;SPAN aria-label="Sad" class="emoticon_sad emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;I also have a master node based on the same mcu (LIN TX/RX DMA controlled),&lt;/P&gt;&lt;P&gt;I am encountering a lot of problems, first of all I am not able to correctly receive an header if I do not trigger TX DMA channel connected to LIN_LTR register as first thing, i.e. if I sent an header I also receive correctly data hdr+response sent by LINAnlyzer(but it is an error, considering that slaves node simple receive header, handle it and, if required, sent a response on the LIN bus).&lt;/P&gt;&lt;P&gt;Has anyone worked on this before me?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be very appreciated!!!&lt;SPAN aria-label="Happy" class="emoticon_happy emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrea Mocci&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Embedded SW developer at Akhela s.r.l.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2012 15:12:40 GMT</pubDate>
    <dc:creator>andrea_mocci</dc:creator>
    <dc:date>2012-10-30T15:12:40Z</dc:date>
    <item>
      <title>LIN slave support for MPC563xM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/LIN-slave-support-for-MPC563xM/m-p/158122#M1</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; I am developing a little LIN network with one master (LINAnlyzer by Vector Informatik) and one (or more) slave(s).&lt;/P&gt;&lt;P&gt;I need to develop slave node using mpc5634 Monaco, that contains native support and LIN fsm only for master node &lt;SPAN aria-label="Sad" class="emoticon_sad emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;I also have a master node based on the same mcu (LIN TX/RX DMA controlled),&lt;/P&gt;&lt;P&gt;I am encountering a lot of problems, first of all I am not able to correctly receive an header if I do not trigger TX DMA channel connected to LIN_LTR register as first thing, i.e. if I sent an header I also receive correctly data hdr+response sent by LINAnlyzer(but it is an error, considering that slaves node simple receive header, handle it and, if required, sent a response on the LIN bus).&lt;/P&gt;&lt;P&gt;Has anyone worked on this before me?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be very appreciated!!!&lt;SPAN aria-label="Happy" class="emoticon_happy emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrea Mocci&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Embedded SW developer at Akhela s.r.l.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 15:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/LIN-slave-support-for-MPC563xM/m-p/158122#M1</guid>
      <dc:creator>andrea_mocci</dc:creator>
      <dc:date>2012-10-30T15:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: LIN slave support for MPC563xM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/LIN-slave-support-for-MPC563xM/m-p/158123#M2</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eSCI hardware module's LIN FSM doesn't support LIN Slave node. There are no states in the eSCI FSM for slave node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should implement your own state machine for LIN slave node in software.&lt;/P&gt;&lt;P&gt;Physically you will connect eSCI Tx and Rx signals to a LIN bus transceiver, and use eSCI in SCI mode. LIN slave node state machine needs to be programmed by yourself. If you wish to use DMA, look in the Reference Manual for "DMA controlled SCI data frame transmission" and "DMA controlled SCI data frames reception".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 08:16:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/LIN-slave-support-for-MPC563xM/m-p/158123#M2</guid>
      <dc:creator>Martin_</dc:creator>
      <dc:date>2012-10-31T08:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: LIN slave support for MPC563xM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/LIN-slave-support-for-MPC563xM/m-p/158124#M3</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;&lt;/P&gt;&lt;P&gt; I know that Monaco support LIN master node with application/DMA controlled tx/rx, but I liked to think that I could use LIN transiever and DMA controlled TX/RX for simple LIN frame transmission/reception.&lt;/P&gt;&lt;P&gt;Well, I will go on using eSCI module (damn!!! :)..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the fastest response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 09:48:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/LIN-slave-support-for-MPC563xM/m-p/158124#M3</guid>
      <dc:creator>andrea_mocci</dc:creator>
      <dc:date>2012-10-31T09:48:13Z</dc:date>
    </item>
  </channel>
</rss>

