Jump to content

Rei Vilo

Members
  • Content Count

    2,100
  • Joined

  • Last visited

  • Days Won

    138

Reputation Activity

  1. Thanks
    Rei Vilo reacted to StefanSch in MSP430 use FRAM above 0x10000   
    Thanks, for the feedback.
    I have already implemented the fixes based on your findings and planning for an update release of this package.
  2. Like
    Rei Vilo got a reaction from Abdul400 in BME680 Adafruit sensor library for Energia CC3200 launchpad   
    You could use a library designed for Arduino.
    See 
    Porting an Arduino library to Energia
  3. Like
    Rei Vilo got a reaction from Abdul400 in BME280   
    @Abdul400 There is no need to post the same question multiple times, as already at 
     Please refer to:
    Netiquette for Newbies Porting an Arduino library to Energia  
     
  4. Thanks
    Rei Vilo reacted to StefanSch in MSP430 use FRAM above 0x10000   
    It looks like that the compiler setting for the large memory model is not set correct.
    can you open the platform.txt file in
    c:/users/johnw/appdata/local/energia15/packages/energia/hardware/msp430elf/2.0.7/platform.txt
    and change line 21 from
    compiler.mlarge_flag=-mlarge -mcode-region=upper
    to
    compiler.mlarge_flag=-mlarge -mcode-region=either
     
  5. Thanks
    Rei Vilo got a reaction from Jul10 in BMP280 library for MSP430FR5969LP using CC/Energia   
    You can use a library for Arduino and adapt it to the MSP430.
    Porting an Arduino library to Energia
  6. Like
    Rei Vilo got a reaction from bluehash in MMA8452Q / MSP-EXP430G2ET   
    Please have a look at 
    Information to Provide When Asking for Help I²C Check-List I guess you're using the MMA8452 on I²C.
  7. Thanks
    Rei Vilo got a reaction from DianaD in TEA5767 Library--Radio Module with energia   
    The RAM of an MCU can’t be expanded. Go for another LaunchPad with a more capable MCU.  
  8. Like
    Rei Vilo reacted to StefanSch in I2C communication in energia background with MSP430F5529   
    When using the latest version of Energia the wire (I2C) has now the function
    setClock
    to set to 400k use setClock(400000UL);
  9. Like
    Rei Vilo got a reaction from TlaunchPad in RED_LED and GREEN_LED work opposite   
    Yes, this is a bug, sorry a feature of the MSP-EXP430G2ET!
  10. Like
    Rei Vilo reacted to NurseBob in BOOSTXL-SHARP128 with MSP-EXP430FR5969   
    I'm going to assume you want to actually learn, and not just be handed "the answer."  Take a look at this on stackoverflow, it should help you figure out a solution your problem.
  11. Like
    Rei Vilo got a reaction from MichelKohler in Some Misconceptions about Libraries   
    I'm receiving many mails about the libraries I've developed and I'm sharing.
     
    The libraries are plug-and-play as I'm using them in my projects. However, they are designed for a specific configuration. For example, a SD-card library requires a minimum of 512 bytes of RAM as this is the size of a sector. So it won't work on the MSP430G2553.
     
    With so many LaunchPads, BoosterPacks and components possible combinations, the one-fits-all approach is just impossible. It would end with lengthy and hard to read code with many pre-processing statements. For example, changing the pins names for the pins numbers improves the portability of the library across the LaunchPad range of boards.
     
    Even if the library works out of the box, they are provided as examples and require some work from the user. This is the best way for learning. The user should read and understand them, and then customise them so they can match his/her exact needs.
     
    With new hardware and software releases coming out, a library may suffer from obsolescence. It used to work with a prior version but no longer works with the new one. For example, each new release of Energia or CCS adds new features and some times modifies others in order to ensure compatibility across the whole range.
     
    Finally, feel free to improve and share back the libraries with the community
     
    This is a cross-post with Stellarisiti.
  12. Like
    Rei Vilo got a reaction from MichelKohler in I2C channels in Stellaris   
    Use `setModule()` as described in https://github.com/energia/Energia/blob/master/hardware/lm4f/libraries/Wire/Wire.cpp#L599
     
    void setup() { Wire.setModule(3); Wire.begin(); ... } Similar logic applies for UART and SPI.
     
    As an alternative, declare the variable as in https://github.com/energia/Energia/blob/master/hardware/lm4f/libraries/Wire/Wire.cpp#L161
     
    TwoWire Wire2(2);
  13. Like
    Rei Vilo got a reaction from MichelKohler in [Energia Library] I   
    Please find a library for the I


    INA219_Distribution206.zip
  14. Like
    Rei Vilo got a reaction from enl in Best way change I2C freq to 400kHz   
    Please refer to Wire.cpp#L121-L123
    I2C_Params_init(&params); params.transferMode = I2C_MODE_BLOCKING; params.bitRate = I2C_400kHz;  
  15. Like
    Rei Vilo reacted to NurseBob in Using Adafruit's Fingerprint scanner with Msp430G2553   
    " Multiple libraries were found for..."
    You've got a configuration error message.  Time to read the docs on porting from other libraries.
    How-To: Porting Libraries Posting a Library for Energia Some Misconceptions about Libraries The above may provide guidance.  I am not able to help much beyond this suggestion as I'm deeply involved in other non-coding projects at this time.
  16. Thanks
    Rei Vilo reacted to bluehash in Server   
    Certificate fixed.
    Thanks.
  17. Thanks
    Rei Vilo got a reaction from Nicole in MSP low power configuration   
    Please refer to 
    Ultra-Low Power with MSP430 at https://embeddedcomputing.weebly.com/ultra-low-power-with-msp430.html Ultra-Low Power with Energia MT and Galaxia at https://embeddedcomputing.weebly.com/ultra-low-power-with-energia-mt-and-galaxia.html The MSP432P401R LaunchPad programmer features EnergyTrace to be used with Code Composer Studio. 
    Ultra-Low Power with EnergyTrace at https://embeddedcomputing.weebly.com/ultra-low-power-with-energytrace.html
  18. Thanks
    Rei Vilo got a reaction from TheBharath in CC1312R1 Energia   
    Not yet, stay tuned!
  19. Thanks
    Rei Vilo got a reaction from Fmilburn in Simple Radio Library for CC1310   
    The CC1310 LaunchPad has a sub-1 GHz radio.
    On Energia,
    Install the EasyLink library by calling the menu Sketch > Include Library > Manage Libraries..., then select EasyLink and click Install. Select the board CC1310 LaunchPad. Call the menu File > Example > EasyLink > EasyLinkTX for the transmitter example. Call the menu File > Example > EasyLink > EasyLinkRX for the receiver example. Both examples work together. Obviously, you need two CC1310 LaunchPad boards!
  20. Like
    Rei Vilo got a reaction from Myra in Basic blink program unable to be uploaded on MSP320fr2355 on macOS 10.13.3 High Sierra   
    It was important to be sure, as the standard uploader DSLite doesn't work on macOS 10.14 but used to work on macOS 10.13.
    macOS 10.14 has changed the way USB ports are enumerated and named.
     
  21. Thanks
    Rei Vilo got a reaction from Myra in Basic blink program unable to be uploaded on MSP320fr2355 on macOS 10.13.3 High Sierra   
    Which release of macOS?
    See 
    Information to Provide When Asking for Help macOS 10.14 — Upload to MSP430FR5994 Fails #69
  22. Like
    Rei Vilo got a reaction from energia in MSP430FR6989 pins_energia file   
    Check 
    Add a New Board to Energia
  23. Like
    Rei Vilo got a reaction from energia in MSP430FR6989 onboard LCD drivers for Energia   
    Check the menu Files > Examples > LCD_LaunchPad.
  24. Like
    Rei Vilo got a reaction from jsolarski in MSP430FR6989 onboard LCD drivers for Energia   
    Check the menu Files > Examples > LCD_LaunchPad.
  25. Thanks
    Rei Vilo got a reaction from venkatesh223 in MSP432P401R SD card interface   
    The SD_TM4C library worked out of the box.
    Configuration:
    LaunchPad: MSP432P401R red Energia: 1.8.7E21 Boards package: Energia MSP432 EMT 5.23.1 SD card: Kingston 8 GB formatted in MS-DOS (FAT32).  

     
×
×
  • Create New...