Jump to content

Fmilburn

Members
  • Content Count

    618
  • Joined

  • Last visited

  • Days Won

    79

Everything posted by Fmilburn

  1. Fmilburn

    Infrared with msp430

    There are several posts on 43oh using IR, for example: The post above describes hardware I used and links to others. If you use Energia, look for Arduino projects and tutorials as most should work. For example, look on the Adafruit site which also sell hardware.
  2. Fmilburn

    SIM800L using TM4C123GXL and Energia

    I suggest looking in the language reference and getting familiar with it, e.g. http://energia.nu/reference/en/language/functions/communication/serial/begin/ You have not specified the board you are using and some do not offer multiple serial.
  3. Fmilburn

    Converting MPS430 assembler code to Energia

    Hmmm... that code looks familiar. Energia implements an interrupt with change, probably by the method that jsolarski suggests above. I don’t use Energia much anymore but it is open source so you can have a look at that if you are interested.
  4. Fmilburn

    MSP432P401R: example/library for gps

    Try replacing the call to software serial with Serial1 or other hardware serial.
  5. Fmilburn

    MSP432 Black suddenly gone from Energia

    Did you try an older version of Energia?
  6. Fmilburn

    RFC: CNC BoosterPack

    Beautiful
  7. Fmilburn

    TI HDC2010 temp-humidity sensor

    Hi @mph It is good to see someone new contributing code. Nicely written and commented.
  8. Fmilburn

    SIM800L using TM4C123GXL and Energia

    I am not sure if Energia supports it on the TM4C123 but try using hardware serial - eg Serial1 or Serial2 instead of software serial http://energia.nu/reference/serial/
  9. The TI store has 10% off selected LaunchPad and tools with free shipping for the next week. http://www.ti.com/store/featured/junemidyear2018.html?HQS=ecm-tistore-promo-junemidyear18-bhp-lp-null-wwe
  10. TI has listed a solution here: http://www.ti.com/tool/MSP-EXP430F5438 http://www.ti.com/tool/cc256xmspbtblesw The CC2650 seems to fit your requirements and you can get additional help on e2e if needed.
  11. Fmilburn

    DHT11 library for energia

    My memory must be faulty. I had a quick look at the Adafruit code and don't believe it will work without a fair amount of modification. They are using direct register reads in some cases which is not difficult to fix but they also seem to be blocking and counting loops to determine time which is not good practice. I mostly used the DHT22 but do remember getting the DHT11 working at one point. Most of the libraries seem to handle both. Unfortunately I did not put my code in github or otherwise document it so can't give much more guidance.
  12. Fmilburn

    DHT11 library for energia

    In the distant past I have used the Adafruit library with the DHT11 and don't remember having a problem. I normally use V17 of Energia with the G2553. Make sure you get the pins right and list both the pins used and a link to the library when asking for help. Arduino code that makes hardware specific calls will not work without porting whether to a MSP430, Teensy, ESP, etc.
  13. @Balwinder You have double posted your question which is to be avoided. Did you try the modified Energia version I posted above? There are also TI CCS examples and the driverlib I posted above.
  14. Fmilburn

    UART on cc3200

    Hi @Amanchaturvedi You don't say whether you are using CCS or Energia.... I have not used the CC3200 in quite some time but the Pxx numbers on the silk screen which are barely legible refer to the package pin numbers - refer to table 3.1 of the datasheet: http://www.ti.com/lit/ds/symlink/cc3200.pdf According to the datasheet there are two UARTs. You can multiplex them with CCS. In Energia it is possible with some LaunchPads to have Serial1 but I don't know if this is possible with the CC3200. Have a look at the pin map and try - probably pin 9 is TX(1) using the standard BoosterPack header nomenclature and Pin 10 is RX(1). Pins 3 and 4 should be regular serial RX and TX respectively.
  15. Fmilburn

    Is there an Energia-compatible SD library?

    There are quite a few threads and links to SD libraries in the forum. Do a search for “energia SD” or something similar.
  16. Fmilburn

    Supported MSP430's

    I did not have problems but only used it one project and did not test all peripherals. I see that the links that Rei Vilo has provided are quite recent and by people who are more familiar with Energia than I am. I would start with those... I find the TSSOP packages easy enough to hand solder.
  17. I am just guessing on the schematic. It looks like pins 15-18 on the shuttle_con go to U1, the BMI160. I suspect you need to make your connections from the LaunchPad to pins 4-7.
  18. Hi @ckd I don't know that anyone is using this device with the TM4C1294 or Energia. Have you tried searching for Arduino libraries and porting them or at least looking at how they have implemented?
  19. Fmilburn

    IRremote Library Not Working

    Hi @CptSky You haven't provided much information - no code really, no information on the microcontroller, the pins used and how they are connected, etc. If you have commented out code as described in your first post then of course there will be no output if TIMER_PWM_PIN is P2_3. //pinMode(TIMER_PWM_PIN, OUTPUT); //digitalWrite(TIMER_PWM_PIN, LOW); // When not sending PWM, we want it low I don't think it is possible to give meaningful help without more information.
  20. Fmilburn

    Supported MSP430's

    I have developed for a couple of other MSP430 versions that were not already in Energia, although not lately. The easiest way is to start with something quite similar and modify pins_energia.h and modify the boards.txt file as needed. The G2955 is a nice microcontroller that might meet your needs. If so, I have placed the pins_energia.h file and directions for modification of boards.txt and installation here. It was developed for, and the directions for installation are for Energia V17.
  21. Fmilburn

    I2C and MMA8452/MMA8451 accelerometer

    I have two MSP-EXP430G2 V1.5 LaunchPads and have used them for many years without a problem with serial print on various versions of Windows including 7, 8, and 10. I have also made many custom boards using the G2553 without a problem. Having said that, I would not recommend the MSP-EXP430G2 LaunchPad for developing the MSP430. Get one of the newer LaunchPads like the F5529, FR2433, or FR6989. They work well with Energia if you want to use that, can be used to program the G2553 if you really want to use that (and the only reason I can think of is the DIP package but it isn't that much more difficult to solder the larger SMD packages), and don't have the awful emulator that is on the MSP-EXP430G2. Further they don't cost much more if any and TI frequently puts them on sale sometimes with free shipping. You will have far fewer problems flashing and with serial on any of the newer LaunchPads. I do all G2553 development by connecting to a F5529 LaunchPad. To test your LaunchPads, pull the G2553 DIP microcontroller on the "bad" boards and put them in the good board to see if they work. If you haven't done that before then my method is to pry them slowly by alternating between the ends with a very small screwdriver. Be careful and insert slowly and evenly making sure all pins are seated as you go. If they work in the good board then maybe something is wrong with the other LaunchPads. If they don't work then probably something is wrong with G2553 - perhaps they saw more than 3.6V? Do they still flash a LED?
  22. Fmilburn

    WS2812 WS2811 driver (Tiva)

    @binbsoffn have a close look at how the SPI approach works: It is simple, elegant, and quite precise with minimal processor cycles It even wotks with Energia. Now try it with timers... You will need to switch back and forth on timer settings during output. Can you make it work?
  23. Fmilburn

    adxl350 calibration

    Did you make a jig and follow the procedure in the Adafruit link? What value are you seeing for g? A value of 9.8 would be close for SI units. However if it is reporting g-force the value should be close to 1. I don’t have this sensor but cannot understand why a correction cannot be made if the sensor is giving relatively constant values at rest.
  24. Fmilburn

    adxl350 calibration

    Don’t double post, it is bad etiquette. If you have a look at the datasheet you will see that the device is quite linear. You can improve calibration by recording values at 1g and correcting for offset. The datasheet also shows the influence of temperature. Also see https://learn.adafruit.com/adxl345-digital-accelerometer/programming
  25. Fmilburn

    Boosterpack MKII & MSP430FR6989 Game

    Hello @Turan2018 I am not a gamer but if you are using Energia then code written for other Energia compliant devices using the same BoosterPack will likely work for the FR6989. Code written for Arduino can be used as a starting place but any hardware dependent portions - such as that written for the display or Atmel specific code - will need to be ported. I would do a search for your Boosterpack first and understand how it works first - especially the display If you are using CCS then there is considerable training available, e.g. http://processors.wiki.ti.com/index.php/Getting_Started_with_the_MSP430_LaunchPad_Workshop It will not have games but will start you out on a real understanding of microcontrollers using Driverlib. I thought this Udemy course for FR6989 which uses CCS and direct register access was good although it does not cover the BoosterPack: https://www.udemy.com/mcu_msp430/
×