<?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>MPC5xxxのトピックMPC5746C Mode Entry Help</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Mode-Entry-Help/m-p/1891669#M25645</link>
    <description>&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;I am trying to follow the steps in the TRM to properly initialize my controller with the Mode Entry module. I have some Mode Entry module code written in main.c that I believe closely resembles the instructions from the manual, but when my program tries to execute the second write to the MC_ME_MCTL register, it just hangs. Also, according to the MC_ME_GS register, the controller appears to start a mode transition but it never completes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please take a look at my project (attached) and help me identify what the problem is?&lt;/P&gt;&lt;P&gt;My end goal is to get the ADC1 module operational: configure the ADC registers and then read from the ADC. You will notice that I haven't enabled any clocks for other peripherals, and that is the reason.&lt;/P&gt;&lt;P&gt;Thank you for your time!&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2024 20:53:36 GMT</pubDate>
    <dc:creator>pstammii</dc:creator>
    <dc:date>2024-06-20T20:53:36Z</dc:date>
    <item>
      <title>MPC5746C Mode Entry Help</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Mode-Entry-Help/m-p/1891669#M25645</link>
      <description>&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;I am trying to follow the steps in the TRM to properly initialize my controller with the Mode Entry module. I have some Mode Entry module code written in main.c that I believe closely resembles the instructions from the manual, but when my program tries to execute the second write to the MC_ME_MCTL register, it just hangs. Also, according to the MC_ME_GS register, the controller appears to start a mode transition but it never completes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please take a look at my project (attached) and help me identify what the problem is?&lt;/P&gt;&lt;P&gt;My end goal is to get the ADC1 module operational: configure the ADC registers and then read from the ADC. You will notice that I haven't enabled any clocks for other peripherals, and that is the reason.&lt;/P&gt;&lt;P&gt;Thank you for your time!&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 20:53:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Mode-Entry-Help/m-p/1891669#M25645</guid>
      <dc:creator>pstammii</dc:creator>
      <dc:date>2024-06-20T20:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C Mode Entry Help</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Mode-Entry-Help/m-p/1891959#M25648</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;but when my program tries to execute the second write to the MC_ME_MCTL register, it just hangs.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;not sure what prevents you from transition, there could be following reasons:&lt;/P&gt;
&lt;P&gt;1. You have incorrectly configured clocks&lt;/P&gt;
&lt;P&gt;2. you have peripherals which clock is still active. For example CAN module, PWM module, etc.. is still running from clock source which will be changed in target mode.&lt;/P&gt;
&lt;P&gt;I suggest to have a look at very basic examples either community ones or S32DS ones:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5-software-example-list/ta-p/1102445#MPC5746C" target="_blank"&gt;https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5-software-example-list/ta-p/1102445#MPC5746C&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 07:29:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Mode-Entry-Help/m-p/1891959#M25648</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-06-21T07:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C Mode Entry Help</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Mode-Entry-Help/m-p/1892276#M25650</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/13836"&gt;@petervlna&lt;/a&gt;&amp;nbsp; Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I am looking at example&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-334669" target="_blank" rel="noopener"&gt;MPC5746C PIT ISR GHS614&lt;/A&gt;&amp;nbsp;and trying to mimic Mode Entry steps from that. I am still having same issue but I will keep trying.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Question: Can I alternatively use the clock_manager component inside Processor Expert to do the Mode Entry work for me? Will it work standalone or do I still need supplement the clock_manager component with code to get everything working just right?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Paul&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 17:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Mode-Entry-Help/m-p/1892276#M25650</guid>
      <dc:creator>pstammii</dc:creator>
      <dc:date>2024-06-21T17:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C Mode Entry Help</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Mode-Entry-Help/m-p/1892657#M25654</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;there is a clock configuration guide:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/power-architecture/mpc5xxx-microcontrollers/ultra-reliable-mpc57xx-mcus/ultra-reliable-mpc574xb-c-g-mcus-for-automotive-and-industrial-control-and-gateway:MPC574xB-C-G" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/power-architecture/mpc5xxx-microcontrollers/ultra-reliable-mpc57xx-mcus/ultra-reliable-mpc574xb-c-g-mcus-for-automotive-and-industrial-control-and-gateway:MPC574xB-C-G&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1719212957021.png" style="width: 572px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/285377iD2FC7944BFA44200/image-dimensions/572x344?v=v2" width="572" height="344" role="button" title="petervlna_0-1719212957021.png" alt="petervlna_0-1719212957021.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Such will ease your work with clocks and their configuration.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN5392.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN5392.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 07:09:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Mode-Entry-Help/m-p/1892657#M25654</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2024-06-24T07:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C Mode Entry Help</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Mode-Entry-Help/m-p/1893045#M25663</link>
      <description>&lt;P&gt;Thanks Peter.&lt;/P&gt;&lt;P&gt;The issue was incorrectly configured clocks, as you suggested. Once I got that right I ended up just using the clock_manager inside Processor Expert to configure everything and initialized by calling the two functions below, which I learned about through some of the examples in the S32 SDK (the functions are in clock_MPC57xx.c). Just using the CLOCK_DRV_Init processor expert function was not enough.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pstammii_0-1719253389991.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/285495iFAE85BBC550A975C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pstammii_0-1719253389991.png" alt="pstammii_0-1719253389991.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 18:24:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Mode-Entry-Help/m-p/1893045#M25663</guid>
      <dc:creator>pstammii</dc:creator>
      <dc:date>2024-06-24T18:24:06Z</dc:date>
    </item>
  </channel>
</rss>

