• Announcements

    • bluehash

      Forum Upgrade   03/11/2017

      Hello Everyone, Thanks for being patient while the forums were being fixed and upgraded. Please see details and report issues in this thread. Thanks!


  • Content count

  • Joined

  • Last visited

  1. What MSP430 are you using? SPI or I2C (just saw you tagged it I2C)? If you look in Adafrauit's Adafruit_BME280.cpp file under lines 374, 403, and 437 - there is the following 'if' statement, int32_t adc_T = read24(BME280_REGISTER_TEMPDATA); if (adc_T == 0x800000) // value in case temp measurement was disabled return NAN; NAN simply refers to 'not a number', and indicates typically something went wrong when reading the sensor. Adafruit's example was originally written for Arduino, so you'll have to use something similar for NAN in Energia I assume.
  2. Thanks! I just switched to using a Mac and didn't realize the ~/Library folder is hidden by default. OS X El Capitan 10.11.6 FWIW.
  3. Can anyone point me in the direction of the following files in Energia 18? https://github.com/energia/cc13xx-core I need to modify the board.txt and pins.h files to use the smaller 4x4 RSM package and can't seem to find this directory/files if my life depended on it. It's not located where the other msp430 variants are in /Applications/Energia.app/Contents/Java/hardware/energia in OS X.
  4. Does anyone have any code examples, experience, or can point me to the right direction when it comes to reading/writing to the internal flash that comes with these boards in Energia? I'm wanting to store up to a maximum of a days worth of non-volatile 3x32 bit 5 minute samples (3,456 bytes), before sending as packets when the Rx is in range. Thanks in advance!
  5. Thanks! This really helps clarify some of the questions. I'll add some tags to this post so others can find it at a later date.
  6. First, I'd like to say thanks for the implementation of EasyLink for the cc1310/cc1350 in Energia 18. Last year the community was invaluable in helping me develop some MSP430FR5949/BME280 dataloggers for my dissertation research. I'm working on a new version based off the cc1310, because well, transmitting my data wirelessly sure beats having to recover the dataloggers. I have a couple questions that I have been unable to answer - 1. The EMT documentation suggests that if you use delay, during compiling this is converted to a low power mode. Is this only for the MSP430/432 variants? The main reason I ask is because sleep(), sleepSeconds(), etc... do not appear to be available for the cc1310/cc1350. Low power modes would be essential for this project. 2. As general advice, any opinions if I would be better off using Sensor Controller Studio, TI-RTOS, CCS for the development of this project and then simplify and port functionality back to Energia? As always, thanks for the help and insight.
  7. Just wanted to say thanks! It took about a week in my spare time, but I was able to create a new energia_pins.h and boards file by comparing what Luke did in his tutorial as you had suggested. It was pretty straightforward once I was pointed in the right direction.
  8. ?Thanks for being willing to help with this dilemma! I'll answer your questions inline - So my questions are...
  9. Thanks for the response but I think i may have not explained clearly what I am trying to do. I have a embedded MSP430FR5949 based datalogger that I am trying to program using the MSP430FR5969 Launchpad as an ISP. I intend on using P1.6 and P1.7 for I2C to control and read a digital temperature sensor. I have been unable to get I2C to work on the MSP430FR5949 dataloggers but the original prototype using the MSP430FR5969 works fine. I assume the issue is due to pin assignment as one of the chips has 48 pins versus 40. I modified the energia_pins.h file for the FR5969 to get SW I2C to work on P1.6 and P1.7 instead of P3.4 and P3.5. My original question was do I have to tell Energia that P1.6 and P1.7 is at physical pin location on the FR5949 chip than on the FR5969? If so, what file do I need to modify? I don't see anything in energia_pins.h that identifies the actual physical locations of the chip pins, just the pin outs on the booster pack or Launchpad. I apologize if this is unclear.
  10. Great, got it. So how do I ensure when programming another chip in a series (such as the FR5949 using a FR5969 Launchpad) that the pins between the two chips correspond correctly?
  11. Ok, I received the boards yesterday and have soldered a few up. Even though the 1.6 / 1.7 I2C pins port / pins are at different physical locations on the 2 MCUs (FR5969 is 48 pin versus a FR5949 40 pin), where does this get defined in the pins.h file? Basically I don't understand how the pins numbers on the MSP430 datasheet from P1.6 and P1.7 (31 and 32 respectively) translate to the numbers seen in the pins.h file like static const uint8_t MOSI = 15; /* P1.6 aka SIMO */ static const uint8_t MISO = 14; /* P1.7 aka SOMI */ Thanks in advance!
  12. Thanks for the quick response! I'll create a variant folder and go from there.
  13. Just a quick question - probably obvious but I wanna make sure before I order some boards. If I was using a FR5969 Launchpad as an ISP to program some FR5949 chips - will the hardware I2C pins 1.6 and 1.7 and the software defined I2C pins 3.5 and 3.6 still work even though they are at different physical locations on the chips? My breadboard prototype version uses I2C on either set of I2C lines and works fine, but with a FR5969 and not the FR5949. When programming another chip in a series does the pin map need to be defined in the energia_pins.h file for the FR5969? Thanks!
  14. Hey, I've built a little datalogger using the FR5969, TMP112, and the BME280. I've been successful removing the jumpers and programming the stand alone loggers using ISP layout mentioned in multiple other threads on this forum. However, there are a ton of wasted I/Os and space for my application, so I've wanted to use a smaller chip. Enter the FR5949 (ok, just a little bit smaller but every milligram counts).. When I try to program the new loggers, I get the following error - tilib: MSP430_OpenDevice: Unknown device (error = 5) tilib: device initialization failed Can you use a the launchpad to program other similar chips within a series? Anyone have experience with this?
  15. I apologize in advance as the answer to this may be obvious, but I've looked around the forums and haven't found an answer yet. I'm trying to use a Bosch BME280 sensor with a MSP430FR5969 to do some handy datalogging. I found a library for it located here https://github.com/embeddedadventures/BME280 originally for Arduino implementation, and it works fine on that platform. There's no obvious requests for avr based libraries etc... but where should I start in attempting to get this to work with an MSP430?