<?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>MPC5xxxのトピックRe: MPC5744p S32DS LINBUS master slave example</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/2407254#M28583</link>
    <description>&lt;P&gt;The attached ZIP contains the modified driver files&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tested configuration:&lt;BR /&gt;- MPC5744P&lt;BR /&gt;- S32 Design Studio for Power Architecture 2.1&lt;BR /&gt;- S32_SDK_S32PA_RTM_3.0.3&lt;BR /&gt;- INST_LINFLEXD_UART2&lt;BR /&gt;- FreeRTOS&lt;BR /&gt;- Two physical slave controllers&lt;/P&gt;&lt;P&gt;Implemented functionality:&lt;BR /&gt;- LIN break and 0x55 synchronization byte&lt;BR /&gt;- Protected identifier generation and validation&lt;BR /&gt;- Master header transmission&lt;BR /&gt;- Interrupt-driven slave response&lt;BR /&gt;- Classic and enhanced checksum&lt;BR /&gt;- Frames with up to 8 data bytes&lt;BR /&gt;- Response timeout handling&lt;BR /&gt;- Recovery after a slave is disconnected, reset or reconnected&lt;BR /&gt;- Polling of multiple slave identifiers&lt;/P&gt;&lt;P&gt;The driver was tested with two physical MPC5744P slave controllers.&lt;/P&gt;&lt;P&gt;Installation:&lt;BR /&gt;1. Back up the original SDK driver files.&lt;BR /&gt;2. Copy the provided header to:&lt;BR /&gt;platform/drivers/inc/&lt;BR /&gt;3. Copy the provided source file to:&lt;BR /&gt;platform/drivers/src/linflexd/&lt;BR /&gt;4. Refresh the linked SDK files in the project.&lt;BR /&gt;5. Perform a clean rebuild.&lt;/P&gt;&lt;P&gt;I hope this helps anyone who needs basic LIN communication with the S32 SDK.&lt;BR /&gt;Feedback and test results on other MPC5xxx devices are welcome.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Fri, 21 Aug 2026 08:24:43 GMT</pubDate>
    <dc:creator>akovacevic</dc:creator>
    <dc:date>2026-08-21T08:24:43Z</dc:date>
    <item>
      <title>MPC5744p S32DS LINBUS master slave example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1711413#M24149</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Could someone help me with information about whether there is an MPC5744p LINBUS Master/Slave example for S32 Design Studio?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 09:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1711413#M24149</guid>
      <dc:creator>akovacevic</dc:creator>
      <dc:date>2023-08-25T09:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p S32DS LINBUS master slave example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1711429#M24150</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;there are LIN master and slave examples within S32DS, so you can refer to it.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_0-1692959754415.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238083i69EF2A3E2C6AF7AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_0-1692959754415.png" alt="PetrS_0-1692959754415.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 10:36:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1711429#M24150</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-08-25T10:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p S32DS LINBUS master slave example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1711483#M24153</link>
      <description>Thank you for quick replay, is it possible to integrate a part of the example (initialization and sending a LIN message) with, let's say, a FreeRTOS example from the SDK package without any major issues?</description>
      <pubDate>Fri, 25 Aug 2023 12:53:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1711483#M24153</guid>
      <dc:creator>akovacevic</dc:creator>
      <dc:date>2023-08-25T12:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p S32DS LINBUS master slave example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1711532#M24154</link>
      <description>&lt;P&gt;What is the best approach here to use the SDK and LIN bus? I tried generating a LIN message with linflexd_uart, but generating that break and wakeup isn't possible. Should I use TX as a digital output?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 14:44:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1711532#M24154</guid>
      <dc:creator>akovacevic</dc:creator>
      <dc:date>2023-08-25T14:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p S32DS LINBUS master slave example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1712332#M24160</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;as far as I know&amp;nbsp;&lt;SPAN&gt;there's no LIN support in the SDK and there are no plans to add it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 12:01:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1712332#M24160</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-08-28T12:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p S32DS LINBUS master slave example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1712517#M24161</link>
      <description>&lt;P&gt;&lt;SPAN&gt;My idea is to stay in the SDK environment, which is now, in your opinion, the best way to enable LIN hardware? Or is there maybe a way to create software via PIT and GPIO?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 16:00:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1712517#M24161</guid>
      <dc:creator>akovacevic</dc:creator>
      <dc:date>2023-08-28T16:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p S32DS LINBUS master slave example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1713192#M24168</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;you can stay with SDK and LINFlex module, but you need to write code/driver yourself, for example reusing available baremetal code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 11:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1713192#M24168</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-08-29T11:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p S32DS LINBUS master slave example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1961800#M26708</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;here is a way that works and simulates a wakeup signal&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#define&lt;/SPAN&gt; &lt;SPAN&gt;SYNC&lt;/SPAN&gt; &lt;SPAN&gt;0x55&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;#define&amp;nbsp;&lt;SPAN&gt;WAKEUP&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;0x00&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; LINFLEXD_UART_DRV_SetBaudRate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;INST_LINFLEXD_UART1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;4800&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;LINFLEXD_UART_DRV_SendDataBlocking&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;INST_LINFLEXD_UART1&lt;/SPAN&gt;&lt;SPAN&gt;, &amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;WAKEUP&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt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t;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;] = &lt;/SPAN&gt;&lt;SPAN&gt;0x00&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;masterMessage&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;] = &lt;/SPAN&gt;&lt;SPAN&gt;0x00&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;masterMessage&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;chksum&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;linbus_calculate_checksum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;masterMessage&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Sep 2024 13:11:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/1961800#M26708</guid>
      <dc:creator>akovacevic</dc:creator>
      <dc:date>2024-09-25T13:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744p S32DS LINBUS master slave example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/2407254#M28583</link>
      <description>&lt;P&gt;The attached ZIP contains the modified driver files&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tested configuration:&lt;BR /&gt;- MPC5744P&lt;BR /&gt;- S32 Design Studio for Power Architecture 2.1&lt;BR /&gt;- S32_SDK_S32PA_RTM_3.0.3&lt;BR /&gt;- INST_LINFLEXD_UART2&lt;BR /&gt;- FreeRTOS&lt;BR /&gt;- Two physical slave controllers&lt;/P&gt;&lt;P&gt;Implemented functionality:&lt;BR /&gt;- LIN break and 0x55 synchronization byte&lt;BR /&gt;- Protected identifier generation and validation&lt;BR /&gt;- Master header transmission&lt;BR /&gt;- Interrupt-driven slave response&lt;BR /&gt;- Classic and enhanced checksum&lt;BR /&gt;- Frames with up to 8 data bytes&lt;BR /&gt;- Response timeout handling&lt;BR /&gt;- Recovery after a slave is disconnected, reset or reconnected&lt;BR /&gt;- Polling of multiple slave identifiers&lt;/P&gt;&lt;P&gt;The driver was tested with two physical MPC5744P slave controllers.&lt;/P&gt;&lt;P&gt;Installation:&lt;BR /&gt;1. Back up the original SDK driver files.&lt;BR /&gt;2. Copy the provided header to:&lt;BR /&gt;platform/drivers/inc/&lt;BR /&gt;3. Copy the provided source file to:&lt;BR /&gt;platform/drivers/src/linflexd/&lt;BR /&gt;4. Refresh the linked SDK files in the project.&lt;BR /&gt;5. Perform a clean rebuild.&lt;/P&gt;&lt;P&gt;I hope this helps anyone who needs basic LIN communication with the S32 SDK.&lt;BR /&gt;Feedback and test results on other MPC5xxx devices are welcome.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2026 08:24:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744p-S32DS-LINBUS-master-slave-example/m-p/2407254#M28583</guid>
      <dc:creator>akovacevic</dc:creator>
      <dc:date>2026-08-21T08:24:43Z</dc:date>
    </item>
  </channel>
</rss>

