<?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>Send data using GPIO UART from mobile phone</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74103/send-data-using-gpio-uart-from-mobile-phone</link><description>Hi, 
 I want to build an application for nRF52840 DK that receives data through BLE from mobile phone (via nRF connect android application) and sends it to another microcontroller/device through GPIO using UART. Can you guide me on where do I start? </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 May 2021 09:20:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74103/send-data-using-gpio-uart-from-mobile-phone" /><item><title>RE: Send data using GPIO UART from mobile phone</title><link>https://devzone.nordicsemi.com/thread/308908?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 09:20:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ed16195-b047-46c1-af97-527c6aebfc43</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;The amount of concurrent connections that is supported depends on the used Softdevice. S140 which is commonly used with nRF52840 supports up to 20 concurrent connections.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data using GPIO UART from mobile phone</title><link>https://devzone.nordicsemi.com/thread/308859?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 05:21:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c7eaf97-66a0-41f0-b01b-bdd43f3bc752</guid><dc:creator>shyam9092</dc:creator><description>&lt;p&gt;Hello Jared,&lt;/p&gt;
&lt;p&gt;How many mobile devices using nRF connect can be concurrently connected to a single nRF52840 DK loaded with ble_app_uart example?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data using GPIO UART from mobile phone</title><link>https://devzone.nordicsemi.com/thread/305733?ContentTypeID=1</link><pubDate>Tue, 20 Apr 2021 08:02:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f52eea7-8ca5-46da-8ba2-02a85f155405</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, &lt;strong&gt;the nRF sends the data over UART to the interface chip&lt;/strong&gt; that is on the DK, which again sends it over USB to whatever that is connected to the USB peripheral on the Development kit.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="shyam9092"] I want to send data&amp;nbsp;to another micro-controller by using jumper wires connected to GPIO pins. How can I do that?[/quote]
&lt;p&gt;Just change the pins that are used by the UART module. The pins are set during the initialization of the UART module, by default they use the pins P0.08 and P0.07 that are connected to the interface chip:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void uart_init(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_115200
#else
        .baud_rate    = NRF_UARTE_BAUDRATE_115200
#endif
    };

    APP_UART_FIFO_INIT(&amp;amp;comm_params,
                       UART_RX_BUF_SIZE,
                       UART_TX_BUF_SIZE,
                       uart_event_handle,
                       APP_IRQ_PRIORITY_LOWEST,
                       err_code);
    APP_ERROR_CHECK(err_code);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1618905661666v1.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1618905686871v2.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1618905749219v3.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data using GPIO UART from mobile phone</title><link>https://devzone.nordicsemi.com/thread/305677?ContentTypeID=1</link><pubDate>Tue, 20 Apr 2021 03:13:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b26ec3a0-075d-45ce-99c7-8ac04cbea806</guid><dc:creator>shyam9092</dc:creator><description>&lt;p&gt;Hello Jared,&lt;/p&gt;
&lt;p&gt;Please correct me if I&amp;#39;m wrong. I have not gone through the code thoroughly, but based on cursory readings, ble_app_uart emulates a&amp;nbsp;serial port and data is send over through that&amp;nbsp;serial port (i.e. using USB). I want to send data&amp;nbsp;to another micro-controller by using jumper wires connected to GPIO pins. How can I do that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send data using GPIO UART from mobile phone</title><link>https://devzone.nordicsemi.com/thread/305555?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 13:09:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dcb6613-8038-4ac1-b06d-e2dd422ba8db</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We already have an example in the SDK that does this, it&amp;#39;s called &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_nus_eval.html?cp=7_1_4_2_2_25"&gt;ble_app_uart&lt;/a&gt;. You can find the documentation for the example here.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>