nyto4 0 Posted May 9, 2014 Share Posted May 9, 2014 I'm new to this project so I'm not certain of the logistics. I need to use two ADC inputs and also would like to use an SD card to log to. Is this a good setup for that?: MSP-EXP430G2 http://store.43oh.com/index.php?route=product/product&product_id=102 on top of #1 http://store.43oh.com/index.php?route=product/product&product_id=66 on top of #2 Thanks. Quote Link to post Share on other sites
abecedarian 330 Posted May 10, 2014 Share Posted May 10, 2014 Writing to SD will take a lot more time than reading ADC, and those will use different pins. You should be okay. Quote Link to post Share on other sites
nyto4 0 Posted May 13, 2014 Author Share Posted May 13, 2014 How fast can I realistically sample and log to the SD card? Thanks for your reply! Quote Link to post Share on other sites
bluehash 1,581 Posted May 13, 2014 Share Posted May 13, 2014 How fast can I realistically sample and log to the SD card? Thanks for your reply! No one has benchmarked it yet. What does your application do? Can you store your samples in a buffer and then write it to the card? Quote Link to post Share on other sites
nyto4 0 Posted May 13, 2014 Author Share Posted May 13, 2014 I guess I'll benchmark it when I get the parts, then. It will just sample a signal on the ADC converter and log the result. Would like to sample up to 20kHz continuously. We'll give it a try, any suggestions would be helpful. Quote Link to post Share on other sites
jpnorair 340 Posted May 16, 2014 Share Posted May 16, 2014 Just a note: It is probably best to log samples to RAM, and then batch write them to the SD card. The 5-series parts have more RAM, and they also have DMA, so they would be better if you are really trying to blast ADC readings into the SD card. A good CM0/CM3 with DMA-backed ADC and SPI will be able to run much harder still, maybe even 1MSps, but for 20kSps you can *definitely* achieve this with a 5-series, and even have plenty of CPU time available for other things should you need them. 43Oh used to have a USB MSP430F5510 board that mated with booster-pack pinouts. I would check if this is still available. That would be my best bet. un3x 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.