-
Content Count
2,127 -
Joined
-
Last visited
-
Days Won
140
Posts posted by Rei Vilo
-
-
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.
-
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.
-
You can easily change those parameters by editing the file ~/Library/Energia15/packages/energia/hardware/msp432r/5.25.0/platform.txt on macOS.
-
-
Have a look at the BoosterPack Checker, part of TI Cloud Tools.
It lists all LaunchPads and BoosterPacks, and allows to check the compatibility.
-
Release 11.2.1 of embedXcode adds support for Xcode 11.1 on macOS 10.15 Catalina.
-
New release Energia 22 throws this error on macOS 10.15 Catalina:
Quotejava -jar /Users/ReiVilo/Library/Energia15/packages/energia/tools/ino2cpp/1.0.2/ino2cpp.jar -o /var/folders/wn/n7qqb8ss0k3bvpqwfcdwp_7r0000gn/T/arduino_build_957196/sketch/ -T /Users/ReiVilo/Library/Energia15/packages/energia/tools/ino2cpp/1.0.2/templates/Variables.mk.template -r /Users/ReiVilo/Library/Energia15/packages/energia/tools/ino2cpp/1.0.2 -n Blink.ino /Applications/IDE/Energia.app/Contents/Java/examples/01.Basics/Blink "msp432:MSP_EXP432P401R\""
No Java runtime present, requesting install.
exit status 1
Error compiling for board LaunchPad w/ msp432 EMT (48MHz).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.
-
On 10/9/2019 at 6:39 PM, energia said:
You are most likely running macOS Catalina. Try this version of the IDE: http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip. This is a pre-release and I should have an official release for upload on energia.nu next week.
http://s3.amazonaws.com/energiaUS/distributions/energia-1.8.10E22-macosx-signed.zip
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.
-
Would you mind opening a ticket at the msp432r-core repository for better tracking?
Thank you!
-
The pins map clearly says 3:
-
AFAIK, the MSP430G2302 isn't listed among the MCUs supported by Energia.
Now, you can find tips at Add a New Board to Energia.
-
I raised the issue some time ago at ETSI Frequency Hard-Coded — How to Comply with FCC?
I would suggest to bump the ticket.
-
Please refer to
-
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.
-
-
-
Are the switches correctly configured?
As far as I remember, there was an issue with the uploader, which was reported.
See
-
This forum is about LaunchPad, not Arduino boards!
Do you plan to port eLua to the MSP432 or CC3200?
-
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/
-
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(); // ... // Clock initialisation // Initial period = 1 s, then every 60000 ms = 60 s = 1 min myClock.begin(clockFunction, 1000, 60000); myClock.start(); }
...waited for in the loop() function
void loop() { myEvent.waitFor(); // ... }
-
Please refer to Wire.cpp#L121-L123
I2C_Params_init(¶ms); params.transferMode = I2C_MODE_BLOCKING; params.bitRate = I2C_400kHz;
-
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.
-
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?
-
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!
How to blink randomly?
in Energia - TivaC/CC3XXX
Posted
Try Random Numbers