Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


energia last won the day on May 16

energia had the most liked content!

About energia

  • Rank
    Level 4

Contact Methods

  • Website URL

Recent Profile Visitors

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

  1. No need to file a github issue. It has already been done.
  2. You are right about the offset. It needs to be 0x20. Please github issue here: https://github.com/energia/msp430-lg-core/issues/65. Same for the I2C module. This is indeed also an error in the pins file.
  3. There are no issues with the variant's pins_energia.h. There is an "issues" or rather limitation on which ports attachInterrupt() can be called on. Right now that limitation is P1 through P4. The MSP430FR5994 does have interrupt capability on all ports and to be able to support this the underlying code needs to be changed. The implementation is in the file WInterrupt.c. I have filed an enhancement request here: https://github.com/energia/msp430-lg-core/issues/64. For the Serial1 question, this smells like a bug. Would you please be so kind to file a bug here: https://github.com/energia/msp430-lg-core/issues
  4. There are no errors, only warnings so the compilation was successful and you can upload the binary produces using the "Upload" button. It seems that you do not have the correct driver installed though. Please install the driver from here and read the instructions: http://energia.nu/guide/guide_windows/ The direct link to the driver is: http://energia.nu/files/ezFET-Lite.zip Robert
  5. energia

    MSP430G2 Drivers - Not Working on Mac

    I just now put the correct driver back on energia.nu. It got misplaced when moving things around. http://energia.nu/files/MSP430LPCDC-1.0.3b-Signed.zip Please install this driver as it is signed (the one on github is not). Unsigned drivers will not load in later versions of macOS which is probably the reason why you do not see any serial ports related to the LaunchPad.
  6. energia

    Run BME280 by MSP430 with Arduino code

    Assuming you have I2C connected to pins 14 and 15, add Wire.setModule(0) before bme.begin(); Robert
  7. energia

    Run BME280 by MSP430 with Arduino code

    Welcome to 43oh @Binhthanh Which MSP430 LaunchPad are you using and where did the library come from? Robert
  8. energia

    MSP430FR6989: Serial port monitor is not working

    Couple quesitons: You mentioned "I reorient the jumpers TXD and RXD.". In what way did you reorient them? If you are indeed using the MSP430FR6989 LaunchPad then you do _not_ need to change the jumpers. Are you sure about the COM port number? What version of the MSP430 core do you have installed. Make sure you update to the latest (1.0.3) using the Energia boards manager.
  9. energia

    MSP432 Won't Compile

    The package might not have installed properly. Can you please try uninstalling by following the steps in this thread:
  10. energia

    Checksum error in DHT11 interface with MSP430G2553

    p.s. see pinmap here: http://energia.nu/pin-maps/guide_msp430g2launchpad/
  11. energia

    Checksum error in DHT11 interface with MSP430G2553

    My guess is that there are some timing changes between the 2 versions of Energia. I'll look into it. For I2C, please note that to accommodate the "new" BoosterPack standard which puts I2C on pins 9 and 10, we implemented a software based I2C interface since some of the MSP430's do not have I2C brought out to pins 9/10. To use the legacy pins which puts hardware I2C on pins 14/15 in your Sketch before Wire.begin() call Wire.setModule(0).
  12. Without the Sketch / library there is little we can do to help other than guess. Please attach the Sketch / Library you are using with a detailed description of what hardware you are using and how it is connected.
  13. energia

    code stuck at the end of setup

    This code is the loop code from Energia's main(). init() set's up the chip, setup() is your setup() in the Sketch and then finally loop() is the loop code in your Sketch. It will indeed loop forever calling SerialEventRun() and your loop(). If you do not have a SerialEvent installed by implementing void serialEvent() in your Sketch then it won't be called. As @NurseBob mentioned, what is in your setup() and loop() code. Is it really stuck in setup() or is it halting within the for(;;){} piece of code.
  14. This is due to the code trying to detect if a 32.768 kHz crystal is present. This is done so that the power management code can use the optimal clock source during sleep to get the lowest power. With that said, I have never seen more than a few seconds delay. You can turn detection off by commenting out some lines in the core. Instructions below: Make sure you upgrade the core to the latest (1.0.3) using the Energia boards manager (Tools->Board->Boards manager). To avoid the delay in startup put the following at the bottom of your Sketch: #ifdef __cplusplus extern "C" { #endif void enableXtal() { // avoid startup delay } #ifdef __cplusplus } #endif This avoids the crystal startup code from being called and instead your version of it is called which does nothing in this case.
  15. energia

    SoftwareSerial Communication Issues

    With the example Sketch "SoftwareSerialExample" loaded on both MSP2553's it works correctly when connecting them P1_4<->P1_3 and P1_3<->P1_4. Make sure that you set the baudrate to 9600. The 2553 can not handle faster baudrate's for Software Serial. Also after programming them and wiring them up, reset both of them using the reset button.