<?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: 8ULP TPM3  unexpected behavior when switching power modes in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1799304#M219476</link>
    <description>&lt;P&gt;Hi Aldo,&lt;BR /&gt;Thank you for your assistance.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 00:07:00 GMT</pubDate>
    <dc:creator>MaxSaka</dc:creator>
    <dc:date>2024-02-01T00:07:00Z</dc:date>
    <item>
      <title>8ULP TPM3  unexpected behavior when switching power modes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1792644#M218987</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have been exploring the "evkmimx8ulp_power_mode_switch" example which has been customized to support the MaaXBoard 8ulp hardware (&lt;A href="https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-8ulp/" target="_blank"&gt;https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-8ulp/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;On this hardware, TPM3 is used to drive the backlight of the MIPI display and does operate properly, the A35 core can successfully set the backlight intensity and TPM3 will shut off when the A35 core is placed in suspend mode.&lt;/P&gt;&lt;P&gt;Issues arise while exercising the various power modes through the M33 application and the A35 core is suspended, for example, If the M33 core is placed into Deep Sleep mode through the examples console,&amp;nbsp;the backlight activates (TPM3 turns on) however, when exercising Sleep Mode the backlight remains off. It is my expectation that TPM3 should remain off while the A35 core is suspended regardless of the power mode.&lt;/P&gt;&lt;P&gt;Can you please help us identify the potential causes for this behavior, why would TPM3 behave differently when the M33 is in Deep Sleep mode vs Sleep mode.&lt;/P&gt;&lt;P&gt;Running&amp;nbsp;imx-6.1.22-2.0.0 on silicon version A2&lt;BR /&gt;The source code I'm working with is located here&lt;BR /&gt;&lt;A href="https://github.com/MaximSaka/maaxboard8ulp_power_mode_switch" target="_blank"&gt;https://github.com/MaximSaka/maaxboard8ulp_power_mode_switch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for any insight you may be able to provide.&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 06:10:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1792644#M218987</guid>
      <dc:creator>MaxSaka</dc:creator>
      <dc:date>2024-01-22T06:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: 8ULP TPM3  unexpected behavior when switching power modes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1794173#M219116</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I'll need to keep looking more deep into this, since as per RM TPM3 is part of the DSP domain, when M33 goes into deep sleep PCC2 module is Clock gated, when it goes to sleep PCC2 module remains active, this is the only thing that I could see that is "different" between this 2 power modes that could cause some kind of unexpected behavior.&lt;BR /&gt;&lt;BR /&gt;This may be a good starting point, Fusion DSP can operate is Deep Sleep mode if FRO clock is available. Could you try enabling FRO clock in the Deep sleep routine of the M33?&lt;BR /&gt;&lt;BR /&gt;I did not go full into all your code, but I believe you have everything covered for sharing TPM3 between M33 and A35, right?&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 00:41:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1794173#M219116</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2024-01-24T00:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: 8ULP TPM3  unexpected behavior when switching power modes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1794971#M219174</link>
      <description>&lt;P&gt;Hi Aldo,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;It appears that the switch to FRO is already accounted for in function&amp;nbsp;&lt;SPAN&gt;LPM_SystemDeepSleep(). which will execute the following lines:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; /*&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Switch clock source from PLL0/1 to FRO to save more power during Power Down,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* then switch back after wakeup in function BOARD_ResumeClockInit()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;BOARD_SwitchToFROClk&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;BOARD_GetRtdDriveMode&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;BOARD_DisablePlls&lt;/SPAN&gt;&lt;SPAN&gt;();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;I was wondering if I need to disable PWM or TPM3 in the&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;APP_SRTM_Suspend() function. Currently this function is called however it is empty.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;APP_SRTM_Suspend() is called at the end of APP_Suspend()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Regards.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 00:52:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1794971#M219174</guid>
      <dc:creator>MaxSaka</dc:creator>
      <dc:date>2024-01-25T00:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: 8ULP TPM3  unexpected behavior when switching power modes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1798114#M219402</link>
      <description>&lt;P&gt;Hi Aldo,&lt;/P&gt;&lt;P&gt;Were you able to look into this any further?&lt;/P&gt;&lt;P&gt;Please let me know.&lt;BR /&gt;Best Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 00:07:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1798114#M219402</guid>
      <dc:creator>MaxSaka</dc:creator>
      <dc:date>2024-01-31T00:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: 8ULP TPM3  unexpected behavior when switching power modes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1799296#M219475</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Unfortunately I couldn't find anything else aside from the information I have already shared with you, &lt;BR /&gt;I have contacted internal team regarding this, I will update here as soon as I get more information.&lt;BR /&gt;&lt;BR /&gt;Thank you for your patience,&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 00:03:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1799296#M219475</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2024-02-01T00:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: 8ULP TPM3  unexpected behavior when switching power modes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1799304#M219476</link>
      <description>&lt;P&gt;Hi Aldo,&lt;BR /&gt;Thank you for your assistance.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 00:07:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1799304#M219476</guid>
      <dc:creator>MaxSaka</dc:creator>
      <dc:date>2024-02-01T00:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: 8ULP TPM3  unexpected behavior when switching power modes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1799351#M219478</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I had an small Idea Could you share which is the mux you have used for TPM3 on your design for backlight?&lt;BR /&gt;&lt;BR /&gt;This because some of the mux options for TPM3 are used as wakeup source:&lt;BR /&gt;&lt;A href="https://github.com/MaximSaka/maaxboard8ulp_power_mode_switch/blob/main/power_mode_switch.c#L277" target="_blank"&gt;https://github.com/MaximSaka/maaxboard8ulp_power_mode_switch/blob/main/power_mode_switch.c#L277&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 01:06:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1799351#M219478</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2024-02-01T01:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: 8ULP TPM3  unexpected behavior when switching power modes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1799375#M219480</link>
      <description>&lt;P&gt;Hi Aldo,&lt;/P&gt;&lt;P&gt;The IOMUX using PTB13 as TPM3_CH5 on MaaXBoard-8ULP.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 02:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1799375#M219480</guid>
      <dc:creator>MaxSaka</dc:creator>
      <dc:date>2024-02-01T02:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: 8ULP TPM3  unexpected behavior when switching power modes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1800239#M219539</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Thank you for sharing, please try adding this pin to the skiped ones so it is not overwritten:&lt;BR /&gt;&lt;A href="https://github.com/MaximSaka/maaxboard8ulp_power_mode_switch/blob/main/power_mode_switch.c#L388" target="_blank"&gt;https://github.com/MaximSaka/maaxboard8ulp_power_mode_switch/blob/main/power_mode_switch.c#L388&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 19:33:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1800239#M219539</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2024-02-01T19:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: 8ULP TPM3  unexpected behavior when switching power modes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1800514#M219557</link>
      <description>&lt;P&gt;Hi Aldo,&lt;/P&gt;&lt;P&gt;I made the change you recommended however, that did not make a difference.&lt;/P&gt;&lt;P&gt;While testing further I did observe that the backlight remains off while in deep sleep mode and turns on once the M core resumes. Subsequently, if the A core is resumed it no longer is able to control the backlight and a&amp;nbsp;reboot is required to restore the backlight control.&lt;/P&gt;&lt;P&gt;It seems to me that the issue is&amp;nbsp;somehow related to the M core resuming after deep sleep mode.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 05:50:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1800514#M219557</guid>
      <dc:creator>MaxSaka</dc:creator>
      <dc:date>2024-02-02T05:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: 8ULP TPM3  unexpected behavior when switching power modes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1805474#M219891</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;Sorry for the delayed response, it is really difficult to really find whats going on at this point, I believe that there may be something in the code that it is causing the M-Core to take domain over the pad/peripheral. If possible have you tried to reproduce a similar scenario on an NXP EVK?&lt;BR /&gt;&lt;BR /&gt;Just to make sure at which poin it is causing the issue, could you try setting the M-Core and A-core into deep sleep and only waking-up the A-core?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Also, please try to skip the disabling of PTB block in this section of the code:&lt;BR /&gt;&lt;A href="https://github.com/MaximSaka/maaxboard8ulp_power_mode_switch/blob/main/power_mode_switch.c#L385" target="_blank"&gt;https://github.com/MaximSaka/maaxboard8ulp_power_mode_switch/blob/main/power_mode_switch.c#L385&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Similar to what it is doing here:&lt;BR /&gt;&lt;A href="https://github.com/MaximSaka/maaxboard8ulp_power_mode_switch/blob/main/power_mode_switch.c#L385" target="_blank"&gt;https://github.com/MaximSaka/maaxboard8ulp_power_mode_switch/blob/main/power_mode_switch.c#L385&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 20:21:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1805474#M219891</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2024-02-12T20:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: 8ULP TPM3  unexpected behavior when switching power modes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1806811#M219966</link>
      <description>&lt;P&gt;Hi Aldo,&lt;/P&gt;&lt;P&gt;Thank you for your continued support, I will try your suggestion and provide feedback.&lt;BR /&gt;The EVK that I have is an older version with A0 silicon, do you think that matters in this case? If not, I can try to reproduce the issue on the EVK.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 20:52:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1806811#M219966</guid>
      <dc:creator>MaxSaka</dc:creator>
      <dc:date>2024-02-14T20:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: 8ULP TPM3  unexpected behavior when switching power modes</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1809506#M220003</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I don't think that this will be an issue for the test (A0 vs A1), so please give it a try. Please do let me know of the results.&lt;BR /&gt;&lt;BR /&gt;Best regards/Salduos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 21:45:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8ULP-TPM3-unexpected-behavior-when-switching-power-modes/m-p/1809506#M220003</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2024-02-15T21:45:16Z</dc:date>
    </item>
  </channel>
</rss>

