<?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>PDM data from central receiver over uarte to python script</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76975/pdm-data-from-central-receiver-over-uarte-to-python-script</link><description>Hello guys, 
 I try to implement a pdm sensor on the nrf 52 dk which sends the audio data to a central device. 
 My setup is two nrf 52 dk one acting with the modified ble app uart example on it (peripheral), the other one with the ble app uart c on it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Jul 2021 08:46:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76975/pdm-data-from-central-receiver-over-uarte-to-python-script" /><item><title>RE: PDM data from central receiver over uarte to python script</title><link>https://devzone.nordicsemi.com/thread/318366?ContentTypeID=1</link><pubDate>Fri, 02 Jul 2021 08:46:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:035c666e-9eef-481f-ab5d-6dac99d2386d</guid><dc:creator>dadevelopa</dc:creator><description>&lt;p&gt;I got it to work now. It was printing the log info statements which was a very stupid mistake.&lt;/p&gt;
&lt;p&gt;Thanks for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDM data from central receiver over uarte to python script</title><link>https://devzone.nordicsemi.com/thread/318302?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 17:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fabf6235-2580-4acf-8639-52ed89e80c48</guid><dc:creator>dadevelopa</dc:creator><description>&lt;p&gt;it just sends one buffer out now.&lt;/p&gt;
&lt;p&gt;I just tried to run the application by itself(with hwfc disabled) and not with the segger debugger open I receive the number of bytes i want. But in every third buffer it attenuates the last 50 bytes. I know that the uarte instance attenuates these buffers since the buffers received from ble are correct. Why could that be?&lt;/p&gt;
&lt;p&gt;As info: Instead of the pdm data i send a predefined buffer to be able to see whether the data is correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDM data from central receiver over uarte to python script</title><link>https://devzone.nordicsemi.com/thread/318290?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 16:30:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7b4a4c5-5a84-4d13-ba99-92d7cd5097e1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Does it make any difference if you enable flow-control?&lt;/p&gt;
&lt;p&gt;i.e. in&amp;nbsp;uarte_init() set&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;.hwfc = NRF_UARTE_HWFC_ENABLED,&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDM data from central receiver over uarte to python script</title><link>https://devzone.nordicsemi.com/thread/318288?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 16:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4b2be29-3d9b-4ad3-9b99-18824be97e5e</guid><dc:creator>dadevelopa</dc:creator><description>&lt;p&gt;In ten seconds i receive 320000 bytes over the ble connection .But in the python script I receive a maximum 200000 bytes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDM data from central receiver over uarte to python script</title><link>https://devzone.nordicsemi.com/thread/318285?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 15:48:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eb205da-87a1-40cd-84fb-ed7557efaab1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""] When i try to send the data to the serial port via uarte it always skips a buffer to send to the serial port.[/quote]
&lt;p&gt;Could you explain this some more? You are sending the data over UART using&amp;nbsp;&lt;span&gt;nrfx_uarte_tx() in&amp;nbsp;ble_nus_chars_received_uart_print(), but you are not receiving&amp;nbsp;all the UART data on the computer ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>