<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>I want to change baudrate of uart at nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46489/i-want-to-change-baudrate-of-uart-at-nrf52832</link><description>Hello, 
 
 I use the SDK15.3.0. 
 (nRF5_SDK_15.3.0_59ac345 -&amp;gt; example -&amp;gt; ble_peripheral -&amp;gt; ble_app_uart -&amp;gt;pca10040 -&amp;gt; s132 -&amp;gt; ses) 
 The default baudrate of uart is 115200bps. 
 I want to change baudrate to 38400bps. 
 I saw the following file. (sdk_config</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Apr 2019 02:37:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46489/i-want-to-change-baudrate-of-uart-at-nrf52832" /><item><title>RE: I want to change baudrate of uart at nRF52832</title><link>https://devzone.nordicsemi.com/thread/183286?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 02:37:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3541361b-5102-40f0-a82a-76feef1513f4</guid><dc:creator>PAL_fujita</dc:creator><description>&lt;p&gt;Hi cbd-san,&lt;/p&gt;
&lt;p&gt;Sorry for my late reply.&lt;/p&gt;
&lt;p&gt;I checked the codes along with the advice from you.&lt;/p&gt;
&lt;p&gt;And I was able to find the wrong code.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/190424_5F00_38400bps_5F00_ok.png" /&gt;&lt;/p&gt;
&lt;p&gt;I was able to run uart at 38400 bps.&lt;/p&gt;
&lt;p&gt;Thank you for your support.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Toru&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to change baudrate of uart at nRF52832</title><link>https://devzone.nordicsemi.com/thread/183072?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 09:49:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e34c50bd-0c5a-48fd-b805-60443e7b7681</guid><dc:creator>cbd</dc:creator><description>&lt;p&gt;Okay.&lt;/p&gt;
&lt;p&gt;I suspect that you may have UART enabled as well as UARTE - it is confusing I know. I believe that UART is to be legacy code support and that UARTE is the way forward.&lt;/p&gt;
&lt;p&gt;Try checking NRFX_UART_DEFAULT_CONFIG_BAUDRATE&lt;/p&gt;
&lt;p&gt;If you wanted to change it directly then you could use the following within your own code where you define the values for RX_PIN_NUMBER, TX_PIN_NUMBER &amp;hellip; etc.:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static uint32_t com_UartInit(void)
{
    uint32_t err_code;
    app_uart_comm_params_t const comm_params = {
        .rx_pin_no = RX_PIN_NUMBER,
        .tx_pin_no = TX_PIN_NUMBER,
        .rts_pin_no = RTS_PIN_NUMBER,
        .cts_pin_no = CTS_PIN_NUMBER,
        .flow_control = APP_UART_FLOW_CONTROL_DISABLED,
        .use_parity = false,
#if defined(UART_PRESENT)
        .baud_rate = NRF_UART_BAUDRATE_38400
#else
        .baud_rate = NRF_UARTE_BAUDRATE_38400
#endif
    };

    APP_UART_FIFO_INIT(&amp;amp;comm_params, UART_BUF_SIZE, UART_BUF_SIZE,
                       com_UartEventHandler, /* Handler for UART events */
                       APP_IRQ_PRIORITY_LOWEST, err_code);

    return (err_code);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to change baudrate of uart at nRF52832</title><link>https://devzone.nordicsemi.com/thread/183070?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 09:37:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85fb6ce8-c151-4d0f-85e7-3f21646fe932</guid><dc:creator>PAL_fujita</dc:creator><description>&lt;p&gt;Hi cbd-san,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;I tried the solution from you.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/190423.png" /&gt;&lt;/p&gt;
&lt;p&gt;But the baudrate did not change.&lt;/p&gt;
&lt;p&gt;Can you advise me why it can not change the baudrate?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Toru&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to change baudrate of uart at nRF52832</title><link>https://devzone.nordicsemi.com/thread/183040?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 08:48:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18efceb4-ba63-4a3b-9e98-26002b932708</guid><dc:creator>cbd</dc:creator><description>&lt;p&gt;As a rule, if you are using any of the library files or example code then changes will need to be made to sdkconfig.h.&lt;/p&gt;
&lt;p&gt;It is possible to code your project entirely without using the library code if you so wish.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>