<?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のトピックRe: MPC5748G error when building</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461644#M1663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have asked for LinFlex0, so... code above is for 0, you can change this part to adapt to whatever LinFlex your MCU is supporting:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTNUM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LINFlexD_0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN_TXGIO&amp;nbsp; PB2&amp;nbsp;&amp;nbsp;&amp;nbsp; // #define&amp;nbsp; PB2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN_TXSSS&amp;nbsp; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN_RXGIO&amp;nbsp; PB3&amp;nbsp;&amp;nbsp;&amp;nbsp; // #define&amp;nbsp; PB3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN_RXSSS&amp;nbsp; 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: #303030;"&gt;Regarding SIUL2, I'll highly suggest that you read whole Reference Manual of your MCU. From your questions I could guess that you never used or programmed for embedded system...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2016 20:28:35 GMT</pubDate>
    <dc:creator>alexvinchev</dc:creator>
    <dc:date>2016-05-24T20:28:35Z</dc:date>
    <item>
      <title>MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461633#M1652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Recently, I try to use the function "printf()" in the MPC5748G project in S32 DS, but it always became error: printf.c undefined reference to '_pformatter' , as the figures below shown:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="143591_143591.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121154iBBBC655A3F3A793E/image-size/large?v=v2&amp;amp;px=999" role="button" title="143591_143591.PNG" alt="143591_143591.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58523i05B65BD264344138/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="143563_143563.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121155i1ED892002233F909/image-size/large?v=v2&amp;amp;px=999" role="button" title="143563_143563.PNG" alt="143563_143563.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58517i6FBD44C18C6EC8E1/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;and I already added "stdio.h" . &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="143592_143592.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121156i18527F42B8613A0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="143592_143592.PNG" alt="143592_143592.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58527i9FC883C8CA1F9712/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.PNG" alt="3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there any configurations that I made wrong ?&lt;/P&gt;&lt;P&gt;Please help me to deal with this problem.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 14:17:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461633#M1652</guid>
      <dc:creator>huqiang</dc:creator>
      <dc:date>2016-03-08T14:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461634#M1653</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;add this option to the linker flags:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;-Xlinker --undefined=__pformatterFP -Xlinker --defsym=__pformatter=__pformatterFP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58504i10D520EA079CA5B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;Now it will work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;Martin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 15:03:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461634#M1653</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-03-08T15:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461635#M1654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;But after I added the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;linker flags, it still have a error and this error even have no explanation&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58505iA47E6627FE0AD85D/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.PNG" alt="4.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;If I do not use the function "printf()", this error will disappear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;It seems that I still need to change something?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 15:55:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461635#M1654</guid>
      <dc:creator>huqiang</dc:creator>
      <dc:date>2016-03-08T15:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461636#M1655</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;add the files in the attachment to your project. Do not forget include stdio.h library in file, where you call printf function, C files to src folder and H file to include folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you have to modify LINFlexD_0_Init function in uart.c. There is SIUL2 pad configuration, and you also have to set baudrate according you clock settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 08:14:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461636#M1655</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-03-09T08:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461637#M1656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with NXP MPC5748G I did all the above except LINFlexD_0_Init function in uart.c , SIUL2 pad configuration, and also&amp;nbsp; baudrate according you clock settings. Compilation done.But Execution was crashed .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why and how to&amp;nbsp; configure LINFlexD_0_Init function in uart.c and&amp;nbsp; SIUL2 pad configuration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 07:15:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461637#M1656</guid>
      <dc:creator>yalamandadosaky</dc:creator>
      <dc:date>2016-05-19T07:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461638#M1657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Please be advised that in the following code comments might not be correct, but the code itself is working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;// General defines&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define SSS_OFFSET&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 512&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN_MSCR0&amp;nbsp;&amp;nbsp; (712 - SSS_OFFSET)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;// LinFlex0@ PB2/PB3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTNUM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LINFlexD_0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN_TXGIO&amp;nbsp;&amp;nbsp; PB2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // #define&amp;nbsp; PB2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN_TXSSS&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN_RXGIO&amp;nbsp;&amp;nbsp; PB3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // #define&amp;nbsp; PB3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN_RXSSS&amp;nbsp;&amp;nbsp; 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;void config_sci(uint32_t speed)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t prediv;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // clear buffers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //memset( &amp;amp;sci_rx_buffer[0][0],0,SCI_RX_BUFER_LINES*SCI_RX_BUFER_CHARPERLINE );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //memset( &amp;amp;sci_tx_buffer[0][0],0,SCI_TX_BUFER_LINES*SCI_TX_BUFER_CHARPERLINE );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // config LINLFEX&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.LINCR1.B.SLEEP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0; // LINFLEX in init mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.LINCR1.B.INIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1; // LINFLEX in init mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.UARTCR.B.UART&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1; // UART&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.UARTCR.B.TDFL_TFC&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0; // 1byte buffer&amp;nbsp; //change!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.UARTCR.B.RDFL_RFC&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0; // 1byte buffer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.UARTCR.B.RFBM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0; // Rx buffer-mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.UARTCR.B.TFBM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0; // Tx buffer-mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.UARTCR.B.RxEn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1; // rx enable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.UARTCR.B.TxEn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1; // tx enable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.UARTCR.B.PC1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0; //&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.UARTCR.B.PC0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0; //&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.UARTCR.B.PCE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0; // no Parity&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.UARTCR.B.WL1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0; // 8bit data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.UARTCR.B.WL0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1; // 8bit data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Pre-division&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (UARTNUM == 0) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Special case, LIN 0 clock is F40(40MHz), not F80(80MHz)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // UARTLIN(0) =&amp;gt; F40&amp;nbsp;&amp;nbsp;&amp;nbsp; | 40MHz / speed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prediv = 40000000 / speed;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // UARTLIN(1-17) =&amp;gt; F80 | 80MHz / speed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prediv = 80000000 / speed;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // FBRR = Fxx / speed / 16, fraction part only&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.LINFBRR.R = (uint16_t)(prediv &amp;amp; 15);&amp;nbsp;&amp;nbsp; /* Fractional divider.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // IBRR = Fxx / speed / 16, integer part only&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.LINIBRR.R = (uint16_t)(prediv &amp;gt;&amp;gt; 4);&amp;nbsp;&amp;nbsp; /* Integer divider.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.LINCR1.B.INIT = 0; // LINFLEX in init mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.LINIER.B.DRIE = 1; // enable SCI.RX interrupt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.LINIER.B.DTIE = 1; // enable SCI.TX interrupt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* LINx_TX */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIUL2.MSCR[UARTLIN_TXGIO].B.OBE = 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIUL2.MSCR[UARTLIN_TXGIO].B.SSS = UARTLIN_TXSSS ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* LINx_RX */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIUL2.MSCR[UARTLIN_RXGIO].B.OBE&amp;nbsp; = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIUL2.MSCR[UARTLIN_RXGIO].B.IBE&amp;nbsp; = 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIUL2.IMCR[UARTLIN_MSCR0 + UARTNUM].B.SSS = UARTLIN_RXSSS ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;void write_char(char value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.BDRL.B.DATA0 = value;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; do {} while ( UARTLIN.UARTSR.B.DTFTFF == 0 );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UARTLIN.UARTSR.R = 0x00000002;&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; // clear DTF bit, only&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( value == '\n' ) write_char('\r');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 07:50:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461638#M1657</guid>
      <dc:creator>alexvinchev</dc:creator>
      <dc:date>2016-05-19T07:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461639#M1658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/b55689"&gt;b55689&lt;/A&gt;​,&lt;A _jive_internal="true" data-content-finding="Community" data-userid="233647" data-username="alexvinchev" href="https://community.nxp.com/people/alexvinchev" style="font-size: 1.286rem; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #017bba; text-decoration: underline;"&gt;Vinchev Aleksandar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Where can i call this config_sci and what is the speed value can i pass .&lt;/P&gt;&lt;P&gt;where can i call the write_char function, is it required ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 12:41:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461639#M1658</guid>
      <dc:creator>yalamandadosaky</dc:creator>
      <dc:date>2016-05-20T12:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461640#M1659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please look at the following project. I use there printf function. Project is for MPC5775K, but for MPC5748G it will be the same.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329809"&gt;Example MPC5775K PinToggleStationery S32DS&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 07:59:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461640#M1659</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-05-23T07:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461641#M1660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin Kovar,&lt;/P&gt;&lt;P&gt;Can you please help me what is the fsys value for baud rate calculation(LINFlex_D_2 asUART) for MPC5748G,e200-z4.Which documentation is helpful for the knowing the LINFlex_D_? need to be configure for the mpc5748g uart.c file .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 08:04:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461641#M1660</guid>
      <dc:creator>yalamandadosaky</dc:creator>
      <dc:date>2016-05-24T08:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461642#M1661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which LINFlex_D_? is to be configure for MPC5748G and why we need to configure SILU2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 08:06:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461642#M1661</guid>
      <dc:creator>yalamandadosaky</dc:creator>
      <dc:date>2016-05-24T08:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461643#M1662</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;About document, please look at the following User guide.&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.nxp.com/files/microcontrollers/doc/user_guide/MPC5748GEVBUG.pdf?fsrch=1&amp;amp;sr=4&amp;amp;pageNum=1" title="http://cache.nxp.com/files/microcontrollers/doc/user_guide/MPC5748GEVBUG.pdf?fsrch=1&amp;amp;sr=4&amp;amp;pageNum=1"&gt;http://cache.nxp.com/files/microcontrollers/doc/user_guide/MPC5748GEVBUG.pdf?fsrch=1&amp;amp;sr=4&amp;amp;pageNum=1&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to calculate baud rate, you have to know F80 frequency, which is source clock for LINFlexD. Look at the reference manual chapter 9.4.3.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formula for baud rate calculation is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LDIV = fperiph / (16 * desired baudrate)&lt;/P&gt;&lt;P&gt;LINFBRR = 16 * fractional part of LFDIV (after decimal point)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for example if F80 = 80MHz and required baud rate is 19200b/s:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LFDIV = 80MHz/(16*19200) = 260,416&lt;/P&gt;&lt;P&gt;LINIBRR = 260&lt;/P&gt;&lt;P&gt;LINFBRR = 16*0.416 = 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 12:28:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461643#M1662</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-05-24T12:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461644#M1663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have asked for LinFlex0, so... code above is for 0, you can change this part to adapt to whatever LinFlex your MCU is supporting:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTNUM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LINFlexD_0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN_TXGIO&amp;nbsp; PB2&amp;nbsp;&amp;nbsp;&amp;nbsp; // #define&amp;nbsp; PB2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN_TXSSS&amp;nbsp; 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN_RXGIO&amp;nbsp; PB3&amp;nbsp;&amp;nbsp;&amp;nbsp; // #define&amp;nbsp; PB3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;#define UARTLIN_RXSSS&amp;nbsp; 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: #303030;"&gt;Regarding SIUL2, I'll highly suggest that you read whole Reference Manual of your MCU. From your questions I could guess that you never used or programmed for embedded system...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 20:28:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461644#M1663</guid>
      <dc:creator>alexvinchev</dc:creator>
      <dc:date>2016-05-24T20:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461645#M1664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aleksandar,&lt;/P&gt;&lt;P&gt;Yes I am fresher ,new to embedded system,main thing is we are supportiing one person who is in U.S and he has all board setup, we dont have any board setup and all.Can you help me to sort out the problem for printf .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;board set up is MPC574xG MB and MPC5748G 176DS,I dont know which LINFlexD_? is using but I reffered AN4830&amp;nbsp; for MPC5748G there it mentioned that LINFlexD_2 and Freq is F80 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing i want ask you what is the value of speed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz can you help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 06:43:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461645#M1664</guid>
      <dc:creator>yalamandadosaky</dc:creator>
      <dc:date>2016-05-25T06:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461646#M1665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/yalamandadosakyala"&gt;yalamandadosakyala&lt;/A&gt;​,&lt;/P&gt;&lt;P&gt;first, regarding SIUL (System Interface Unit Lite)... In embedded systems it is common to have multiple functions per pin, since devices have broad functionality and limited pin count. This requires that pin should be configured to serve certain functionality and this is done thru set of multiplexers or other kind of configuration matrix. Pin configuration in case of Qorivva devices is done through SIUL. If you wonder what SIUL is, there is nice answer from &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lukaszadrapa"&gt;lukaszadrapa&lt;/A&gt;​ here: &lt;A href="https://community.nxp.com/thread/391618"&gt;What is SIUL?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then, regarding MPC5748 evaluation board... If you (or someone) would like to use built in UART to USB convertor (FTDI chip, drivers have to be installed prior usage), LinFlexD_2 should be used, since this one is routed to the convertor on the board.&lt;/P&gt;&lt;P&gt;I'm attaching here printf example, running on X-MPC574xG-MB + MPC574XG-256DS hardware. It is prepared for GHS compiler and Trace32 debugger (you have .cmm scripts inside). I kept also compiled binaries, so they could be directly flashed to the target. There are two projects and two outputs created - X-MPC574XG-MB-GHS-C1-DEMO.gpj &amp;amp; bin/MPC5748G_CUT1 are for 0N65H devices, X-MPC574XG-MB-GHS-C2-DEMO.gpj &amp;amp; bin/MPC5748G_CUT2 are for 1N81M devices.&lt;/P&gt;&lt;P&gt;This demo should run also on 176pin MCU without modification (at least this is what shows me quick review of Rev.4 IO_Signal_Description_and_Input_multiplexing_tables.V3.0.1.xls document).&lt;/P&gt;&lt;P&gt;Output from the example should be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;*******&amp;nbsp; MPC5748G loop 273 ******&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;*******&amp;nbsp; MPC5748G loop 274 ******&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #7ed529;"&gt;*******&amp;nbsp; MPC5748G loop 275 ******&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When X-MPC574xG-MB board is connected to the PC, it brings two COM ports (let say COM14 &amp;amp; COM15). Higher port should be used (i.e. COM15), speed is 115200bps, 8bit data, no parity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, in the attached example you'll find code I've pasted above, but as complete project...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 07:32:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461646#M1665</guid>
      <dc:creator>alexvinchev</dc:creator>
      <dc:date>2016-05-25T07:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461647#M1666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,I made all the changes,but output is not getting on UART I don't know why it is not working. &lt;/P&gt;&lt;P&gt;We are using mpc574xg -mb which is running micrium rtos on nxp board with mpc5748-176ds .&lt;/P&gt;&lt;P&gt;One doubt is how printf will call read_console,write_console functions in UART_console_io.c&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 18:27:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461647#M1666</guid>
      <dc:creator>yalamandadosaky</dc:creator>
      <dc:date>2016-05-30T18:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461648#M1667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/yalamandadosakyala"&gt;yalamandadosakyala&lt;/A&gt;​, I could only guarantee that example works for BGA256 package and without OS. We are not interested in lower pin count/simpler MPC5748G devices, so I don't have them. I've evaluated only ChibiOS on this platform and it works as well in my setup, but I'm not sure if I can provide example, based on ChibiOS.&lt;/P&gt;&lt;P&gt;For your actual setup you should find what is wrong and why something is not working.&lt;/P&gt;&lt;P&gt;MPC5748G is quite complex device and you could easily miss something crucial, so check carefully your setup.&lt;/P&gt;&lt;P&gt;I'd recommend you to try to put this example as is and then if it is working, look what blocks it in final setup. If it is not working as is provided, then you have other problems with your setup... Check also if J16 jumper is set in a way to connect FTDI to MPC, this could be also a reason to have non-working setup... You could loop back TX to RX of FTDI to check if you are opening the correct COM port.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 06:12:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461648#M1667</guid>
      <dc:creator>alexvinchev</dc:creator>
      <dc:date>2016-05-31T06:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G error when building</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461649#M1668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/yalamandadosakyala"&gt;yalamandadosakyala&lt;/A&gt;​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately, I have no experience with micrium rtos, but if I were you, I will try the following steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) When you call printf function, you should not get any IVOR or get stuck somewhere in printf function code.&lt;/P&gt;&lt;P&gt;2) If the first step is OK, you should check, if you have some data in LinFLex2_BDRL_DATA0 register.&lt;/P&gt;&lt;P&gt;3) If also second step is OK, there is some problem with I/O pads. The problem could be some PAD misconfiguration.&lt;/P&gt;&lt;P&gt;4) Check other parameters like baud rate, number of data bits, parity, stop bits and flow control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked package schematic and I found pads on your package are correctly routed to mother board so there should not be any problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the second side you communicate with? Is it PC? Please realize, you have to use USB to interconnect with second device, because on NXP EVB there is not independent RS232 transceiver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 11:42:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-error-when-building/m-p/461649#M1668</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-05-31T11:42:17Z</dc:date>
    </item>
  </channel>
</rss>

