<?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>serial example use UART to communication with PyACI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56275/serial-example-use-uart-to-communication-with-pyaci</link><description>Hi support team, 
 I download mesh (nrf5_SDK_for_Mesh_v3.2.0) serial example FW to nRF52840 DK, 
 and connect to embedded linux gateway over USB, 
 I can run PyACI example normally! 
 Can i connect P0.06, P0.08, GND (UART0) on 52840DK to my gateway directly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jan 2020 05:08:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56275/serial-example-use-uart-to-communication-with-pyaci" /><item><title>RE: serial example use UART to communication with PyACI</title><link>https://devzone.nordicsemi.com/thread/228918?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 05:08:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff5acfb5-2ed2-46d3-ab2d-fdf2849334a6</guid><dc:creator>kingdomlin</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;After modify HWFC, my program work fine!&lt;/p&gt;
&lt;p&gt;Thanks for your support&lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial example use UART to communication with PyACI</title><link>https://devzone.nordicsemi.com/thread/228114?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2020 11:57:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd541f4c-cfb1-448e-9be9-d92fe5279407</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I suspect that this is because the serial example is using HWFC (HardWare Flow Control).&lt;/p&gt;
&lt;p&gt;In the serial example, this is set in serial_uart.c, in the serial_uart_init() function, on line 87:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;NRF_UART0-&amp;gt;CONFIG  = (HWFC ? UART_CONFIG_HWFC_Enabled : UART_CONFIG_HWFC_Disabled) &amp;lt;&amp;lt; UART_CONFIG_HWFC_Pos;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;HWFC is defined in pca10056.h. Try to change it to false, and see if it works then. Alternatively, try to add the wiring for the flow control (pin &lt;span&gt;P0.0&lt;/span&gt;5 and P0.07) to the RPi, and also enable flow control on the RPi&amp;#39;s UART.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial example use UART to communication with PyACI</title><link>https://devzone.nordicsemi.com/thread/228042?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2020 08:41:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0b9f739-a0aa-4eb6-95ff-227c100454a9</guid><dc:creator>kingdomlin</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;Thanks for your quick response, After test 52840 DK can receive message from my gateway over P0.08&lt;/p&gt;
&lt;p&gt;I can see&amp;nbsp; netkey and appkey message in segger debug, so receive message is OK&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1578472273224v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;But P0.06 can&amp;#39;t transfer message out, I got nothing from this pin&lt;/p&gt;
&lt;p&gt;So PyACI read nothing before timeout&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1578472723718v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;What is the problem and how to fix this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial example use UART to communication with PyACI</title><link>https://devzone.nordicsemi.com/thread/227920?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2020 14:11:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:216b6919-f5c7-4f6e-a068-dbaa8da14941</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Yes. P0.06 and P0.08 on the DK is wired via the programming chip (the Segger Chip on the DK) which translates to USB. But the signal is also running out through the pins on the DK without modifications.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>