<?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>Using nRF52 as slave &amp;#39;device&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79445/using-nrf52-as-slave-device</link><description>Hi. 
 I am developing PCB where there is a Wifi module ESP32-WROOM and a nRF52833 connected via 2-wire UART interface (TX/RX only), there is no way to use 4-wire UART because there is no enough pins at ESP32-WROOM. 
 Is there a way to use the ESP32 as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Sep 2021 19:29:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79445/using-nrf52-as-slave-device" /><item><title>RE: Using nRF52 as slave 'device'</title><link>https://devzone.nordicsemi.com/thread/328894?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 19:29:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52fb8cf1-015f-4bcf-ac69-8216618bcae8</guid><dc:creator>Abomin3v3l</dc:creator><description>&lt;p&gt;Hi. There is no need for low power operation in this project.&lt;/p&gt;
&lt;p&gt;So I need to connect one GPIO of nRF52833 to GND and configure this pin (input at the 833) as the lpuart&amp;nbsp;CTS signal in order the&amp;nbsp;uart be always active? And also configure one GPIO of nRF52833 as RTS signal (output) and keep it level low?&lt;/p&gt;
&lt;p&gt;2-pin UART is not possible? (TX/RX only?)&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/LPUART.png" /&gt;&lt;/p&gt;
&lt;p&gt;And&amp;nbsp;one problem of implementing an own protocol would be a possible need to update the nRF firmware in field if something is missing, so I think a UART bootloader in the 833 would be ideal, is there an official bootloader from Nordic that could be used for the nRF52833?&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52 as slave 'device'</title><link>https://devzone.nordicsemi.com/thread/328867?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 14:16:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83ed65a9-38d7-45bf-a08c-2454beb258ce</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I don&amp;#39;t have any experience with the direction finding project, but I would have looked at the lpuart example project to get started with implementing UART communication:&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/lpuart/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/lpuart/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The lpuart can be used as reference on how to use UART, however you are only using 2 pins (RX/TX) so you will not be able to achieve any low power operation here, instead the UART must be kept in RX continously in case the ESP have data to send. So simply connect the request pin to fixed level should keep the UART active.&lt;/p&gt;
&lt;p&gt;That said, you still would need to figure out how to / and which commands you want to trigger on the nRF52833, and the data format either way. Have in mind that data might be corrupted on UART interface (very small chance, but should still be considering), so you should likely have some timeout on every command, such that if there is no data in reverse direction in for instance 10ms then resend the command. Typically a command can consist of a fixed start byte, length, data, checksum. By using your own developed commands, you are much more free in terms of minimizing the amount of data that&amp;nbsp;is sent between the ESP and nRF52833, and can focus on the actual data you are interested in sharing between the two. Unfortunately I am not aware of any ready made example or protocol for the serial communication in this case.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>