Jump to content

nyto4

Members
  • Content Count

    6
  • Joined

  • Last visited

  1. nyto4

    Why is analogRead() so slow?

    Yes, the software does what it is spec'd to do. The question was more why Energia underutilizes the F5529's resources, as it is capable of much more than 10kHz sampling. I went ahead and set the ADC clock to 5MHz and lowered the number of hold cycles. I'm not sure if this follows the spec but I am not reading a high impedance load, so there is no real reason to use a whole 100 usec. For anyone interested, change analogRead() in 'hardware/msp430/cores/msp430/wiring_analog.c'.
  2. According to the docs, it takes ~100 microseconds: http://energia.nu/AnalogRead.html. I measured this and it seems to be almost exactly 100 microseconds. Why does it take so long? This limits me to 10kHz sample speed. By the way, how fast have any of you guys sampled on the ADC12 of F5529?
  3. I'm trying to create an interface to collect data from some sensors using MSP-EXP430F5529LP. The sensor setup is powered with 3.3V and draws about 10mA. I noticed J10 on the LP has 3.3V and GND. When powered with USB, can this provide enough power? If not, I'll need to hook up VREF+ and VREF-. According to the data sheets these are pins P5.0 and P5.1. How can I hook up to these, as they don't seem to have a place on the 40-pin headers?
  4. nyto4

    Enough pins?

    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.
  5. nyto4

    Enough pins?

    How fast can I realistically sample and log to the SD card? Thanks for your reply!
  6. nyto4

    Enough pins?

    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.
×