<?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: fs23 Lin mode swith question in Power Management</title>
    <link>https://community.nxp.com/t5/Power-Management/fs23-Lin-mode-swith-question/m-p/1994564#M3915</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211858"&gt;@gumu&lt;/a&gt;&amp;nbsp;, I got confirmation from hardware team that it's a normal behaviour. I&lt;SPAN data-teams="true"&gt;n debug mode, the transceiver mode is forced ACTIVE. So even if you try and change the LIN_MODE field to OFFLINE (OFF, 2b00) then the transceiver stays in active mode.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2024 10:07:23 GMT</pubDate>
    <dc:creator>quangvuanh</dc:creator>
    <dc:date>2024-11-14T10:07:23Z</dc:date>
    <item>
      <title>fs23 Lin mode swith question</title>
      <link>https://community.nxp.com/t5/Power-Management/fs23-Lin-mode-swith-question/m-p/1993707#M3910</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We encountered a question while debugging the FS LIN functionality. Specifically, we found that in debug mode, we cannot set the&amp;nbsp;&lt;/SPAN&gt;LINTRCV_FS23_TRCVMODE_OFF&lt;SPAN&gt;&amp;nbsp;mode using the&amp;nbsp;&lt;/SPAN&gt;LinTrcv_fs23_SetMode()&lt;SPAN&gt;&amp;nbsp;function. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The code snippet is as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Std_ReturnType LinTrcv_fs23_SetMode(uint8 u8LinNetwork, LinTrcv_fs23_TrcvModeType eOpMode)
{
    uint16 u16RegData = 0U;
    Std_ReturnType eStatus;
    LinTrcv_fs23_TrcvModeType eNewHwOpMode = LINTRCV_FS23_TRCVMODE_INVALID;
    /* Read M_LIN register. */
    eStatus = Sbc_fs23_ReadRegister(SBC_FS23_M_LIN_ADDR, &amp;amp;u16RegData);

    if ((Std_ReturnType)E_OK == eStatus)
    {
        /* Set new register value. */
        u16RegData &amp;amp;= ~(SBC_FS23_M_LIN_MODE_MASK | SBC_FS23_M_LIN_SLOPE_MASK| SBC_FS23_M_LIN_FS_DIS_MASK);
        if(TRUE == xG_drivers[u8LinNetwork].bLinSlowSlope)
        {
            u16RegData |= SBC_FS23_M_LIN_SLOPE_SLOW;
        }
        if(FALSE == xG_drivers[u8LinNetwork].bLinFailsafeDisable)
        {
            u16RegData |= SBC_FS23_M_LIN_FS_DIS_KEEP;
        }
        u16RegData |= ((uint16)eOpMode &amp;lt;&amp;lt; SBC_FS23_M_LIN_MODE_SHIFT);

        eStatus = Sbc_fs23_WriteRegister(SBC_FS23_M_LIN_ADDR, u16RegData);
....
        /*Check the real hardware state*/
        eStatus |= LinTrcv_fs23_GetMode(u8LinNetwork, &amp;amp;eNewHwOpMode);
        if((eNewHwOpMode == eOpMode) &amp;amp;&amp;amp; ((Std_ReturnType)E_OK == eStatus))
        {
            eStatus = (Std_ReturnType)E_OK;
        }
        else
        {
            eStatus = (Std_ReturnType)E_NOT_OK;
        }
    }

    return eStatus;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;eOpMode is&amp;nbsp;LINTRCV_FS23_TRCVMODE_OFF,&amp;nbsp; the eNewHwOpMode&amp;nbsp; is&amp;nbsp;LINTRCV_FS23_TRCVMODE_NORMAL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The manual states that in debug mode, LIN defaults to active mode. Is this behavior normal?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 12:13:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs23-Lin-mode-swith-question/m-p/1993707#M3910</guid>
      <dc:creator>gumu</dc:creator>
      <dc:date>2024-11-13T12:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: fs23 Lin mode swith question</title>
      <link>https://community.nxp.com/t5/Power-Management/fs23-Lin-mode-swith-question/m-p/1993741#M3911</link>
      <description>&lt;P&gt;Hi Quang (&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220202"&gt;@quangvuanh&lt;/a&gt;),&lt;/P&gt;
&lt;P&gt;Could you please help with this question from&amp;nbsp;Anhui Zhitu Technology China?&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; BRs, Tomas&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 13:25:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs23-Lin-mode-swith-question/m-p/1993741#M3911</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2024-11-13T13:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: fs23 Lin mode swith question</title>
      <link>https://community.nxp.com/t5/Power-Management/fs23-Lin-mode-swith-question/m-p/1994550#M3914</link>
      <description>Hi, I have to check with hardware team. Can you please let me know what version of FS23 that you have? Or what is the part number?</description>
      <pubDate>Thu, 14 Nov 2024 09:54:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs23-Lin-mode-swith-question/m-p/1994550#M3914</guid>
      <dc:creator>quangvuanh</dc:creator>
      <dc:date>2024-11-14T09:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: fs23 Lin mode swith question</title>
      <link>https://community.nxp.com/t5/Power-Management/fs23-Lin-mode-swith-question/m-p/1994564#M3915</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211858"&gt;@gumu&lt;/a&gt;&amp;nbsp;, I got confirmation from hardware team that it's a normal behaviour. I&lt;SPAN data-teams="true"&gt;n debug mode, the transceiver mode is forced ACTIVE. So even if you try and change the LIN_MODE field to OFFLINE (OFF, 2b00) then the transceiver stays in active mode.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 10:07:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs23-Lin-mode-swith-question/m-p/1994564#M3915</guid>
      <dc:creator>quangvuanh</dc:creator>
      <dc:date>2024-11-14T10:07:23Z</dc:date>
    </item>
  </channel>
</rss>

