Jump to content

Rei Vilo

Members
  • Content Count

    2,025
  • Joined

  • Last visited

  • Days Won

    131

Everything posted by Rei Vilo

  1. Rei Vilo

    Interrupts for TM4C123GXL

    Why aren't you using the built-in QEP inputs? The TM4C123 features 2 QEP with TTL inputs natively. See my separate answer to your previous thread. You may need to declare the variables as volatile.
  2. The code I mentioned actually works for me. I went through the well-written TivaWare™ Peripheral Driver Library for C Series User's Guide (Rev. D). As an option, you can start from scratch and develop your own library.
  3. Rei Vilo

    Compiler option change with latest board file

    You can easily change those parameters by editing the file ~/Library/Energia15/packages/energia/hardware/msp432r/5.25.0/platform.txt on macOS.
  4. Perform a search with quadrature https://forum.43oh.com/search/?&q=quadrature See http://forum.43oh.com/topic/7170-using-harware-qei-on-tiva-launchpad/
  5. Rei Vilo

    List of all boosterpacks

    Have a look at the BoosterPack Checker, part of TI Cloud Tools. It lists all LaunchPads and BoosterPacks, and allows to check the compatibility. https://dev.ti.com/bpchecker/
  6. Rei Vilo

    embedXcode

    Release 11.2.1 of embedXcode adds support for Xcode 11.1 on macOS 10.15 Catalina. Download
  7. Rei Vilo

    embedXcode

    Develop your sketches for LaunchPad MSP430G2xxx and MSP30F5529, and Experimeter Board MSP430FR5739 using Xcode! Direct links:
  8. Rei Vilo

    Bad CPU type in executable?

    New release Energia 22 throws this error on macOS 10.15 Catalina: Indeed, many Java related files seem to be missing. I'm waiting for the final release. In the meantime, I'm using Xcode with embedXcode.
  9. Rei Vilo

    Bad CPU type in executable?

    The two links provided in the thread [Bad CPU type in executable?](https://forum.43oh.com/topic/13554-bad-cpu-type-in-executable/?tab=comments#comment-82533) fail. http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip returns `AccessDeniedAccess Denied46C5585239622A0BtEYNB+M3ll6eUk8CpPRYP51lFaQ1EqejDms3Cn0z3W5Vz76rCFrkBl6jjaH5qv1x` http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip is polluted by `http<feff>://s3.amazonaws.com/energiaUS/distributions/energia<feff>-1.8.10E22-macosx<feff>-signed.zip<feff><feff><feff><feff><feff><feff>` and redirects to the Google page. However, download from http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip eventually succeeds.
  10. Would you mind opening a ticket at the msp432r-core repository for better tracking? Thank you!
  11. Rei Vilo

    How many PWM outputs can I obtain using the msp430g2553 chip?

    The pins map clearly says 3:
  12. Rei Vilo

    MSP430GET w/ MSP430G2302

    AFAIK, the MSP430G2302 isn't listed among the MCUs supported by Energia. Now, you can find tips at Add a New Board to Energia.
  13. Rei Vilo

    Simple Radio Library for CC1310

    I raised the issue some tile ago at ETSI Frequency Hard-Coded — How to Comply with FCC? I would suggest to bump the ticket.
  14. Rei Vilo

    Porting Libraries to energia

    Please refer to Porting an Arduino library to Energia
  15. Rei Vilo

    Is MSP432P4111 supported by Energia?

    Feel free to join the team and port Energia to the MSP432P1111! Except for the GPIOs used by the LCD, the ports and peripherals exposed on the MSP432P1111 LaunchPad are the same as those of the MSP432P401R LaunchPad. The LCD panel is the same used on the MSP430FR4133 and MSP430FR6989, with the LCD_Launchpad library. Obviously, ports and bits need to be adapted.
  16. Rei Vilo

    Is MSP432P4111 supported by Energia?

    See https://github.com/energia/msp432r-core/issues/30
  17. Are the switches correctly configured? As far as I remember, there was an issue with the uploader, which was reported. See https://github.com/energia/Energia/issues?utf8=✓&amp;q=+label%3A"LaunchPad+C2000"+upload, https://energia.nu/pinmaps/launchxl-f28027f/ and https://embedxcode.com/site/Chapter4/Section5/#upload-to-launchpad-c2000
  18. Rei Vilo

    eLua for SAM3 (Arduino Due)

    This forum is about LaunchPad, not Arduino boards! Do you plan to port eLua to the MSP432 or CC3200?
  19. You need to download Energia release 0101E0017 and Code Generation Tools for Texas Instruments Processors. See Setting up Energia for the C2000 LaunchPad at https://energia.nu/pinmaps/launchxl-f28027f/
  20. Rei Vilo

    Sensor Controller with Energia

    As posted earlier and marked as bug, the clockFunction() can't include Serial.print() and similar functions which rely on clocks. Please refer to the Galaxia Library Suite — Reference Manual (version 2.0.1).pdf provided with the library. The clockFunction() function is too long. It should be brief. Modify clockFunction() to only raise an event... void clockFunction() { myEvent.send(); } ...initialised in the setup() function Event myEvent; void setup() { myEvent.begin(); // ... } ...waited for in the loop() function void loop() { myEvent.waitFor(); // ... }
  21. Rei Vilo

    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;
  22. Rei Vilo

    Using Energia with MSP432 custom boards

    DSLite seems to be tailored for the XDC110 programmer/debugger of the MSP432P401R LaunchPad. It also works with the standalone USB XDS110 JTAG Debug Probe. Now, the MSP432P401R can be programmed/debugged with JLink, like the JLink Edu mini. See Segger J-Link EDU mini Programmer-Debugger and Segger J-Link with LaunchPad MSP432. So the question is how to define this programmer for Energia. As Energia is based on Arduino for the IDE, the question is how to define this programmer for Arduino. See for example Arduino IDE 1.5 3rd party Hardware specification and Add a Custom Programmer on Arduino IDE, among 5 010 000 other answers thrown by googling arduino custom programmer.
  23. Rei Vilo

    Sensor Controller with Energia

    I reached 0.0505 mW / 0.0141 mA (measured with EnergyTrace) for the CC1350 SensorTag when idle without using the Sensor Controller, only Energia MT and the Galaxia library. On the sensor_read_tx_working.txt version, Wire is initialised at each loop. Try removing line 45. On my side, I measured that using Wire.end() Wire.begin() has no impact on power consumption. delay() actually turns the CC1350 in low power mode. About the Galaxia library, Clock is recommended over Timer. Was Timer configured correctly? it uses two parameters: Could you please post the program using Clock?
  24. Basically, you have two options: Adapt an already existing Arduino library to the LaunchPad. You’ll need to dig deep into the code and understand how it works. See the FAQ Read the data-sheet of the controller and develop the library from scratch. This way, you’ll learn how a display controller works. As a matter of facts, option 2 proved to be easier for me when I developed my LCD_screen Library Suite. Have fun!
×