<?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: Question about lin_master_baremetal example project in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Question-about-lin-master-baremetal-example-project/m-p/1861497#M35115</link>
    <description>&lt;P&gt;Hello, i have more updates:&lt;BR /&gt;so i have seen that the header is sent seperatly in other functions for instance:&lt;/P&gt;&lt;P&gt;BREAK: is sent from "&lt;SPAN&gt;LIN_LPUART_DRV_MasterSendHeader&lt;/SPAN&gt;&lt;SPAN&gt;" function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SYNCH: is sent form "&lt;SPAN&gt;LIN_LPUART_DRV_ProcessBreakDetect&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;PID: is sent from "&lt;SPAN&gt;LIN_LPUART_DRV_ProcessFrameHeader&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;and the tx_buffer is sent from the function "&lt;SPAN&gt;LIN_LPUART_DRV_ProcessSendFrameData&lt;/SPAN&gt;", but why then we do this line in&amp;nbsp; "&lt;SPAN&gt;LIN_LPUART_DRV_SendFrameData&lt;/SPAN&gt;" function&lt;BR /&gt;&lt;EM&gt;LPUART_Putchar(base,&lt;/EM&gt; *linCurrentState-&amp;gt;txBuff);&lt;BR /&gt;&lt;BR /&gt;it seems like we are putting tx_buffer in DATA register 2 times one in "&lt;SPAN&gt;LIN_LPUART_DRV_SendFrameData&lt;/SPAN&gt;&lt;SPAN&gt;" and other time in "&lt;/SPAN&gt;&lt;SPAN&gt;LIN_LPUART_DRV_ProcessSendFrameData&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2024 13:32:41 GMT</pubDate>
    <dc:creator>elb1</dc:creator>
    <dc:date>2024-05-08T13:32:41Z</dc:date>
    <item>
      <title>Question about lin_master_baremetal example project</title>
      <link>https://community.nxp.com/t5/S32K/Question-about-lin-master-baremetal-example-project/m-p/1860421#M35040</link>
      <description>&lt;P&gt;Hello, i wanted to use the lin drivers from lin_master_baremetal example project for my freertos project, while i am going through this project i noticed that for send function (LIN_DRV_SendFrameData) it doesn't have the steps to send SYNCH nor PID, but it does it like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/* Set Break char detect length as 10 bits minimum */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LPUART_SetBreakCharDetectLength(base, LPUART_BREAK_CHAR_10_BIT_MINIMUM);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/* Set node's current state to SEND_DATA */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;linCurrentState-&amp;gt;currentNodeState = LIN_NODE_STATE_SEND_DATA;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/* Start sending data */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LPUART_Putchar(base, *linCurrentState-&amp;gt;txBuff);&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;so it just send the break, then it will call this function "&lt;EM&gt;LPUART_Putchar&lt;/EM&gt;" but how the synch and other stuff are sent ?&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 09:47:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Question-about-lin-master-baremetal-example-project/m-p/1860421#M35040</guid>
      <dc:creator>elb1</dc:creator>
      <dc:date>2024-05-07T09:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Question about lin_master_baremetal example project</title>
      <link>https://community.nxp.com/t5/S32K/Question-about-lin-master-baremetal-example-project/m-p/1861497#M35115</link>
      <description>&lt;P&gt;Hello, i have more updates:&lt;BR /&gt;so i have seen that the header is sent seperatly in other functions for instance:&lt;/P&gt;&lt;P&gt;BREAK: is sent from "&lt;SPAN&gt;LIN_LPUART_DRV_MasterSendHeader&lt;/SPAN&gt;&lt;SPAN&gt;" function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SYNCH: is sent form "&lt;SPAN&gt;LIN_LPUART_DRV_ProcessBreakDetect&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;PID: is sent from "&lt;SPAN&gt;LIN_LPUART_DRV_ProcessFrameHeader&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;and the tx_buffer is sent from the function "&lt;SPAN&gt;LIN_LPUART_DRV_ProcessSendFrameData&lt;/SPAN&gt;", but why then we do this line in&amp;nbsp; "&lt;SPAN&gt;LIN_LPUART_DRV_SendFrameData&lt;/SPAN&gt;" function&lt;BR /&gt;&lt;EM&gt;LPUART_Putchar(base,&lt;/EM&gt; *linCurrentState-&amp;gt;txBuff);&lt;BR /&gt;&lt;BR /&gt;it seems like we are putting tx_buffer in DATA register 2 times one in "&lt;SPAN&gt;LIN_LPUART_DRV_SendFrameData&lt;/SPAN&gt;&lt;SPAN&gt;" and other time in "&lt;/SPAN&gt;&lt;SPAN&gt;LIN_LPUART_DRV_ProcessSendFrameData&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 13:32:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Question-about-lin-master-baremetal-example-project/m-p/1861497#M35115</guid>
      <dc:creator>elb1</dc:creator>
      <dc:date>2024-05-08T13:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Question about lin_master_baremetal example project</title>
      <link>https://community.nxp.com/t5/S32K/Question-about-lin-master-baremetal-example-project/m-p/1865357#M35336</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;to start master sending LIN header, a&amp;nbsp;LIN_DRV_MasterSendHeader is called with an ID to be sent. Driver is calling interrupt to send break, sync and PID. Once PID is successfully transmitted a callback is called with eventID LIN_PID_OK. In that case based on your ID you should either publish response (LIN_DRV_SendFrameData) or request response (LIN_DRV_ReceiveFrameData). Callback with&amp;nbsp;LIN_TX_COMPLETED/LIN_RX_COMPLETED event ID is called after full frame is processed.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 11:20:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Question-about-lin-master-baremetal-example-project/m-p/1865357#M35336</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-05-14T11:20:30Z</dc:date>
    </item>
  </channel>
</rss>

