<?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>S32KのトピックRe: S32K Lin sleep/wake-up</title>
    <link>https://community.nxp.com/t5/S32K/S32K-Lin-sleep-wake-up/m-p/911253#M4721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Veronica,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have contacted our LinStack experts and it is an issue in LinDriver.&lt;/P&gt;&lt;P&gt;Please add this&amp;nbsp;code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if (linCurrentState-&amp;gt;currentNodeState != LIN_NODE_STATE_SLEEP_MODE)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void)LIN_LPUART_DRV_GotoIdleState(instance);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In the line 1944 of file lin_lpuart_driver.c (please see attached file for more information, we have updated this file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because of missing these line, the master node will not go to SLEEP_MODE right after sending sleep command but it still goto sleep after(4-10s).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding a wake-up signal. After the master goes to SLEEP_MODE, the master node can receive the wake-up signal normally. We do not see any error here.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jul 2019 11:23:47 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2019-07-16T11:23:47Z</dc:date>
    <item>
      <title>S32K Lin sleep/wake-up</title>
      <link>https://community.nxp.com/t5/S32K/S32K-Lin-sleep-wake-up/m-p/911252#M4720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hello,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;We are using a S32K board as a LIN master and are having some trouble with the go_to_sleep and wake-up messages. Firstly, when the go to sleep command is issued ( we are using l_ifc_goto_sleep() function from provided SDK), the master LIN node doesn't actually go into&amp;nbsp;LIN_NODE_STATE_SLEEP_MODE as it should. The lin_update_tx service does get triggered, but puts the node directly into IDLE state, instead of sleep. For the sake of testing, I have manually called the set low power mode function; when a slave issues a wake-up call, the interrupt gets triggered on the master, but the node remains in SLEEP state. It seems that while the&amp;nbsp;LIN_LPUART_DRV_CheckWakeupSignal() function is reached, because when the LIN master is in sleep state/low power the polarity of the receive data is false, the actual check if the received signal is a wake-up does not get performed. The LIN slaves in this configuration are from the S12 MagniV microcontrollers family.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Kind regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Veronica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2019 13:58:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-Lin-sleep-wake-up/m-p/911252#M4720</guid>
      <dc:creator>veronica</dc:creator>
      <dc:date>2019-06-28T13:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: S32K Lin sleep/wake-up</title>
      <link>https://community.nxp.com/t5/S32K/S32K-Lin-sleep-wake-up/m-p/911253#M4721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Veronica,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have contacted our LinStack experts and it is an issue in LinDriver.&lt;/P&gt;&lt;P&gt;Please add this&amp;nbsp;code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if (linCurrentState-&amp;gt;currentNodeState != LIN_NODE_STATE_SLEEP_MODE)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void)LIN_LPUART_DRV_GotoIdleState(instance);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In the line 1944 of file lin_lpuart_driver.c (please see attached file for more information, we have updated this file)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because of missing these line, the master node will not go to SLEEP_MODE right after sending sleep command but it still goto sleep after(4-10s).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding a wake-up signal. After the master goes to SLEEP_MODE, the master node can receive the wake-up signal normally. We do not see any error here.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 11:23:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-Lin-sleep-wake-up/m-p/911253#M4721</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-07-16T11:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: S32K Lin sleep/wake-up</title>
      <link>https://community.nxp.com/t5/S32K/S32K-Lin-sleep-wake-up/m-p/911254#M4722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Diana!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer! I will try the suggested fix and post here if I see anymore problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Veronica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2019 11:30:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-Lin-sleep-wake-up/m-p/911254#M4722</guid>
      <dc:creator>veronica</dc:creator>
      <dc:date>2019-07-16T11:30:45Z</dc:date>
    </item>
  </channel>
</rss>

