Jump to content

NurseBob

Members
  • Content Count

    251
  • Joined

  • Last visited

  • Days Won

    32

NurseBob last won the day on October 26 2018

NurseBob had the most liked content!

2 Followers

About NurseBob

  • Rank
    Level 2
  • Birthday 09/09/1950

Contact Methods

  • Website URL
    http://www.nursebobsblog.org

Profile Information

  • Gender
    Male
  • Location
    St. Helena, CA

Recent Profile Visitors

2,482 profile views
  1. NurseBob

    SD card bootloader - convert assembler to C++?

    In addition to Rickta59's reply, you may want to read-up on bootloaders. TI published SLAA600D to help with such a task (in C, not C++)
  2. NurseBob

    Timer triggered A/D on the f5529 ?

    Hi MCH, Basically, the timer(s) and ADC are indpendent peripherals. So, what you do is set a timer at the interval you're interested in and either: 1) In the timer event handler trigger the ADC to read Or, 2) Set a flag that's read in a main loop to trigger the ADC You might find some guidance here. HTH
  3. NurseBob

    Splitting a string of data in Energia.

    Given that your issue is parsing a string, I'd suggest looking at this or other string handling code in C++.
  4. NurseBob

    Using microSD card to update firmware

    Also, though for a different chip, you might find the discussion and code for "Simple MSP430F5529 bootloader" useful too.
  5. NurseBob

    Using microSD card to update firmware

    I popped "microSD" into the search box on your question's page, and among many finds, this one may answer some of your questions. https://forum.43oh.com/topic/3946-msp430g2553-microsd-wav-music-player/?tab=comments#comment-35782 You may also want to look at E2E; I've found that to be a great resource as well, both in terms of searching previously asked questions as well as responding to my own queries. Not sure about current demands, but most of those types of operations have voltage limitations (many require >2.7V or more to function reliably).
  6. NurseBob

    Using 2 UARTS module at same time on msp432

    That approach has worked for my msp430F5529 projects.
  7. NurseBob

    BOOSTXL-SHARP128 with MSP-EXP430FR5969

    I'm going to assume you want to actually learn, and not just be handed "the answer." Take a look at this on stackoverflow, it should help you figure out a solution your problem.
  8. NurseBob

    CapTouch MSP432

    I think the cap touch demo is targeted to the CCS development environment, not Engergia. I see there is a captouch Energia library but see that it was not targeted to an MSP432 (as you noted). I don't know what the effort would be to port to a 432. FWIW, using CCS with interrupt-based code is likely to be far easier for your students to grasp and follow. There are numerous TI examples available that are focused on interrupts and other msp430 capabilities. Energia has a very sophisticated approach to interrupt handling (intentionally designed to hide the low-level code) and can be quite challenging for the uninitiated. You might also look to CCS 432 code examples for handling cap touch...
  9. NurseBob

    library for GSM sim 800 using energia

    As previously noted, the mcu you're working with is probably not a good match for the device you want to work with. Aside from that, read the compiler errors and resolve them starting with the first one. C/C++ compilers will cascade errors, and while subsequent errors may be relevant, generally dealing the first one is the most effective approach. As you may, or may not, know, a single missing semi-colon can generate hundreds/thousands of error statements...
  10. At the risk of doing exactly that... I've had occasional issues with various usb/serial peripherals on windows 10 on both my workstation and laptop, especially after MS updates. The solutions have typically been to look at changes in MS security/privacy policies which will disable device access and then render misleading error messages (e.g. "the device is in use by another application"). Your problem description doesn't seem to neatly fit what I've seen, but it might be worth taking a look.
  11. NurseBob

    MSP430FR2433 SleepSeconds 18ua

    Have you looked at what's happening "under the hood" with CCS or similar? All things considered, I find it amazing that the current is as low as it is. Energia is a great place to start and experiment, but it's not intended to replace coding that is far closer to the metal, er, silicon. Given it's heritage as a msp430 version of the Arduino, it's a very impressive piece of work. But, to manage the supporting classes, and the ever-present loop, it is constrained if your're looking for ultra-low power apps. You have already demonstrated that differential with your driverlib version.
  12. NurseBob

    What are the types of MLCC capacitor brand?

    I think you have a lot of reading to do... MLCC - Multilayer Ceramic Chip Capacitors are surface mount devices. You link to a through-hole electrolytic cap; a very different device. So, time to start looking at basic books/web references for the very basics of electronics. Your question is similar to asking: How big is a house? There is no sensible answer to your question. I'd suggest you might start with wikipedia as a first step. This is fun stuff, but you need to build a foundation of knowledge on the basics.
  13. NurseBob

    Microphone MSP430F5438A

    Using a mic could be a challenge. In the hospital respiratory rates are generally followed by tracking muscle electrical activity. Of course, with either approach, there is a lot of "noise" to deal with. EKG leads (which are often used to track the RR for someone not on a ventilator) are triggered by movement, such as turning, brushing teeth, etc. With audio, first you need a mic that's sensitive enough to even detect inspiration/expiration and then you have to figure out how to discriminate from the background. Based on your comment, I assume this is intended to be basically "real time?" Out of curiosity, I googled "detect human respiratory rate" and saw RGB-D camera to determine changes in the chest wall, radar, IR-sensors, paired electrode capacitance, and, perhaps the paper you read. I note in that article: "Some of the major assumptions include recording the breaths in a low-noise intensity environment." (my emphasis) Further, they're running Matlab on a reasonably powerful laptop. Also, in that paper, the author states the use of a "standard microphone." I have no idea what "standard" means - it's not a term used in recording. Mics are both interesting and complex devices when it comes to selecting one. (I do some voice over work, and have direct experience with those challenges). FWIW, you might take a look at Dave Jones' video blog. At least one of his interviews focuses on the challenges associated with circuits used to amplify audio signals. Regardless of your equipment choices, you have a very interesting, challenging project.
  14. NurseBob

    Microphone MSP430F5438A

    A quick google search of "msp430 microphone" doesn't yield much, but there are examples for recording and playback with the msp430FG4618. What type of analysis??? Your intended study appears to be very broad in its potential scope.
  15. NurseBob

    MSP430F5529 LaunchPad with FDC1004

    Best option is to post the code you're running, or attempting to run. Without such, it's almost impossible to diagnose what could be wrong in terms of the code. I'm sure you noted that the code you pointed to is both a different device with a different pinout. Also, do you have a logic analyzer or an oscilloscope? Very handy tools to see what's being sent. Finally, some I2C setups are very sensitive to the resistor values. Lower values (eg. 2k2) can make the signal transition cleaner, but increase power losses. And, if not an obstacle, a schematic never hurts either...
×