Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


jsolarski last won the day on January 16 2019

jsolarski had the most liked content!

1 Follower

About jsolarski

  • Rank
    Level 3
  • Birthday 03/21/1983

Contact Methods

  • Website URL

Profile Information

  • Gender
    Not Telling
  • Location
    Chicago IL
  • Interests
    lots of stuff, and more stuff
  • Sparkfun
  • Github

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. This is awesome!
  2. did you set the serial monitor to the correct baude? default is 9600, but your sketch uses 4800
  3. why not use SPI to transfer data, or any UART on the msp to talk to the CC3200, there are even code examples to help get it setup.
  4. it looks like you compiled code is too big for your uC. or your selecting the wrong chip or board.
  5. http://www.ti.com/lit/ug/spruhd4m/spruhd4m.pdf This should get you going
  6. No file system is expected when writing data to the SD card like you are, you have to implement a file system, that's why i pointed to FATFS....basically you need to write to a file to read from a computer. You have a few options on how to get the data. 1) Dump the SD card data using DD or other command that can read block devices, hex editors and file recovery software are places to start. 2) create a function that dumps it to the serial output, and have your computer put it in a file. 3) implement a file system, where you write data to a file on the SD card. i
  7. so lets start simple, have you tried a different sd card? or tried a different sector? (not all SD cards are equal) have you made sure the card lock switch is in the correct position? (im sure you have but just want to make sure.) are you able or do you know how to use "dd" to see if you actually have written to the sd card? (dd is a command to either write or read raw data from a disk or image.) we want to verify that you are actually writing to the sd card The code looks good, but i dont use RTOS, and dont have a way to test at this time, im sure i could but I d
  8. Hi sara, I can only give you limited support, and hopefully point you in the right direction......... Your HW does have SPI, so you should be able to write to SD cards with out issue. Try looking here the only thing I see is you have to change the code to fit your HW, I do not know if SSI is close to USCI or USI. also if you add more info on your setup we maybe able to guide you in the right direction as well.
  9. OK, i did my best with out having the device and while working so it may or may not work, but you should be able to get the idea of what I mean #include <msp430.h> unsigned int voice; volatile unsigned char volt [5]; //JS edits volatile unsigned char raw_adc_data // added global for adc data to serial void init_serial (void); void init_serial (void) { P5SEL |= 0xC0; // 5.6 and 5.7 for TX/RX- UCA1 UCA1CTL1 |= UCSWRST; UCA1CTL1 |= UCSSEL_1; //32768 Hz UCA1BR0 = 03; // Baudrate 9600 UCA1BR1 = 0x00; UCA1MCTL = 0x06;
  10. void ADC_value (int ADC_Data) { volatile char x=3; volt [3] = volt [2] = volt [1] = volt [0] = 0x30; while (ADC_Data > 0) { volt [x] = (ADC_Data%10)| 0x30; // Separating unit digit ADC_Data = ADC_Data/10; // rest of the digit than last digit x--; } volt [4] = '\0'; } I' thinking this is your issue... what happens if you pass straight ADC values to your serial output? does it show the same thing?
  11. Yes, Pins will affect ADC values, for internal temp. My suggestion would do pull downs, on those ports connected to the ADC. when you do pull ups, there may be some leakage into the ADC that could skew the readings.
  12. @energia can we add a note to this sketch that it requires TI-RTOS? or do you have a work around for this?
  13. you need to download TI-RTOS to get the corresponding files. I do not use energia, so I would not know where or how to load it other then downloading it from http://www.ti.com/tool/TI-RTOS-MCU
  14. in Button. h on mine it is missing the same file with the same error..... looking into it further......
  15. Energia may not have all the options implemented, you are probably going to have to setup the timer manually and hope it doesnt conflict with what energia sets up. what kind of timer interrupt are you looking for? WDT? TIMER0A? periodic or one time? and are you planning to put the CPU to sleep? I can help to get a basic code setup for you.
  • Create New...