<?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>2 UART with BLE example on nRF52840.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44026/2-uart-with-ble-example-on-nrf52840</link><description>Sir, 
 I have seen example pgm for communication between UART and BLE, and another pgm which communicates between 2 UARTs. But for my project I need 2 UARTs and the BLE together. 
 
 Datas I want to receive from UART0, and push the datas (after some coding</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Mar 2019 08:06:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44026/2-uart-with-ble-example-on-nrf52840" /><item><title>RE: 2 UART with BLE example on nRF52840.</title><link>https://devzone.nordicsemi.com/thread/173875?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2019 08:06:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1addba66-8c2b-4e63-9256-c033220dbd79</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Yes, as stated you will have to use UARTE1 not UART1. UART1 won&amp;#39;t work in serial communication like this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2 UART with BLE example on nRF52840.</title><link>https://devzone.nordicsemi.com/thread/173806?ContentTypeID=1</link><pubDate>Sat, 02 Mar 2019 05:08:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a06f80ad-80b6-4c89-924f-c1d721882129</guid><dc:creator>Abhimanyu K K</dc:creator><description>&lt;p&gt;Sir,&lt;/p&gt;
&lt;p&gt;I started worked with the serial_uartes program. But the program is only working with the uart0. I can send and receive through that uart only. The uart1 is&amp;nbsp; standing still.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2 UART with BLE example on nRF52840.</title><link>https://devzone.nordicsemi.com/thread/173662?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 10:12:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cb2973f-8130-49c4-b1e4-f0f8d2fa2662</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;As my colleague points out, UARTE and UART is not the same, and this will only work with UARTE. I don&amp;#39;t think I stated this good enough myself.&lt;/p&gt;
&lt;p&gt;Please refer to my previous answers on where to start. This will be a trial and error process, and not an easy one I imagine.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2 UART with BLE example on nRF52840.</title><link>https://devzone.nordicsemi.com/thread/173607?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 06:54:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e612062d-10c9-49b4-9e7c-29def551368e</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;According to nrf52840 specification you should not do it like presented on the drawing. nrf52840 has only one UART instance which is UART0. If you need two peripherals you can use following combinations: UART0 &amp;amp; UARTE1 or UARTE0 &amp;amp; UARTE1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2 UART with BLE example on nRF52840.</title><link>https://devzone.nordicsemi.com/thread/173601?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 06:08:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8baa364c-eba6-4e89-86a7-36912604121c</guid><dc:creator>Abhimanyu K K</dc:creator><description>&lt;p&gt;Sir,&lt;/p&gt;
&lt;p&gt;I look at the serial_uartes, I understand the algorithm of the program. But I am confused where to start.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2 UART with BLE example on nRF52840.</title><link>https://devzone.nordicsemi.com/thread/173477?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 12:48:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed23da55-c066-4d9f-9c54-23036315fa04</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I would recommend for you to start with the serial_uartes, as UARTE and UART is not the same thing exactly. So start off with the serial_uartes project and implement BLE from the ble_uart project.&lt;/p&gt;
&lt;p&gt;Best of luck,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2 UART with BLE example on nRF52840.</title><link>https://devzone.nordicsemi.com/thread/173461?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 12:00:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ffbdc1f-f707-48e9-b832-fdc4e2390268</guid><dc:creator>Abhimanyu K K</dc:creator><description>&lt;p&gt;Sir&lt;/p&gt;
&lt;p&gt;Which program I need to edit?&lt;/p&gt;
&lt;p&gt;I think ble_uart is needed to edit. Did I need to use the serial_uarte program. Or I want to initialise new uart in the ble_uart prgrm?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2 UART with BLE example on nRF52840.</title><link>https://devzone.nordicsemi.com/thread/172821?ContentTypeID=1</link><pubDate>Mon, 25 Feb 2019 15:01:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02be6936-be88-48e6-a845-a5e302136869</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Are you getting any errors when the SDK15.2 is not advertising? Please specify.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can&amp;#39;t merge an SDK15.2 project with an SDK15.0 as there will be compilation errors, so you will have to use the 15.2 version for multiple UARTE projects. If you have made any changes to the original ble_app_uart example in SDK15.2 that might cause the errors, I suggest you start with a fresh example.&lt;/p&gt;
&lt;p&gt;I see that you will likely have to change quite a bit in the ble_app_uart example to make it work with the serial_uarte example seeing as uarte and uart is not the same exact thing. Again I would urge you to start out with the serial_uartes example, and incorporate BLE from the ble_app_uart example, as I think this would be the easiest way to accomplish what you want.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t do the work of merging these files for you, as this is your project, but I can give you some pointers and advice. Start with merging the sdk_config.h files to enable BLE in the example, and add the necessary header, component and library files. Then you have to implement these functionalities into your main.c file. Keep in mind that this is not going to be an easy task.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2 UART with BLE example on nRF52840.</title><link>https://devzone.nordicsemi.com/thread/172761?ContentTypeID=1</link><pubDate>Mon, 25 Feb 2019 13:06:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccb98f08-3178-4bfe-835b-116bf77774f3</guid><dc:creator>Abhimanyu K K</dc:creator><description>&lt;p&gt;Sir,&lt;/p&gt;
&lt;p&gt;SDK 15.2 ble_uart program is not advertising. But SDK 15.0 is perfect. So can I initialize the UART1 in that SDK 15.0 ble_uart program?&lt;/p&gt;
&lt;p&gt;And what all steps I want to do to perform the above operation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2 UART with BLE example on nRF52840.</title><link>https://devzone.nordicsemi.com/thread/172682?ContentTypeID=1</link><pubDate>Mon, 25 Feb 2019 07:26:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e414c01-34d8-4c53-8e7e-5403c7c0ccab</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Yes, that would be another way to go about it. You should still look at the serial_uartes example to see how two UARTs are initialized in one program. Make sure not to give them identical names to avoid confusion.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2 UART with BLE example on nRF52840.</title><link>https://devzone.nordicsemi.com/thread/172546?ContentTypeID=1</link><pubDate>Fri, 22 Feb 2019 14:51:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:897a2a20-115b-49ab-8aa5-681c7277cbe9</guid><dc:creator>Abhimanyu K K</dc:creator><description>&lt;p&gt;Flashed that program. But not working as the pgm says.&lt;/p&gt;
&lt;p&gt;I connected a serial to usb connector to the rx and tx pins. When I write some datas into the UART, the echo is not getting.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is this possible to initialize a new UART in the ble UART pgm?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 2 UART with BLE example on nRF52840.</title><link>https://devzone.nordicsemi.com/thread/172531?ContentTypeID=1</link><pubDate>Fri, 22 Feb 2019 14:03:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5f00107-ddfd-4c38-b906-c40301d8d24a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes, I don&amp;#39;t see why this shouldn&amp;#39;t be possible, although we do not have any examples on how to do this. I suggest you start out with our serial UARTES example (SDK_15.2.0_9412b96\nRF5_SDK_15.2.0_9412b96\examples\peripheral\serial_uartes), and implement ble_uart communication there.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best of luck and regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>