<?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>ble_app_uart application - UART and BLE Transmission mode.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87948/ble_app_uart-application---uart-and-ble-transmission-mode</link><description>Hi, I am using nRF52832 module (GAP peripheral, GATT server) with nRF5SDK, ble_app_uart_pca10040_s112 application. 
 
 In ble_app_uart application, how can I ensure that UART is set in Full duplex mode? 
 Also, I would like to know what transmission mode</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 May 2022 10:25:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87948/ble_app_uart-application---uart-and-ble-transmission-mode" /><item><title>RE: ble_app_uart application - UART and BLE Transmission mode.</title><link>https://devzone.nordicsemi.com/thread/369486?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 10:25:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f68b0a7d-221f-407a-a0d5-fe042ce7c356</guid><dc:creator>PKANNAN</dc:creator><description>&lt;p&gt;Thank you so much for the precise information!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart application - UART and BLE Transmission mode.</title><link>https://devzone.nordicsemi.com/thread/369478?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 10:04:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:469aa338-0e22-46e5-9460-0cc066962681</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user="PKANNAN"]I would like to mention that I am quite confused with my understanding on the above statement. What I would like to know is, does UART is set in Full duplex mode in ble_app_uart application, by default?&amp;nbsp;[/quote]
&lt;p&gt;The UART hardware have full duplex capabilities.&lt;/p&gt;
&lt;p&gt;When it comes to software, the initialization will by default setup the hardware to have full duplex communication. It is application responsibility to enable/disable flow control at the time of initialization and in some examples the HW flow control is enabled by default and in some it is disabled.&lt;/p&gt;
&lt;p&gt;The library-&amp;gt;driver-&amp;gt;HAL-&amp;gt;Hardware always have full duplex capabilities to send and receive data by default.&amp;nbsp;&lt;br /&gt;I hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart application - UART and BLE Transmission mode.</title><link>https://devzone.nordicsemi.com/thread/369411?ContentTypeID=1</link><pubDate>Wed, 25 May 2022 05:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d55b52f-e9ce-4bba-bd54-f023c9812d3a</guid><dc:creator>PKANNAN</dc:creator><description>&lt;p&gt;Hi, thank you for your response.&lt;/p&gt;
[quote userid="6207" url="~/f/nordic-q-a/87948/ble_app_uart-application---uart-and-ble-transmission-mode/367983#367983"]&lt;blockquote class="quote"&gt;&lt;div class="quote-content"&gt;In ble_app_uart application, how can I ensure that UART is set in Full duplex mode?&amp;nbsp;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;In the nRF5SDK\examples\ble_peripheral\ble_app_uart\main.c:uart_init you can&amp;nbsp;configure the driver to use HW flow control in UART.&lt;/p&gt;[/quote]
&lt;p&gt;I would like to mention that I am quite confused with my understanding on the above statement. What I would like to know is, does UART is set in Full duplex mode in ble_app_uart application, by default?&amp;nbsp;&lt;/p&gt;
[quote userid="6207" url="~/f/nordic-q-a/87948/ble_app_uart-application---uart-and-ble-transmission-mode/368457#368457"]Which BLE, which uses RADIO, data can be received and sent in a time multiplexed way, since there is only one RADIO in the chip, which can either send or receive data at any given instance.[/quote]
&lt;p&gt;Thank you so much for the clarification on BLE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart application - UART and BLE Transmission mode.</title><link>https://devzone.nordicsemi.com/thread/368457?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 16:57:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:282d0b3b-0bd7-4810-9296-41cf637b606f</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user="PKANNAN"]What I understand is, having&amp;nbsp;APP_UART_FLOW_CONTROL_ENABLED indicates that UART is set in Full duplex mode, is it correct?[/quote]
&lt;p&gt;UART can always be used in full duplex mode when using TX and RX pins (Irrespective of using hardware flow control or not), using APP_UART_FLOW_COMTROL_ENABLED will just enable the hardware flow control.&lt;/p&gt;
[quote user="PKANNAN"]Can I send and receive data over the BLE link simultaneously?&amp;nbsp;[/quote]
&lt;p&gt;You can use BLE(using RADIO) and UART simultaneously since there are working on different peripherals. Which BLE, which uses RADIO, data can be received and sent in a time multiplexed way, since there is only one RADIO in the chip, which can either send or receive data at any given instance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart application - UART and BLE Transmission mode.</title><link>https://devzone.nordicsemi.com/thread/368145?ContentTypeID=1</link><pubDate>Tue, 17 May 2022 09:26:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:092b5bef-83ee-4cf4-bb4d-a225965b666f</guid><dc:creator>PKANNAN</dc:creator><description>&lt;p&gt;Thank you for your response.&lt;/p&gt;
&lt;p&gt;What I understand is, having&amp;nbsp;APP_UART_FLOW_CONTROL_ENABLED indicates that UART is set in Full duplex mode, is it correct?&lt;/p&gt;
[quote userid="6207" url="~/f/nordic-q-a/87948/ble_app_uart-application---uart-and-ble-transmission-mode/367983#367983"]&lt;blockquote class="quote"&gt;&lt;div class="quote-content"&gt;Also, I would like to know&amp;nbsp;what transmission mode does BLE follows?&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;I am assuming that you are asking about the connection parameters for the BLE connection. These are GAP parameters and hence you can see what settings are used in this example in the same main.c file :&amp;nbsp;gap_params_init() function.&lt;/p&gt;[/quote]
&lt;p&gt;Can I send and receive data over the BLE link simultaneously?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble_app_uart application - UART and BLE Transmission mode.</title><link>https://devzone.nordicsemi.com/thread/367983?ContentTypeID=1</link><pubDate>Mon, 16 May 2022 08:19:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f4dd5f7-b521-42d0-a7ec-abd51e28c236</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user=""]In ble_app_uart application, how can I ensure that UART is set in Full duplex mode?&amp;nbsp;[/quote]
&lt;p&gt;In the nRF5SDK\examples\ble_peripheral\ble_app_uart\main.c:uart_init you can&amp;nbsp;configure the driver to use HW flow control in UART.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;        .flow_control = APP_UART_FLOW_CONTROL_ENABLED&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]Also, I would like to know&amp;nbsp;what transmission mode does BLE follows?[/quote]
&lt;p&gt;I am assuming that you are asking about the connection parameters for the BLE connection. These are GAP parameters and hence you can see what settings are used in this example in the same main.c file :&amp;nbsp;gap_params_init() function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>