-
Content Count
2,126 -
Joined
-
Last visited
-
Days Won
140
Reputation Activity
-
Rei Vilo reacted to chicken in BeagleBone DLP Projector Cape
Here's something new in the "I would like to play with that" category: A pico-projector in the form factor of a BeagleBone Black cape. At $99, the price isn't too bad either.
http://www.ti.com/tool/dlpdlcr2000evm#0
-
Rei Vilo reacted to Fmilburn in Interrupts
Hi @nirbar11 and welcome to 43oh
I am not sure I understand your objectives but here is something to get you started...
Don't use pin names of the form P1_x in Energia as this has been deprecated Don't put print statements (or other slow to execute code) inside of interrupts - flag the interrupt and handle it elsewhere You will probably want to avoid using delay() in your code Note that if using a G2 LaunchPad that P1.0 and P1.6 are attached to LEDs via jumpers that can be pulled Here is some example code that detects buttons being pushed (no debouncing).
volatile bool pin5Pushed = false; volatile bool pin6Pushed = false; volatile bool pin7Pushed = false; volatile bool pin8Pushed = false; void setup() { Serial.begin(9600); pinMode(5, INPUT_PULLUP); pinMode(6, INPUT_PULLUP); pinMode(7, INPUT_PULLUP); pinMode(8, INPUT_PULLUP); attachInterrupt(5,interrupt5,FALLING); attachInterrupt(6,interrupt6,FALLING); attachInterrupt(7,interrupt7,FALLING); attachInterrupt(8,interrupt8,FALLING); } void loop() { if (pin5Pushed == true){ Serial.println("Pin 5 pushed"); pin5Pushed = false; } if (pin6Pushed == true){ Serial.println("Pin 6 pushed"); pin6Pushed = false; } if (pin7Pushed == true){ Serial.println("Pin 7 pushed"); pin7Pushed = false; } if (pin8Pushed == true){ Serial.println("Pin 8 pushed"); pin8Pushed = false; } } void interrupt5(){ pin5Pushed = true; } void interrupt6(){ pin6Pushed = true; } void interrupt7(){ pin7Pushed = true; } void interrupt8(){ pin8Pushed = true; } And finally, avoid double posting.
-
Rei Vilo got a reaction from energia in slow energia
Which OS?
I guess you're running on Windows. This is a known issue
Energia 18 uses the arduino_builder build manager, which is very slow.
For faster performance, use Energia 17, which relies on another build manager.
-
Rei Vilo reacted to energia in BLE Demo Programs
Below is a guide to get up and running with Energia BLE / Evothings
Evothings for controlling your LaunchPad over BLE with a custom app on your mobile device:
I have put together an app that allows to control of the RGB LED and Buttons exposed in the BLEInputOutput Sketch running on the MSP432 LaunchPad. At this moment it only runs on an MSP432 LaunchPad. Other LaunchPad's have bot been tested.
To run the APP and control the LaunchPad follow the instructions below. You might have to upgrade the BoosterPack’s firmware. The firmware on my BoosterPack was not the right one so yours might not be as well. If you have issues running the app, then refer to updating the BoosterPack section below.
Below is a screenshot of the app that I put together using Evothings to control the BLEInputOutput Sketch running on iOS.
Running the APP on your mobile device:
1: Seat the CC2650 BoosterPack on the MSP432 LaunchPad
2: You will need the latest BLE library for crucial updates and new example Sketches. Get it from: https://github.com/ti-simplelink/ble_energia
3: Put the BLE folder in your person Energia/libraries directory just as you would install any other library.
4: Run Energia and open the example BLE->BLEInputOutput Sketch.
5: Verify and upload the Sketch
4: On your phone, download the Evothings Viewer from the app store. There is one for iOS and Android.
5: Open the app and then in the “Enter connect key” enter http://energia.nu/ble/bleinputoutput/
6: Click connect.
7: The Energia BLE app should now open in the viewer.
8: Click he start button and the status should change to “Status: Connected”
9: You can now change the RGB sliders and you should see the LED’s on the LP match
10: Pressing the buttons will change the text for each button from “released” to “pressed”.
Upgrading the CC2650 BoosterPack:
The firmware on your BoosterPack might not be the right one. If you are experiencing issues with running the app, you might have to upgrade the firmware on your CC2650 BoosterPack. We are working on making this cross platform and to accomplish for Energia users. For now Smart RF Flash Programmer 2 has to be used on a windows PC.
1: Download Smart RF Flash Programmer 2
2: Remove JTAG headers from MSP432 LP (TDI, TDO, TCK, TMS)
3: Remove the BoosterPack from the LaunchPad (you will need a RED MSP432 LaunchPad)
4: Attach 10 pin ARM ribbon cable (included in the BoosterPack box) to XDS110 header on the emulation side of the MSP432 LaunchPad. Attach other end to CC2650 BP. It is keyed so there is only one way to attach it.
5: Get the SNP images from this link: http://software-dl.ti.com/dsps/forms/self_cert_export.html?prod_no=ble_2_02_simple_np_setup.exe&ref_url=http://software-dl.ti.com/lprf/BLE-Simple-Network-Processor-Hex-Files
6: Once installed, find the image simple_np_cc2650bp_uart_pm_xsbl.hex
7: Plug the LP into your computer.
8: Launch Smart RF Flash Programmer 2.
9: The CC2650 should show up in the left pane titled “Connected Devices”
10: Right click the CC2650 and select connect. The status bar should say “Success!” when finished connecting.
11: On the “Main” tab, in the “Flash Image” field select single and then browse to the simple_np_cc2650bp_uart_pm_xsbl.hex image.
12: Still on the main tab, under the header “Actions” check “Erase”, “Program” and “Verify”.
13: Then click the Green Arrow image on the right bottom to program the image.
14: Remove the ribbon cable, replace the JTAG headers and reseat the BoosterPack. You are now good to go to run the Sketch/App.
-
Rei Vilo got a reaction from energia in More CC3200MOD Questions
We can consider Energia as a disruptive technology, in a way it allows a whole new group of users to develop on micro-controllers.
Another strong trend is frugal innovation popular among companies, where a prototype developed with Energia may be good enough to be launched on the market.
The major difference between Energia and other Arduino-like frameworks is, Energia relies on professional-grade SDKs. Energia is based on TI-DriverLib and Energia MT on TI-RTOS now SimpleLink.
-
Rei Vilo got a reaction from xeebot in More CC3200MOD Questions
We can consider Energia as a disruptive technology, in a way it allows a whole new group of users to develop on micro-controllers.
Another strong trend is frugal innovation popular among companies, where a prototype developed with Energia may be good enough to be launched on the market.
The major difference between Energia and other Arduino-like frameworks is, Energia relies on professional-grade SDKs. Energia is based on TI-DriverLib and Energia MT on TI-RTOS now SimpleLink.
-
Rei Vilo reacted to LiviuM in I2C on TM4c1294 doesn't work
LE I'm almost "thrilled" by the amount of details people asking for help is giving. We all have crystal bowls at home.
-
Rei Vilo got a reaction from NurseBob in Taking a Class on MSP430s
Some references of the extended MSP430 family are available on affordable boards (typically USD10~30), called LaunchPad. See http://www.ti.com/lsds/ti/tools-software/launchpads/launchpads.page and http://www.ti.com/lsds/ti/tools-software/launchpads/launchpads.page#low_power for MSP430-based LaunchPad boards.
I like the MSP-EXP430F5529LP with 128 kB Flash and 10 kB RAM, priced at USD13.
Good news, most of the LaunchPads (including the MSP430F5529) are supported by Energia, an Arduino-compatible IDE with the same framework. Learn more at and download from http://energia.nu.
-
Rei Vilo got a reaction from NurseBob in MacBook P7450 test machine?
The problem with old MacBooks is whether they can handle the last release of macOS, numbered 10.12.5 and named Sierra.
Apple modifies the USB quite often, resulting with bugs coming and going.
-
Rei Vilo reacted to energia in Energia support for MSP430FR5994 LaunchPad?
Yes, it will be in the next release. Unfortunately this is taking a lot longer than anticipated due to the fact that we are making it compatible with both the new (msp430-elf-gcc and the old msp430-gcc).
-
Rei Vilo reacted to chicken in Automotive Radar Booster Packs
Now here's a set of fancy booster packs! It's a fully integrated automotive radar.
http://www.ti.com/lsds/ti/sensing-products/mmwave-sensors/awr/awr-tools-software.page#tools
Those rectangles on the right with wiggly traces to the IC are the radar antenna. RF magic!
The "CAUTION HOT SURFACE" warning label also promises excitement. Too bad they will cost $299 according to the press release.
Posting in the ARM sub-forum as the radar IC features an R4F ARM core. Though the booster packs probably work with beefier MSP430 LaunchPads too.
Edit: Here's the mmWave landing page. The AWR also has the non-automotive sibling IWR, including similar booster packs.
http://www.ti.com/lsds/ti/sensing-products/mmwave-sensors/mmwave-overview.page
-
Rei Vilo got a reaction from energia in Interrupt Tail Chaining -Setting Interrupt Priorities (cc3200)
The attachInterrupt is a standard function of the Arduino / Wiring framework.
There are two frameworks for the LaunchPad CC3200:
Energia based on the Arduino / Wiring, and Energia MT or Energia Multi-Tasking based on TI-RTOS. For more information on the latter, please refer to Introducing Energia MT, LaunchPad MSP432: RTOS for Everyone and Exploring RTOS with Galaxia on Energia MT.
For more advanced RTOS applications where priority is critical, please consider Code Composer Studio, the official IDE from Texas Instruments.
-
Rei Vilo got a reaction from bluehash in CC3200 Energia Multitasking Not working
Have you installed the Energia CC3200 EMT boards packages and selected the CC3200 LaunchPad EMT board?
-
Rei Vilo got a reaction from Frida in Is it just me ?
I faced similar issue, and this experience suggested me to post
If the forum is moderated, you should report the offensive post.
-
Rei Vilo got a reaction from tripwire in How to view MSP430 assembler code
Use Code Composer Studio. It imports Energia projects and provides all the views one can imagine.
-
Rei Vilo got a reaction from aegotheles in location of cc1310 boards file
Which OS?
On macOS, see under ~/Library/Energia15.
-
Rei Vilo got a reaction from spirilis in [Energia Library] RF430CL - TI NFC RF430CL330H library
So unfortunately, don't expect others to do your homework. Instead, they may provide you pointers.
See Netiquette for Newbies.
-
Rei Vilo got a reaction from Medsimo in [Energia Library] RF430CL - TI NFC RF430CL330H library
Is this homework for school?
-
-
-
Rei Vilo reacted to tripwire in [FIXED!] JTAG interferes with SensorTag external flash access
Good news! This issue is fixed in the TI Emulators 6.0.228.0 package, which contains the version 2.3.0.1 firmware for XDS110.
TI have added support for 2-wire cJTAG debugging, which only uses the TMS and TCK lines. In the 2.3.0.1 firmware they also stopped the emulator from driving TDO, which was blocking access to the SPI. It looks like 2-wire cJTAG is the default mode now too, so debugging SPI flash code should just work like you'd expect.
-
Rei Vilo got a reaction from energia in Boostxl-Senshub
See https://github.com/rei-vilo/SensorsWeather_Library
-
Rei Vilo got a reaction from energia in Boostxl-Senshub
@jithin97 Sorry for the confusion.
There are two BoosterPacks with sensors:
the Sensor Hub BoosterPack (yours, left), and the Sensors BoosterPack (mine, right).
The library I've mentioned refers to the latter. For the former, please consider:
Adafruit TMP006 Library Adafruit BMP085/BMP180 Library SHT21 Arduino Library (here or there) -
Rei Vilo got a reaction from energia in Boostxl-Senshub
Check whether any interference occurs with the BoosterPack Checker.
-
Rei Vilo got a reaction from tripwire in FourThreeOh wins TI Community Highlight of the Year Award for 2016
Well deserved, congratulations Gerard!