<?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: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS) in FreeMASTER</title>
    <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1380615#M830</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100557"&gt;@iulian_stan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;I think the example project was indeed made with an older version with DS, but I was able to build it with S32 DS for PA 2.1 by updating the path to EWL library. The old version expects it to be in&lt;/SPAN&gt;&lt;EM&gt;S32DS_Power_v2.1\S32DS\e200_ewl2,&lt;/EM&gt;&lt;SPAN&gt;but it seems to be moved to S32DS_Power_v2.1\S32DS\&lt;/SPAN&gt;&lt;STRONG&gt;build_tools&lt;/STRONG&gt;&lt;SPAN&gt;\e200_ewl2.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Thanks you very much. These changes works fine. The program runs on the board now&amp;nbsp;(Using S32DS v2.1) and the variables can be monitored using freemaster properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For the other case I'll make changes as per to your suggestions and give an update on that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks and regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Gayan.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2021 12:13:37 GMT</pubDate>
    <dc:creator>Gayan_Niroshana</dc:creator>
    <dc:date>2021-12-02T12:13:37Z</dc:date>
    <item>
      <title>Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1378063#M819</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need some help with connecting DEVKIT-MPC5744P to Freemaster tool via on board OpenSDA interface.&lt;/P&gt;&lt;P&gt;DEVKIT-MPC5744P -&amp;nbsp;&lt;A href="https://www.nxp.com/design/development-boards/automotive-development-platforms/mpc57xx-mcu-platforms/mpc5744p-development-board-for-functional-safety-motor-control:DEVKIT-MPC5744P" target="_self"&gt;https://www.nxp.com/design/development-boards/automotive-development-platforms/mpc57xx-mcu-platforms/mpc5744p-development-board-for-functional-safety-motor-control:DEVKIT-MPC5744P&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using&amp;nbsp;DEVKIT-MPC5744P with S32 Design Studio for my projects and I want to use Freemaster tool for real time debugging. I couldn't find any example project for this board that utilize freemaster. As per to my knowledge, connecting the board to freemaster via on board OpenSDA interface should be done using UART module on the MC.&lt;/P&gt;&lt;P&gt;I could not find any example or documentation on&lt;STRONG&gt; how to configure UART module in order to connect to freemaster&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone please provide any example or documentation on this matter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Gayan.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 08:36:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1378063#M819</guid>
      <dc:creator>Gayan_Niroshana</dc:creator>
      <dc:date>2021-11-29T08:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1378118#M820</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193013"&gt;@Gayan_Niroshana&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can start by downloading &lt;STRONG&gt;FreeMASTER Communication Driver&lt;/STRONG&gt; package available on&amp;nbsp;&lt;A href="https://www.nxp.com/freemaster" target="_self"&gt;FreeMASTER page&lt;/A&gt;&amp;nbsp; under &lt;STRONG&gt;Downloads&lt;/STRONG&gt; tab.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163429iE04474FB2B0C4B63/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This package include&amp;nbsp;FreeMASTER Driver source code, documentation and example applications. By default it will extract all the content into&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;C:\NXP\FreeMASTER_Serial_Communication_Driver_V2.0&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;You can refer to the user guide located in &lt;EM&gt;&lt;STRONG&gt;doc\UserGuide&lt;/STRONG&gt;&lt;/EM&gt; for driver configuration. MPC57xx example applications can be found in&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;examples\SCI_driver_examples\MPC57xx&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;Additionally, there are a few &lt;A href="https://community.nxp.com/t5/FreeMASTER-Knowledge-Base/Communication-Driver-Application-Configuration/ta-p/1117797" target="_self"&gt;articles&lt;/A&gt; explaining how to add FreeMASTER dependencies and configure the driver.&lt;/P&gt;
&lt;P&gt;Hope it helps,&lt;BR /&gt;Iulian&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 09:48:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1378118#M820</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2021-11-29T09:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1378578#M821</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100557"&gt;@iulian_stan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you very much for help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this example here; &lt;EM&gt;&lt;STRONG&gt;C:\NXP\FreeMASTER_Serial_Communication_Driver_V2.0\examples\SCI_driver_examples\MPC57xx\MPC574xP_EVB&lt;/STRONG&gt;&lt;/EM&gt; for my board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently using S32 DS v2.1. This example can't be compiled and it shows following errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-11-29 175507.png" style="width: 737px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163514i5674A986E87B3D68/image-dimensions/737x140?v=v2" width="737" height="140" role="button" title="Screenshot 2021-11-29 175507.png" alt="Screenshot 2021-11-29 175507.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this a version mismatch of S32 DS or any other reason?&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Gayan.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 04:57:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1378578#M821</guid>
      <dc:creator>Gayan_Niroshana</dc:creator>
      <dc:date>2021-11-30T04:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1379433#M827</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100557"&gt;@iulian_stan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I added Freemaster configurations to the example project &lt;EM&gt;&lt;STRONG&gt;adc_swtrigger_mpc5744P&lt;/STRONG&gt;&lt;/EM&gt; given in &lt;STRONG&gt;SDK PA RTM v3.0.3 Example Projects&lt;/STRONG&gt; in S32 DS for PA.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example works fine on my board (DEVKIT-MPC5744P) without freemaster configs. But after I call&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;FMSTR_Init() &lt;/STRONG&gt;&lt;/EM&gt;function in the code, even the example does not work on the dev board. I followed the steps described in this video(Though it describes for ARM MCs).&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/FreeMASTER-Knowledge-Base/Communication-Driver-Application-Configuration/ta-p/1117797" target="_self"&gt;Communication Driver - Application Configuration&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would be the reason for this?&lt;/P&gt;&lt;P&gt;And where can I find a tutorial on freemaster configurations for Power Architecture MCs.&lt;/P&gt;&lt;P&gt;I have attached the example project with freemaster configs added.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gayan.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 06:57:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1379433#M827</guid>
      <dc:creator>Gayan_Niroshana</dc:creator>
      <dc:date>2021-12-01T06:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1380582#M828</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193013"&gt;@Gayan_Niroshana&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I think the example project was indeed made with an older version with DS, but I was able to build it with S32 DS for PA 2.1 by updating the path to EWL library. The old version expects it to be in &lt;EM&gt;S32DS_Power_v2.1\S32DS\e200_ewl2,&lt;/EM&gt; but it seems to be moved to S32DS_Power_v2.1\S32DS\&lt;STRONG&gt;build_tools&lt;/STRONG&gt;\e200_ewl2.&lt;/P&gt;
&lt;P&gt;Here are my changes:&lt;/P&gt;
&lt;P&gt;1. Update &lt;EM&gt;Sysroot&amp;nbsp;&lt;/EM&gt;in &lt;EM&gt;Target Processor&amp;nbsp;&lt;/EM&gt;Settings:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163904iA531BF597653E204/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Update Include &lt;EM&gt;Path and Symbols&lt;/EM&gt;:&lt;EM&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture1.PNG" style="width: 925px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163905i729531B98A83CBF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One thing to note - as far as I know there were multiple revisions of the board - make sure PIN routing used in the project (periphinit.c) matches your board.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 11:19:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1380582#M828</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2021-12-02T11:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1380605#M829</link>
      <description>&lt;P&gt;Unfortunately there is no separate guide for Power Architecture boards - the same steps should work in both cases (ARM and PA).&lt;/P&gt;
&lt;P&gt;Currently I don't have a board to check your example, but I will try to get one and post an update here.&lt;/P&gt;
&lt;P&gt;A few things I could suggest:&lt;/P&gt;
&lt;P&gt;1. (before adding FreeMASTER) Add UART communication and confirm that your main application works and you are able to send/receive data over UART.&lt;BR /&gt;2. Add FreeMASTER (start with polling mode - FMSTR_POLL_DRIVEN, for test purpose call only FMSTR_Poll function in the main loop to ensure the communication works and then enable your application custom logic, also, I would call FMSTR_Init after board initialization functions - before the main loop).&lt;/P&gt;
&lt;P&gt;Side notes: I saw that freemaster.h and freemaster_cfg.h are included twice in your project so I would remove &lt;EM&gt;include&lt;/EM&gt; folder with both files as they are already included - the first one via FreeMASTER SDK and and the second one via Source folder).&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 11:53:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1380605#M829</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2021-12-02T11:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1380615#M830</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100557"&gt;@iulian_stan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;I think the example project was indeed made with an older version with DS, but I was able to build it with S32 DS for PA 2.1 by updating the path to EWL library. The old version expects it to be in&lt;/SPAN&gt;&lt;EM&gt;S32DS_Power_v2.1\S32DS\e200_ewl2,&lt;/EM&gt;&lt;SPAN&gt;but it seems to be moved to S32DS_Power_v2.1\S32DS\&lt;/SPAN&gt;&lt;STRONG&gt;build_tools&lt;/STRONG&gt;&lt;SPAN&gt;\e200_ewl2.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Thanks you very much. These changes works fine. The program runs on the board now&amp;nbsp;(Using S32DS v2.1) and the variables can be monitored using freemaster properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For the other case I'll make changes as per to your suggestions and give an update on that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks and regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Gayan.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 12:13:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1380615#M830</guid>
      <dc:creator>Gayan_Niroshana</dc:creator>
      <dc:date>2021-12-02T12:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1383944#M840</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100557"&gt;@iulian_stan&lt;/a&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I used &lt;EM&gt;&lt;STRONG&gt;linflexd_uart_echo_mpc5774p&lt;/STRONG&gt;&lt;/EM&gt; example to test UART communication with PC. Example runs properly on the board and the dev-board can communicate with the PC. Then I included freemaster SDK to the same example and,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First&lt;/STRONG&gt; - Only the &lt;EM&gt;&lt;STRONG&gt;FMSTR_Poll&lt;/STRONG&gt;&lt;/EM&gt; function with &lt;EM&gt;&lt;STRONG&gt;FMSTR_POLL_DRIVEN&lt;/STRONG&gt;&lt;/EM&gt; enabled. In this case example run properly and UART communication works. Freemaster app &lt;STRONG&gt;does not recognize&lt;/STRONG&gt;&amp;nbsp;the dev-board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Second&lt;/STRONG&gt; - Included interrupt handler functions for freemaster , INT_SYS_InstallHandler(LINFLEXD0_RX_IRQn, FMSTR_Isr, NULL); INT_SYS_InstallHandler(LINFLEXD0_TX_IRQn, FMSTR_Isr, NULL); with&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;FMSTR_SHORT_INTR&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;enabled. This time even the example does not work; i.e. UART communication between PC and the dev-board isn't working.&lt;/P&gt;&lt;P&gt;I'm not sure these interrupt handler functions work with MPC5744P, as I picked them from the tutorial for ARM MCs.(As no tutorials available for PA MCs). What am I doing wrong here?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the modified example program here for your reference.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gayan.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 09:40:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1383944#M840</guid>
      <dc:creator>Gayan_Niroshana</dc:creator>
      <dc:date>2021-12-09T09:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1384849#M841</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193013"&gt;@Gayan_Niroshana&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I was able to reproduce your issue. I do not see any problems in your code which make me think that there are some features enabled by the SDK that FreeMASTER does not handle correctly.&lt;/P&gt;&lt;P&gt;I will further look into it and let you know once there any updates.&lt;/P&gt;&lt;P&gt;Just to be on the safe side, could you tell me what board revision are you working with.&lt;/P&gt;&lt;P&gt;Iulian&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 12:28:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1384849#M841</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2021-12-10T12:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1385336#M842</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100557"&gt;@iulian_stan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Board revision - &lt;STRONG&gt;SCH 29333 REV E1&lt;/STRONG&gt; - &lt;STRONG&gt;700 29333 Rev A&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_20211213_101030.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/164891i3E92DD916FDC038F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_20211213_101030.jpg" alt="IMG_20211213_101030.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does the example work on boards and freemaster detects the board ?&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Gayan.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 04:45:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1385336#M842</guid>
      <dc:creator>Gayan_Niroshana</dc:creator>
      <dc:date>2021-12-13T04:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1385821#M843</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193013"&gt;@Gayan_Niroshana&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;So far I could not find the root cause of the issue. It may take longer to find out why it behaves this way. In the meantime, I replaced the UART module generated with Processor Expert with a bare-metal implementation (see attached archive, it is based on the project you previously shared). I tested it on the same board you have, both in Poll-Driven and Interrupt Modes. You will find the UART initialization code in a separate UART_INIT function.&lt;/P&gt;
&lt;P&gt;A few things to point out:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Regarding interrupt mode, beside installing interrupt handler I had to enable corresponding interrupts&lt;BR /&gt;&lt;LI-CODE lang="c"&gt;#if FMSTR_LONG_INTR || FMSTR_SHORT_INTR
  INT_SYS_EnableIRQ(LINFLEXD0_RX_IRQn);
  INT_SYS_EnableIRQ(LINFLEXD0_TX_IRQn);
  INT_SYS_InstallHandler(LINFLEXD0_RX_IRQn, FMSTR_Isr, NULL);
  INT_SYS_InstallHandler(LINFLEXD0_TX_IRQn, FMSTR_Isr, NULL);
#endif​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;In order to enable variable read functions, I made the following change in freemaster_cfg.h&lt;BR /&gt;&lt;LI-CODE lang="c"&gt;#define FMSTR_USE_READVAR      1 //0   /* enable read variable fast commands */
#define FMSTR_USE_WRITEVAR     1 //0   /* enable write variable fast commands */
#define FMSTR_USE_WRITEVARMASK 1 //0   /* enable write variable bits fast commands */​&lt;/LI-CODE&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope it helps,&lt;BR /&gt;Iulian&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 18:01:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1385821#M843</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2021-12-13T18:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1386210#M844</link>
      <description>&lt;P&gt;Update: I found the cause of this behavior - it is due to 2 interrupts enabled by SDK&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Frame Error&amp;nbsp; (FEIE bit in LINIER register)&lt;/LI&gt;
&lt;LI&gt;Buffer Overrun Error (BOIE bit in LINIER register)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;FreeMASTER doe not need them, but once they are triggered, hardware communication is be stopped till corresponding flags are reset by the software. I did not see any option to disable these in Processor Expert GUI and did it manually&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;  REG_BIT_CLEAR32(&amp;amp;LINFlexD_0-&amp;gt;LINIER, LINFlexD_LINIER_BOIE_MASK);
  REG_BIT_CLEAR32(&amp;amp;LINFlexD_0-&amp;gt;LINIER, LINFlexD_LINIER_FEIE_MASK);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This should be the only change needed in your original example. I attached updated main file for reference.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 08:19:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1386210#M844</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2021-12-14T08:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1386522#M845</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100557"&gt;@iulian_stan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you very much. This Fix works properly. Now freemaster works with any project with processor expert.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Update: I found the cause of this behavior - it is due to 2 interrupts enabled by SDK&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is it freemaster SDK or MPC5744P_SDK_Z4 ?&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gayan.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 14:58:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1386522#M845</guid>
      <dc:creator>Gayan_Niroshana</dc:creator>
      <dc:date>2021-12-14T14:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1386601#M847</link>
      <description>&lt;P&gt;Those flags are set by&amp;nbsp;&lt;SPAN&gt;MPC5744P_SDK_Z4 functions. FreeMASTRE does not change any hardware configurations&amp;nbsp;beyond reading and writing data (over UART in this particular case).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Just to be clear here - it is not an SDK issue, rather a compatibility problem. FreeMASTER SDK was developed and tested with bare-metal applications - I think there was an early version of MPC SDK, if any, at that&amp;nbsp;moment, and as result some "glue code" is needed when FreeMASTER is used with target board SDK.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 16:45:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1386601#M847</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2021-12-14T16:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1387276#M848</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100557"&gt;@iulian_stan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the clarification.&lt;/P&gt;&lt;P&gt;One last problem here regarding bare-metal implementation of freemaster with projects that doesn't use MPC5744P_SDK_Z4 (without processor expert). I referred MPC5744P_EVB example given in the freemaster driver examples for S32DS PA and added necessary freemaster and UART configs to a simple blink example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Blink example runs properly with freemaster configs included but freemaster app doesn't detect the target.&lt;/P&gt;&lt;P&gt;Could you please tell me what I'm missing here. I have attached the program here for your reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gayan.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 11:43:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1387276#M848</guid>
      <dc:creator>Gayan_Niroshana</dc:creator>
      <dc:date>2021-12-15T11:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1387296#M849</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/193013"&gt;@Gayan_Niroshana&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;FreeMASTER does not detect the board because you use interrupt mode but do not enable nor set the corresponding interrupt handlers. Depending on which mode you'd like to use, here are the steps required to make it work:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Poll Driven - switching the flag in freemaster_cfg.h will make it work&lt;LI-CODE lang="c"&gt;#define FMSTR_LONG_INTR        0    /* complete message processing in interrupt */
#define FMSTR_SHORT_INTR       0    /* SCI FIFO-queuing done in interrupt */
#define FMSTR_POLL_DRIVEN      1    /* no interrupt needed, polling only */​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Interrupt mode:
&lt;UL&gt;
&lt;LI&gt;Enable SCI interrupts in&amp;nbsp;MPC57xx__Interrupt_Init.c&lt;BR /&gt;&lt;LI-CODE lang="c"&gt;INTC_0.PSR[376].R = 0x8003; /* SCI RXI interrupt enable for core 0 */
INTC_0.PSR[377].R = 0x8003; /* SCI TXI interrupt enable for core 0 */​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Assign interrupt handlers in&amp;nbsp;intc_SW_mode_isr_vectors_MPC5744P.c&lt;BR /&gt;&lt;LI-CODE lang="c"&gt;extern void FMSTR_Isr(void);​&lt;/LI-CODE&gt;this function is already defined in FreeMASTER&lt;BR /&gt;&lt;LI-CODE lang="c"&gt;(uint32_t) &amp;amp;FMSTR_Isr, /* Vector # 376 LINFlex_RXI LINFlex_0 */
(uint32_t) &amp;amp;FMSTR_Isr, /* Vector # 377 LINFlex_TXI LINFlex_0 */​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;BR,&lt;BR /&gt;Iulian&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 12:28:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1387296#M849</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2021-12-15T12:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UART module of DEVKIT-MPC5744P for freemaster utilization (S32DS)</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1387334#M850</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100557"&gt;@iulian_stan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes of course, freemaster worked in polling only mode. Sorry, I forgot to mention it above. Couldn't find find where to check in order to set the required interrupt handlers, previously.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your support throughout the thread. It was most helpful.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Gayan.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 13:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Configuring-UART-module-of-DEVKIT-MPC5744P-for-freemaster/m-p/1387334#M850</guid>
      <dc:creator>Gayan_Niroshana</dc:creator>
      <dc:date>2021-12-15T13:34:21Z</dc:date>
    </item>
  </channel>
</rss>

