<?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 MBDT and MPC5744P :How can I add my own LIN program to my MBDT auto-generated program? in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-and-MPC5744P-How-can-I-add-my-own-LIN-program-to-my-MBDT/m-p/1691427#M8368</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello, I am using #mpc5744p&amp;nbsp;board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I want to realize the function of CAN communication and LIN communication.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;I completed the CAN communication part in the MBDT toolkit, called program A, but because there is no LIN module in the toolkit, I copied the S32DS example program to complete LIN communication in S32DS, called program B. And I successfully imported the program A generated by MBDT into S32DS.&lt;/SPAN&gt;&lt;SPAN class=""&gt; But I'm having trouble putting LIN program B into auto-generated program A.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;With some effort (mainly adding LINmodule and changing the auto-generated DEBUG_CAN_LIN.c), I was able to get LINFlexD_1 initialized.&lt;/SPAN&gt;&lt;SPAN class=""&gt; However, when communicating with LIN, I will encounter problems here. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;“LINFlexD_1.LINCR2.B.HTRQ = 1; &lt;/SPAN&gt;&lt;SPAN class=""&gt;/* Request header transmission */”&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I have attached my simulink program and S32DS project. I have spent a lot of efforts but still have not solved the problem, please help me.Thanks a lot.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jul 2023 14:11:22 GMT</pubDate>
    <dc:creator>Shibo_Liu</dc:creator>
    <dc:date>2023-07-24T14:11:22Z</dc:date>
    <item>
      <title>MBDT and MPC5744P :How can I add my own LIN program to my MBDT auto-generated program?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-and-MPC5744P-How-can-I-add-my-own-LIN-program-to-my-MBDT/m-p/1691427#M8368</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello, I am using #mpc5744p&amp;nbsp;board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I want to realize the function of CAN communication and LIN communication.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;I completed the CAN communication part in the MBDT toolkit, called program A, but because there is no LIN module in the toolkit, I copied the S32DS example program to complete LIN communication in S32DS, called program B. And I successfully imported the program A generated by MBDT into S32DS.&lt;/SPAN&gt;&lt;SPAN class=""&gt; But I'm having trouble putting LIN program B into auto-generated program A.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;With some effort (mainly adding LINmodule and changing the auto-generated DEBUG_CAN_LIN.c), I was able to get LINFlexD_1 initialized.&lt;/SPAN&gt;&lt;SPAN class=""&gt; However, when communicating with LIN, I will encounter problems here. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;“LINFlexD_1.LINCR2.B.HTRQ = 1; &lt;/SPAN&gt;&lt;SPAN class=""&gt;/* Request header transmission */”&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I have attached my simulink program and S32DS project. I have spent a lot of efforts but still have not solved the problem, please help me.Thanks a lot.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 14:11:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT-and-MPC5744P-How-can-I-add-my-own-LIN-program-to-my-MBDT/m-p/1691427#M8368</guid>
      <dc:creator>Shibo_Liu</dc:creator>
      <dc:date>2023-07-24T14:11:22Z</dc:date>
    </item>
  </channel>
</rss>

