Jump to content

Fmilburn

Members
  • Content count

    604
  • Joined

  • Last visited

  • Days Won

    79

Fmilburn last won the day on May 6

Fmilburn had the most liked content!

About Fmilburn

  • Rank
    Level 3

Profile Information

  • Gender
    Male
  • Location
    Seattle
  • Github
    https://github.com/fmilburn3/

Recent Profile Visitors

2,451 profile views
  1. 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.
  2. 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.
  3. 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.
  4. 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?
  5. 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.
  6. 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.
  7. 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?
  8. 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?
  9. 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.
  10. 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
  11. 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/
  12. attach interrupt rtc timer

    I think that for the most part Energia maintains the same functions and API as found in Arduino which does not have a RTC interrupt listed in the base reference. And while it might be possible to add it to Energia, I don’t believe it has been done. Nonetheless, the RTC can be accessed as mentioned above. I don’t use Energia much anymore but In the LaunchPads I have the crystal is active. If you really want control of such things however it is probably best to use CCS.
  13. attach interrupt rtc timer

    I think they may be referring to the attachment of an ISR in Energia: http://energia.nu/reference/attachinterrupt/ I believe Rei Vilo has posted an Energia library here on 43oh so do a search for that. I remember posting something for the F5529 using driverlib also.
  14. MSPflash do not work on MSP4305969

    This may seem rough but you are not going to learn to code by asking questions like these and need to start figuring out some of this on your own. You do not seem to have an understanding of the C/C++ languages. I suggest getting a book or taking an online course. Start with simpler problems if necessary but learn to solve problems yourself. RE: code that does not compile - decide whether you want to have an uint8_t variable or an unsigned long variable and then declare it as such. E.G. for unsigned long: unsigned long counter PLACE_IN_FRAM; Regarding your counter code above. This appears to be something copied from somewhere and has code not necessary for what you are trying to do such as the unused variables fadeValue and NUM_READS. You do not say why it doesn't work or what you have done to try and fix it. This is not the kind of thing people will want to spend time on trying to help you figure out. Break it into pieces you understand, test them until they work as you want, and then put it back together piece by piece testing as you go.
  15. MSPflash do not work on MSP4305969

    It is being declared both uint8_t and unsigned long - it should be one or the other. Maybe the GCC compiler accepts this and the TI does nor.
×