<?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>Sending SAADC Data via Bluetooth in nrf52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69715/sending-saadc-data-via-bluetooth-in-nrf52832</link><description>Hi, 
 Hope you are well. 
 I want to send the saadc data with ble to my pc. I used the below code. I am getting the data in the right format but i am loosing some data in the process. I need a sampling frequency more than 20kHz for my work. can you help</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Dec 2020 14:03:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69715/sending-saadc-data-via-bluetooth-in-nrf52832" /><item><title>RE: Sending SAADC Data via Bluetooth in nrf52832</title><link>https://devzone.nordicsemi.com/thread/286858?ContentTypeID=1</link><pubDate>Tue, 29 Dec 2020 14:03:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c58f1198-3bb2-4909-b13f-65ab5a6483a2</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think we have done&amp;nbsp;much benchmarking to see how fast you can send packets from an nRF52 device to the nRF24L01+, but it should be possible to send at least one packet every 500us, which corresponds to about 40kHz sampling frequency in your case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just keep in mind that this assumes zero packet loss, and that the data is sent and read out efficiently on both sides of the link.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I mentioned earlier it is critical to observe the&amp;nbsp;&lt;span&gt;nrf_esb_write_payload(..) return code and the frequency of&amp;nbsp;NRF_ESB_EVENT_TX_FAILED&amp;nbsp;events in order to see if the data is successfully transferred to the PRX device.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;br /&gt;Torbjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending SAADC Data via Bluetooth in nrf52832</title><link>https://devzone.nordicsemi.com/thread/286431?ContentTypeID=1</link><pubDate>Wed, 23 Dec 2020 11:10:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c712f35f-5d84-40d4-8188-8c2385075e63</guid><dc:creator>Masoumeh</dc:creator><description>&lt;p&gt;I am using the nrf24l01+ as the receiver and its packet load is 32 bytes max. so what can be my sampling frequency with these system while my radio is working in 2Mbits/s and my resolution for adc is 12 bits, also i put every 2 samples of the adc in 3 byte of the packet load to optimize the configuration.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending SAADC Data via Bluetooth in nrf52832</title><link>https://devzone.nordicsemi.com/thread/286092?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2020 15:00:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72b186e2-d807-4f54-b54b-9201deff7359</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you ever see the&amp;nbsp;NRF_ESB_EVENT_TX_FAILED event occur, or that the call to nrf_esb_write_payload(..) returns an error?&lt;/p&gt;
&lt;p&gt;If you are uploading data to the nrf_esb library faster than it is able to send it out, you will at some point fill up the buffers, and if you ignore this error it will lead to packet loss.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One way to increase data throughput is to increase the size of each packet (on the nRF52 series you can go up to 252 bytes payload), but this will only work if you have nRF52 devices on both sides of the link.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>