<?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: UART- S32K144 EVB in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/UART-S32K144-EVB/m-p/1991633#M12779</link>
    <description>&lt;P&gt;Here is the project file;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Nov 2024 05:14:22 GMT</pubDate>
    <dc:creator>DIVYAJ1</dc:creator>
    <dc:date>2024-11-11T05:14:22Z</dc:date>
    <item>
      <title>UART- S32K144 EVB</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/UART-S32K144-EVB/m-p/1990004#M12769</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently working with the S32K144-EVB and attempting to perform data transmission and reception using UART. However, I am encountering difficulties with the UART configuration, especially since I am new to S32Design Studio.&lt;/P&gt;&lt;P&gt;Initially, I tried the example UART project and successfully received the transmitted value. However, when I created a new project and configured the UART, I did not receive any data.&lt;/P&gt;&lt;P&gt;Could you please provide guidance on how to properly configure UART in a new project.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 08:45:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/UART-S32K144-EVB/m-p/1990004#M12769</guid>
      <dc:creator>DIVYAJ1</dc:creator>
      <dc:date>2024-11-07T08:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: UART- S32K144 EVB</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/UART-S32K144-EVB/m-p/1990555#M12772</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243032"&gt;@DIVYAJ1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In order to use UART, you can simply add the UART component and configure the pins through Config Tools:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1731017569607.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309293i617262BA5C30771A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1731017569607.png" alt="Julin_AragnM_0-1731017569607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uartconfig.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309294i1404A0DA748C4FCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="uartconfig.png" alt="uartconfig.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorJulin_AragnM_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorJulin_AragnM_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_3-1731017652665.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309295iC13ED414D6681120/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_3-1731017652665.png" alt="Julin_AragnM_3-1731017652665.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorJulin_AragnM_4" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorJulin_AragnM_5" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uartconfig1.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309296i6B30654FE19BD611/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uartconfig1.png" alt="uartconfig1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you want to use&amp;nbsp;interrupts or a callback for your reception and transmission, then the IntCtrl driver must also be added, but for a simple uart configuration that should be enough.&lt;/P&gt;
&lt;P&gt;I've attached a simple example which echoes the inputs through a serial terminal through UART1 (connected to the EVB's USB):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_7-1731017823878.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309298iE424FC2742E82244/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_7-1731017823878.png" alt="Julin_AragnM_7-1731017823878.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 22:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/UART-S32K144-EVB/m-p/1990555#M12772</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-11-07T22:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: UART- S32K144 EVB</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/UART-S32K144-EVB/m-p/1991097#M12775</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thankyou for replying.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I imported the file you provided and successfully received transmitted data in the debug terminal. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, after following the UART configuration steps to create a new project, I am only seeing ‘NULL’ in the debug terminal instead of the expected transmitted data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2024-11-08 111212.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309447i1177EEF96F88500C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-11-08 111212.png" alt="Screenshot 2024-11-08 111212.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-11-08 111424.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309448i70A2C3FC44CEDE6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-11-08 111424.png" alt="Screenshot 2024-11-08 111424.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&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>Fri, 08 Nov 2024 12:00:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/UART-S32K144-EVB/m-p/1991097#M12775</guid>
      <dc:creator>DIVYAJ1</dc:creator>
      <dc:date>2024-11-08T12:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: UART- S32K144 EVB</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/UART-S32K144-EVB/m-p/1991160#M12777</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243032"&gt;@DIVYAJ1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Could you share your code (main.c)? Maybe you are missing some steps initializing or using the functions.&lt;/P&gt;
&lt;P&gt;The basic uart project should look something like this:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;int main(void)
{
	/* Initialize and configure clocks
	*    -   see clock manager component for details
	*/
	CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT,
						g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);
	CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_AGREEMENT);

	/* Initialize pins
	*    -   See PinSettings component for more info
	*/
	PINS_DRV_Init(NUM_OF_CONFIGURED_PINS0, g_pin_mux_InitConfigArr0);

	/* Initialize for UART_PAL */
	UART_Init(&amp;amp;uart_instance, UART_PAL_CONFIG);

	/* Send a welcome message */
	UART_SendDataBlocking(&amp;amp;uart_instance, (uint8_t *)welcomeMsg, strlen(welcomeMsg), TIMEOUT);
}&lt;/LI-CODE&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 15:28:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/UART-S32K144-EVB/m-p/1991160#M12777</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-11-08T15:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: UART- S32K144 EVB</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/UART-S32K144-EVB/m-p/1991633#M12779</link>
      <description>&lt;P&gt;Here is the project file;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 05:14:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/UART-S32K144-EVB/m-p/1991633#M12779</guid>
      <dc:creator>DIVYAJ1</dc:creator>
      <dc:date>2024-11-11T05:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: UART- S32K144 EVB</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/UART-S32K144-EVB/m-p/1992112#M12785</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243032"&gt;@DIVYAJ1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Sorry for the misunderstanding, but are you using config tools or are you configuring the drivers yourself with registers? Following the thread, I was giving recommendations on how to configure the UART by using the GUI for the drivers, but the project you shared does not use these generated configurations.&lt;/P&gt;
&lt;P&gt;If you need to configure the example in bare metal, please follow&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN5413.pdf" target="_blank"&gt;AN5413: S32K1xx Series Cookbook,&lt;/A&gt;&amp;nbsp;which includes an example for&amp;nbsp;a simple UART 9600 baud transfer to a COM port on a PC in &lt;STRONG&gt;chapter&amp;nbsp;2.7&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 16:36:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/UART-S32K144-EVB/m-p/1992112#M12785</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-11-11T16:36:36Z</dc:date>
    </item>
  </channel>
</rss>

