<?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>read high speed analog sensor data and send data to pc</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23822/read-high-speed-analog-sensor-data-and-send-data-to-pc</link><description>Hi, 
 I&amp;#39;m working on a project where I need to collect and process analog data coming from high speed sensor measurements. The data needs to be read at a speed of 25k samples/sec. In which way do I need to adapt the saadc example file to increase the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Jan 2019 16:03:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23822/read-high-speed-analog-sensor-data-and-send-data-to-pc" /><item><title>RE: read high speed analog sensor data and send data to pc</title><link>https://devzone.nordicsemi.com/thread/168758?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 16:03:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f5600eb-2d68-4aad-96e5-ff9138a5a83b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Your question does not make sense unless you can specify more what you are connecting to and what data you will transfer. We have different &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/examples_usb"&gt;USB examples in the SDK&lt;/a&gt;, but there is no general example that can send any data to any device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: read high speed analog sensor data and send data to pc</title><link>https://devzone.nordicsemi.com/thread/168739?ContentTypeID=1</link><pubDate>Wed, 30 Jan 2019 14:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4c81626-655d-4052-b43e-7ec1ce54b649</guid><dc:creator>ratnakar1978</dc:creator><description>&lt;p&gt;Hi , Can you please suggest me how can I transfer data from Nordic chipset (nRF52480) dedicated USB port to host PC or external CPU USB Interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: read high speed analog sensor data and send data to pc</title><link>https://devzone.nordicsemi.com/thread/93719?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 12:25:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6623559-5323-47da-8a42-d78ec948f970</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;No, the MSC example should not need any driver, as this USB class should be supported by Windows already.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: read high speed analog sensor data and send data to pc</title><link>https://devzone.nordicsemi.com/thread/93718?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 12:19:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f0b91e5-0949-43d9-a922-b25d368b1cc2</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;I did follow these steps to browse the driver manually but is it also necessary when doing the MSC example, to have this driver installed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: read high speed analog sensor data and send data to pc</title><link>https://devzone.nordicsemi.com/thread/93714?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 12:08:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0b8d7c3-da7c-4cc7-b01c-69d0ef0ef405</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, I had to browse the driver manually, as described in &lt;a href="https://devzone.nordicsemi.com/question/108281/is-there-a-windows-driver-for-the-nrf52840-usb-cdc-acm/?answer=108409#post-id-108409"&gt;this answer&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: read high speed analog sensor data and send data to pc</title><link>https://devzone.nordicsemi.com/thread/93715?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 11:59:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41e647dd-f7eb-4f4c-9f6f-120dbf2116e6</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;Ok I removed the driver. When I reconnect the board, I get a message that for nRF52 USB CDC Demo, no driver was found. I&amp;#39;m using Windows 7. Until know I was working with the CDC ACM example, I will try implementing the MSC example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: read high speed analog sensor data and send data to pc</title><link>https://devzone.nordicsemi.com/thread/93717?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 10:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6ab50cb-8f1f-473c-8e0c-9db6566d470b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The &lt;em&gt;nordic_cdc_acm_example.inf&lt;/em&gt; driver should not be used with the MSC example, this is only for CDC ACM example. The device should enumerate as MSC device automatically. Which Windows version are you using? Have you tried removing the driver and reconnected the board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: read high speed analog sensor data and send data to pc</title><link>https://devzone.nordicsemi.com/thread/93716?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 09:55:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba5963ca-c788-42b7-aed4-e60aea73fa1f</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;The driver is not automatically installed when I connect the device to my computer. I added the nordic_cdc_acm_example.inf file manually in the driver settings but still the device doesn&amp;#39;t show up as a removable disk so I can&amp;#39;t retrieve any of the .txt files that should be created in this example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: read high speed analog sensor data and send data to pc</title><link>https://devzone.nordicsemi.com/thread/93720?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 07:21:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c68910e-709a-415e-9f86-c56884bb0350</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Unfortunately, only up to 1 Mega baud is &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/uart.html?cp=2_1_0_49_9_11#register.BAUDRATE"&gt;supported by the UART peripheral&lt;/a&gt;. Unfortunately, we do not have any file transfer examples. The closest we provide is the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.1.0/usbd_msc_example.html?cp=4_0_0_4_5_45_5"&gt;USB MSC Example&lt;/a&gt;. It is possible to use the FatFS driver in this example to store files on external QSPI flash, and then copy the files from the MSC device on your computer, but it will not work in an automated way. If you want to transfer files directly, you need to implement your own USB class. What is the issue with the driver? I tested it on Windows 7 yesterday and it worked fine. Also tested example on Windows 10, but there no driver is needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: read high speed analog sensor data and send data to pc</title><link>https://devzone.nordicsemi.com/thread/93713?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2017 15:05:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc070018-e178-4d4a-8cb0-be16e4f2ab44</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;Thank you for your reply,&lt;/p&gt;
&lt;p&gt;Increasing the baudrate partly fixed the problem with the overflow message. I can now reach up to 2.5k samples/sec. Is it possible to increase the baudrate beyond 1 Megabaud?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m indeed using nRF52840. I implemented the USB CDC ACM example but I would like to receive the data in a .txt file (also .xlsx file or .mat file would work). At this moment I can only view the data in the putty or termite terminal. There seems to be a problem with the Windows driver for the nRF52840 USB CDC ACM. Is there a fix for this?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: read high speed analog sensor data and send data to pc</title><link>https://devzone.nordicsemi.com/thread/93712?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2017 11:05:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02e08931-1cae-445a-bca7-9f2bb6aeb44e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi Tim,&lt;/p&gt;
&lt;p&gt;The SAADC peripheral support sampling rate up to 200 ksps, with aquisition time set to 3 us. With default settings from SAADC example from SDK (10 us aquisition time), you should be able to achieve 83.33 ksps sample rate.&lt;/p&gt;
&lt;p&gt;The overflow message you are seeing is from the UART printing. You could try increasing the baudrate, for instance to 1 Megabaud.&lt;/p&gt;
&lt;p&gt;If you are using the nRF52840, there is an &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.1.0/usbd_cdc_acm_example.html?cp=4_0_0_4_5_45_1"&gt;USB CDC ACM example&lt;/a&gt; in the SDK, which emulates a virtual COM port over the USB interface. You should be able to modify this to transfer the ADC data to the computer. If you are using the nRF52832, there is no USB interface on this chip, but the Segger J-Link IF MCU on the nRF52 DK also provide Virtual COM port interface.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>