<?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>S32 Design StudioのトピックRe: Problem using flexcan_mpc5748g exemple with SDK 3.0.2</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Problem-using-flexcan-mpc5748g-exemple-with-SDK-3-0-2/m-p/1035811#M6093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I got the CHI and PE clock mixed up.&lt;/P&gt;&lt;P&gt;On my side, MC_ME_GS[S_FXOSC] is equal to 1, before and during the FLEXCAN_DRV_Init function.&lt;/P&gt;&lt;P&gt;If I select F40 or FXOSC for PE clock, the result is the same : CAN_MCR[NOTRDY] is equal to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh, one thing I have just noticed is that CAN_MCR[FRZ] and CAN_MCR[HALT] are not unset. I think my debugger is causing trouble* because when I run FLEXCAN_Enable() step y step, CAN_MCR[NOTRDY] is unset by the module. -.-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I solved my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Xavier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(*) It wouldn't be the first time...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2020 08:03:24 GMT</pubDate>
    <dc:creator>barthod</dc:creator>
    <dc:date>2020-04-09T08:03:24Z</dc:date>
    <item>
      <title>Problem using flexcan_mpc5748g exemple with SDK 3.0.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Problem-using-flexcan-mpc5748g-exemple-with-SDK-3-0-2/m-p/1035807#M6089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am currently working on the MPC5748G for my internship. I decided to try the highest SDK version (3.0.2) on this microcontroller.&lt;/P&gt;&lt;P&gt;I ran the flexcan_mpc5748g exemple proposed from S32DS Power.2.1. I followed the "How to run" section (from S32SDK user manual) to set-up the project and build it (with Processor expert).&lt;/P&gt;&lt;P&gt;Flash and debug is performed thanks to the iSystem IC5000 probe.&lt;/P&gt;&lt;P&gt;While debugging the program, everything works perfectly until initialising the flexcan driver. The program is stuck during the FLEXCAN_Enable function (Line 438 of flexcan_hardware_access.c) and more precisely on the while loop (Line 448 flexcan_hardware_access.c) waiting the flexcan to be enabled.&lt;/P&gt;&lt;P&gt;I have this problem on other programs using SDK 3.0.2 but everything works fine with SDK 0.8.1 while initialising the flexcan device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any clue or tricks that could help me bypass this issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for any given answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xavier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 14:56:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Problem-using-flexcan-mpc5748g-exemple-with-SDK-3-0-2/m-p/1035807#M6089</guid>
      <dc:creator>barthod</dc:creator>
      <dc:date>2020-03-02T14:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using flexcan_mpc5748g exemple with SDK 3.0.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Problem-using-flexcan-mpc5748g-exemple-with-SDK-3-0-2/m-p/1035808#M6090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;FLEXCAN_Enable function is used to leave Freeze mode to Normal mode. There should be no issue here, unless protocol clock is not active, i think.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 12:21:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Problem-using-flexcan-mpc5748g-exemple-with-SDK-3-0-2/m-p/1035808#M6090</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2020-03-05T12:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using flexcan_mpc5748g exemple with SDK 3.0.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Problem-using-flexcan-mpc5748g-exemple-with-SDK-3-0-2/m-p/1035809#M6091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I changed the clock source to FXOSC and now the module CAN0 is not stuck in FLEXCAN_Enable function, so it has solved my problem and helped me continue my project. The others module (1 to 7) are also working with FS80 source clock. But still I can't figure out why it isn't working with FS80 and SDK 3.0.2 for CAN0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a register indicating whether or not PE clock is enabled ? I only see AC9_SC[SELCTL] and AC9_SS[SELSTAT] telling me that FS80 is selected (equal to 0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Xavier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2020 09:57:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Problem-using-flexcan-mpc5748g-exemple-with-SDK-3-0-2/m-p/1035809#M6091</guid>
      <dc:creator>barthod</dc:creator>
      <dc:date>2020-04-03T09:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using flexcan_mpc5748g exemple with SDK 3.0.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Problem-using-flexcan-mpc5748g-exemple-with-SDK-3-0-2/m-p/1035810#M6092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PE clock can be sourced either from FXOSC or F40.&lt;/P&gt;&lt;P&gt;MC_ME_GS[S_FXOSC] = 1 shows FXOSC is stable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 21:20:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Problem-using-flexcan-mpc5748g-exemple-with-SDK-3-0-2/m-p/1035810#M6092</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2020-04-07T21:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using flexcan_mpc5748g exemple with SDK 3.0.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Problem-using-flexcan-mpc5748g-exemple-with-SDK-3-0-2/m-p/1035811#M6093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I got the CHI and PE clock mixed up.&lt;/P&gt;&lt;P&gt;On my side, MC_ME_GS[S_FXOSC] is equal to 1, before and during the FLEXCAN_DRV_Init function.&lt;/P&gt;&lt;P&gt;If I select F40 or FXOSC for PE clock, the result is the same : CAN_MCR[NOTRDY] is equal to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh, one thing I have just noticed is that CAN_MCR[FRZ] and CAN_MCR[HALT] are not unset. I think my debugger is causing trouble* because when I run FLEXCAN_Enable() step y step, CAN_MCR[NOTRDY] is unset by the module. -.-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I solved my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Xavier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(*) It wouldn't be the first time...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 08:03:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Problem-using-flexcan-mpc5748g-exemple-with-SDK-3-0-2/m-p/1035811#M6093</guid>
      <dc:creator>barthod</dc:creator>
      <dc:date>2020-04-09T08:03:24Z</dc:date>
    </item>
  </channel>
</rss>

