<?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: LIN Master-Slave Communication Issue for MPC5748G in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/LIN-Master-Slave-Communication-Issue-for-MPC5748G/m-p/1388908#M19931</link>
    <description>&lt;P&gt;It's a little late but i think you forgot to configure BIDR DIR &amp;amp; DFL fields&lt;/P&gt;</description>
    <pubDate>Fri, 17 Dec 2021 16:02:04 GMT</pubDate>
    <dc:creator>jnaulet</dc:creator>
    <dc:date>2021-12-17T16:02:04Z</dc:date>
    <item>
      <title>LIN Master-Slave Communication Issue for MPC5748G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/LIN-Master-Slave-Communication-Issue-for-MPC5748G/m-p/1277028#M18224</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am testing LIN Master-Slave Communication over MPC5748. I am using LINFlexD_0 as Slave and LINFlexD_2 as Master. Schematic for LIN transceiver is attached. (Note – Jumper J1 is not used)&lt;BR /&gt;I am using example code from - &lt;A href="https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5748G-LINFlex-LIN-Master-Slave-test-GHS616/ta-p/1117197" target="_blank"&gt;https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5748G-LINFlex-LIN-Master-Slave-test-GHS616/ta-p/1117197&lt;/A&gt;&lt;BR /&gt;I observe that the program is infinitely stuck in the while(0 == LINFlexD_2.LINSR.B.DTF) of below function.&lt;/P&gt;&lt;P&gt;void TransmitData(uint16_t bidr_value)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; /* store the data in the message buffer BDR */&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LINFlexD_2.BDRL.B.DATA0 = 'H';&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LINFlexD_2.BDRL.B.DATA1 = 'e';&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LINFlexD_2.BDRL.B.DATA2 = 'l';&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LINFlexD_2.BDRL.B.DATA3 = 'l';&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LINFlexD_2.BDRM.B.DATA4 = 'o';&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LINFlexD_2.BDRM.B.DATA5 = '!';&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LINFlexD_2.BDRM.B.DATA6 = '!';&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LINFlexD_2.BDRM.B.DATA7 = '!';&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; /* Master to publish x bytes with ID and CCS from bidr_value */&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LINFlexD_2.BIDR.R = bidr_value;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; /* Request header transmission */&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LINFlexD_2.LINCR2.B.HTRQ = 1;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; /* Wait for data transfer complete flag */&lt;BR /&gt;&amp;nbsp; &amp;nbsp; while(0 == LINFlexD_2.LINSR.B.DTF);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; /* clear the DTF bit */&lt;BR /&gt;&amp;nbsp; &amp;nbsp; LINFlexD_2.LINSR.R = 0x0002;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Shantanu Joshi&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 13:53:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/LIN-Master-Slave-Communication-Issue-for-MPC5748G/m-p/1277028#M18224</guid>
      <dc:creator>sjoshi33</dc:creator>
      <dc:date>2021-05-14T13:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: LIN Master-Slave Communication Issue for MPC5748G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/LIN-Master-Slave-Communication-Issue-for-MPC5748G/m-p/1388908#M19931</link>
      <description>&lt;P&gt;It's a little late but i think you forgot to configure BIDR DIR &amp;amp; DFL fields&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 16:02:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/LIN-Master-Slave-Communication-Issue-for-MPC5748G/m-p/1388908#M19931</guid>
      <dc:creator>jnaulet</dc:creator>
      <dc:date>2021-12-17T16:02:04Z</dc:date>
    </item>
  </channel>
</rss>

