<?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>Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14668/mass-storage-with-nrf51</link><description>I have a project that requires a bluetooth central to be used to gather data from a HRM service, which shouldn&amp;#39;t be too much of an issue. However, it also has to store this, and other local sensor data to some sort of storage device (perhaps microSD or</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Jun 2016 12:40:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14668/mass-storage-with-nrf51" /><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55990?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 12:40:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:520cbb7e-3dfb-4506-987c-d7be539a2362</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;well the cheapest USB MSD chip I can find is some OTI device which you can get for $1.50 a pop but interfaces directly to NAND memory and still needs a crystal. Octopart tells me I can get ATSAMD11 for about $2.20 a pop, doesn&amp;#39;t need a crystal and you can program it to do what you want. So if I was doing this project, I&amp;#39;d start there myself. With that chip you can even get cute and implement a serial interface for streaming, testing or DFU .. or anything else you like.&lt;/p&gt;
&lt;p&gt;i think I have a D11 eval board somewhere, might even have come with the BTLC1000 module (which is Atmel&amp;#39;s BLE chip) which I&amp;#39;ve still not got around to actually using.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55989?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 10:56:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:212dcd21-0185-4eee-8ba5-f7adfd6d291c</guid><dc:creator>Sensors</dc:creator><description>&lt;p&gt;The service would be the standard HRM service. All the central would have to do is receive that data and pass it on.&lt;/p&gt;
&lt;p&gt;Potentially I could get the data by other means, but it needs to be relatively user friendly without being too compliated :/&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll have a look at the other standalone BLE chips vs the nRF52. BOM cost is obviously a significant factor so I need to weight that up against assembly/programming complexity.&lt;/p&gt;
&lt;p&gt;No way in hell am I gonna be bit-banging USB though!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55988?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 10:56:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce9583d5-af6c-43da-afc1-1b39f80c629e</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;you have to use a separate MCU if you want to deal with USB, you just can&amp;#39;t do it with the nRF series. I&amp;#39;m a pretty good programmer but even I would balk at trying to bitbang USB :).&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t think Nordic makes a dumb central IC, they have the 8001 series but those are peripheral only, they have the nRF24L series but those are generic 2.4GHz and don&amp;#39;t have a BLE stack (I think) and they are 8051 processor, they do have USB however (but probably no MSD driver).&lt;/p&gt;
&lt;p&gt;There are other standalone BLE chips, Atmel again, Microchip again, which you just talk to over serial, however I don&amp;#39;t know as you save much money using one, even when you have the full BOM to support the nRF chip. I&amp;#39;d move to the nRF52 myself, less components needed on the matching network (ie just 2).&lt;/p&gt;
&lt;p&gt;Or don&amp;#39;t use mass storage, get the data off another way, .. serial?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55987?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 10:37:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8ca695c-bb4c-4208-a719-c7ca38ab7308</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;Think what that ic has to do. Is it only scanning or also connecting? how would you send the data to &amp;quot;master&amp;quot; uc? Is the service standard or custom? I think it is easier just to stay with nRF51 instead of using other ic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55986?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 10:35:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ff43145-c9bd-4045-9a85-22ef2b0a0c0a</guid><dc:creator>Sensors</dc:creator><description>&lt;p&gt;So do we think the best approach here might be to use a separate microcontroller to deal with the USB comms, flash/file system, and have the nRF51 act as the system to gather the data from bluetooth and other sensors?&lt;/p&gt;
&lt;p&gt;If that&amp;#39;s all the nRF51 is doing though then maybe it&amp;#39;s overpowered for the task when I could potentially just get away with some sort of BLE central IC that requires no custom firmware? Does Nordic make a &amp;#39;dumb&amp;#39; BLE central IC?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55985?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 09:43:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:123f544d-5311-4d55-9572-608f629acc6e</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;Just about SAMD11 - i used that chip for USB CDC serial - atmel has quite good libraries but with a bit large overhead. samd11 has quite small memory (ram and rom) but should be enough for mass storage (with external memory ofc). It was quite easy for me to start with it, and i am still a novice :) also Its QFN package is really small :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55984?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 09:33:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77929f06-0526-45ca-9ae9-8e79c8d226d5</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;.. there has to be more out there however .. you can get such ridiculously cheap USB sticks, they must have a really simple USB MSD controller in them, same for the adapters you plug SD cards into, they&amp;#39;re flipping tiny, 5v powered and talk USB and SD, figure out what chip they use and you may have a solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55983?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 09:31:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf6eab26-fae8-4cf7-84eb-80399414d9f4</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;you have two SPIs on the chip, and it&amp;#39;s not necessarily SPI you&amp;#39;ll need - depends on the chip you use to support the MSD. You could even possibly hook it up so they are independent users of the same memory .. but I think I wouldn&amp;#39;t do that.&lt;/p&gt;
&lt;p&gt;I just did some googling - there are fewer USB MSD chips than I would have thought, well that I&amp;#39;ve found so far at least. There&amp;#39;s lots of USB CDC serial ones, but I guess that&amp;#39;s because all they have to do is be USB one side and UART the other and you can interface them with anything, USB MSD really needs code on the host side.&lt;/p&gt;
&lt;p&gt;Atmel has the SAMD11, cheap, has USB, they have an MSD example, it&amp;#39;s also crystal-less which is rather handy. If you haven&amp;#39;t done any USB stuff before however .. you have a lot to learn I&amp;#39;m afraid. Now you&amp;#39;ve made me curious enough to put it on my project list, couple of weeks of fun there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55982?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 09:24:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:200bf7d0-a0a1-460c-afe9-15a94a66ed6e</guid><dc:creator>Sensors</dc:creator><description>&lt;p&gt;RK, will that not interfere or clash with the SPI coming from the nRF51? I&amp;#39;ve not had to do anything like this before, so I&amp;#39;m not sure about the best way to go about it. I&amp;#39;m also not sure what to search for in terms of part description/name?&lt;/p&gt;
&lt;p&gt;Wojtek, unfortunately it has to be a cost effective, scalable design so unfortunately cramming and Edison or rPi in a box won&amp;#39;t work :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55980?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 09:06:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd0a812d-f9b8-4d47-87be-4920ce5e3421</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;Do you have power source there? Maybe you could use some module like ex. new raspberry pi, or intel edison, and their in-built BLE? you could access the data by WiFi or something. But it would be much more expensive in mass production.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55979?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 09:05:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67282bff-96ae-451d-b59a-25ef745beea4</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;In that case you don&amp;#39;t need an SD card and all the expense of the holder if you&amp;#39;re not going to take it out again. Just use some cheap SPI addressed soldered in flash memory, cheaper, easier.&lt;/p&gt;
&lt;p&gt;If you must have USB then buy a USB capable interface chip, I&amp;#39;m sure FTDI does them, Atmel does them, there&amp;#39;s bound to be lots of others, probably come ready-configured to look like serial ports or MSDs and you just need to feed them, probably via SPI again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55978?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 09:01:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cda212e6-e96f-4ef0-bdd4-685b908ff99a</guid><dc:creator>Sensors</dc:creator><description>&lt;p&gt;It&amp;#39;s not a viable option to take the SD card out, it must be a self-contained unit. It&amp;#39;s awkward, but necessary in this case.&lt;/p&gt;
&lt;p&gt;Re-transmitting the data via BLE is potentially an option, but 1GB of data would take over two hours at BLE&amp;#39;s 1Mbps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55976?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 08:59:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53a2d95e-b3ed-4531-9f1e-3ea5eb5cf062</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;You take the micro SD card out and plug it into a USB adaptor and put it in the computer you want to download the data onto. That&amp;#39;s how you access it over USB.&lt;/p&gt;
&lt;p&gt;I believe FreeRTOS also has a free FAT filesystem which you can use without the actual RTOS, so you just need to write the SPI driver for the MicroSD card which is tedious but not very hard.&lt;/p&gt;
&lt;p&gt;Alternatively since you have bluetooth how about just retransmitting the data over bluetooth to the host computer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55977?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 08:57:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5b1cecc-a72e-4ae5-ac26-07a1bc92e1c0</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;card reader. nrf51 is not capable to do usb-emulation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55975?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 08:54:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:041f3f55-c570-4151-8cae-13268714763a</guid><dc:creator>Sensors</dc:creator><description>&lt;p&gt;Yeah, I thought I may be able to do that through SPI. I hoped maybe Nordic supported FatFS or something similar, but I may need to port it.&lt;/p&gt;
&lt;p&gt;However, how would I then access this data via USB?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55981?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 08:51:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f32b03e-b2dc-4c2d-b081-d729ac6fb423</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;Ok, i think the easiest way is to use SD-card. You can write to it using SPI (probably some level-shifting will be needed). Maybe you could implement FAT32 filesystem somehow. If not, you can write RAW data on that card, but you will have to use some special software to read from it on the PC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55973?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 08:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:408c2571-a862-4956-ae3e-880549764de8</guid><dc:creator>Sensors</dc:creator><description>&lt;p&gt;Potentially between 0.5-1GB...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage with nRF51?</title><link>https://devzone.nordicsemi.com/thread/55974?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 08:43:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1517112e-3dd0-40f0-bc18-7f4b677fcc63</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;how big storage you need?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>