Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by BRey

  1. Rei Vilo has an article describing using a FET with EnergyTrace to analyze a launchpad which doesn't have it, could you use this to optimize the F5529?: http://embeddedcomputing.weebly.com/ultra-low-power-with-msp430.html B
  2. I recall a documented issue (on e2e.ti.com) regarding overheating after touching or shorting the capacitor right next to the USB connector. Here it is: https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/490273 B
  3. I don't know if this is better, but In the AIR430Boost... library, they create a task that waits on a semaphore, the HWI sends the semaphore to waken the task. https://github.com/energia/Energia/blob/master/hardware/msp432/libraries/AIR430BoostUSAFCC/utility/A110x2500Radio.cpp B
  4. I am slowly learning about RTOS with Energia MT. In working out some issues with libraries, I found this in the SPI transfer() function: /* wait for transfer to complete (ie for callback to be called) */ while (transferComplete == 0) { ; } Lines 191-194 here: https://github.com/energia/emt/blob/a350116673c64a5ba71a034b3baaa384b888776e/src/ti/runtime/wiring/SPI.cpp (Energia MT uses DMA for the SPI transfer and an interrupt callback routine sets transferComplete=1) Other RTOS reading leads to me believe this is not the best way to do this, or is this so fast that using an RTOS wait doesn't make sense? (The AIR430boost library uses a semaphore) B
  5. I had to add an "SPI.setDataMode(SPI_Mode0);" call to make the MSP432 SPI work using the Reaper's UIPEthernet library. Also, it defaults to LaunchPad Pin 18 for CS and the SPI library manages the CS. If you want a different CS you use SPI.begin(SS); where SS is the PIN number you are using. Most of the code I have seen manipulates the CS outside the library so specifying the CS in the SPI.begin may not matter although I think the SPI library will mess with Pin 18 if you don't which may cause other problems. I am planning to continue testing tonight trying to clarify some of the MSP432 issues I am seeing. B
  6. Thanks for this. In the details link I found: Enjoy free UPS 2-Day shipping (up to 10lbs) for all orders placed on products.avnet.com. Use promocode: WELCOME416 B
  7. This from RobG may be useful also; http://forum.43oh.com/topic/5691-cc2500-anaren-code-example/#entry49659
  8. There are several good examples here that probably will help. Several members have written of using "Larsie's LarsRF" library: http://forum.43oh.com/topic/1433-anaren-ti-cc110l-rf-air-booster-pack/page-4#entry17770 . Try searching for "CC1101" as well as "Anaren" (all compatible products). Energia has the AIR library with examples; I have tested them on the MSP430G2553 as well as the LM4F and MSP432 launchpads. If you use SMARTRF studio you need to adjust the base frequency to 27mhz for the A110LR09A modules (26Mhz is the default) The Energia library includes a set of working values: https://github.com/energia/Energia/blob/master/hardware/lm4f/libraries/AIR430BoostUSAFCC/utility/A110LR09.c (it is a bit tedious to decypher). B
  9. For testing UART connected modules I modified the Energia "Examples->04.Communication->MultiSerial" to this bidirectional Serial Passthru program: /* Multple serial test Receives from the main serial port, sends to the others. Receives from serial port 1, sends to the main serial (Serial 0). The circuit: * Any serial device attached to Serial port 1 * Serial monitor open on Serial port 0: created 30 Dec. 2008 by Tom Igoe This example code is in the public domain. */ void setup() { // initialize both serial ports: Serial.begin(115200); Serial1.begin(115200); } uint8_t inByte; void loop() { // read from port 1, send to port 0: if (Serial1.available()) { inByte = Serial1.read(); Serial.write(inByte); } if (Serial.available()) { inByte = Serial.read(); Serial1.write(inByte); } } which makes the Launchpad a simple TTL-Serial converter, Serial is the USB port "/dev/ttyACM0" on my Linux box, Serial1 is the hardware pins 3 (RX) & 4(TX) The USB Serial connection on the MSP432 launchpad seems to be limited to 115200 baud max. Also, the launchpad will only output 3.3v and will be damaged by more than that coming in, is that compatible with your module? B
  10. BRey


    It worked when I posted. I updated the link with one that is working now. Also they have website listed on the kickstarter page. B
  11. BRey


    Introduced himself over here: http://forum.43oh.com/topic/9281-hello-from-wifithing-rapid-iot-creation/ But really didn't highlight that they are using Energia on both the Master and Remote devices. The Kickstarter page: https://www.kickstarter.com/projects/180874809/wifithing (Only 4 days left and few dollars short). Fraunchpad, boosterpack compatible, Anaren booster. Welcome! B
  12. I was excited about the Pine, but then I found this: http://forum.armbian.com/index.php/topic/491-need-help-on-pine-a64-15-64bit-quad-core-12ghz-single-board-computer/ It looks like a pretty good board, esp. as a headless server, but I want Linux support. There has been noise on other sites about the Allwinner A64, but I decided to wait until a quality Linux is available for it. The Android based Remix PC uses the A64, Jive is getting press and looks interesting: http://www.jide.com/en/mini B
  13. I can only find reference to MT support for the MSP432 on Energia.nu, what are the 5 other boards? OK, I found some references here on 43oh to CC3200 and CC2650. Are there any plans for the Tiva based boards?
  14. I think the UIPEthernet/enc28j60 library is very time sensitive and the wireless module interrupt processing causes problems. I think the LP Connected Ethernet is DMA driven and probably more interrupt friendly.
  15. I haven't worked with the Radiohead library, but when I have ported Arduino code to Energia I have found interrupts and AVR specific code to be the biggest problems. The interrupt code is usually easy to address-Arduino has a pretty simple interrupt model: dedicated interrupt pins that can be linked to the ISRs (attachInterrupt() sets everything up) . The Energia model is total flexibility: almost any pin can be linked to an ISR. To port, you have to define the Energia pin that the interrupt will be connected to; use pinMode() to set it for input and then link the pin to your ISR with attachInterrupt(). If you have AVR specific code (direct register references usually) you have to rewrite it since the registers don't exist in the MSP or Tiva processors. Often, the direct access is used in the Arduino code for performance or timing issues so the porting is problematic. HTH B
  16. @@Rickta59 Thanks for the clarification and interesting reading. I don't know much about either MIPS or Tensilica, but I also found some interesting reading about their intermingled "roots." @@ghlawrence2000 I also rushed out to buy and had problems with the original modem firmware. I found the SDK compiled code much more reliable. I have been following this guy who is apparently planning something close to commercial with ESP12s: http://tech.scargill.net/home-control-2015/ B
  17. I have a few of them-ESP01, ESP12 & ESP201. They are all the same core, just different available pins & antennas. There isn't much variation in price( $3 - $4 ea.); the ESP01 comes with through holes & pins so it is easy to start with but only has a few I/o. I like the 201 for breadboarding (after moving the 4 pins on the end to the top of the board) Documentation is poor, but the net is filling in the missing pieces. Delivered firmware uses RX/TX & "AT" (modem) command extensions. Easy to set up, reliable, but slow. Automatically stores settings in Flash (SSID, passkey, baud, etc.) Lots of Arduino users. Then the SDK was released and usage exploded. It is a MIPS core running 80mhz with lots of flash. There are several SDK forks some makefile/gcc but most Eclipse. I have used one with MQTT built in, played with the nodeMCU Lua, and now there is an Arduino port (Using the Arduino 1.6+ IDE, select ESP8266 board) Similar code compatibility issues to using Arduino code in Energia. If you want simple, go Arduino. I like Eclipse OK and the code produced has been more reliable for me. The game changer here is the price & price/performance esp. since a pretty solid wifi transceiver is builtin. Since it is Wifi I doubt true low power is possible, but there are some sleep modes and people experimenting. Deep sleep requires wiring a pin only available on the larger models (unless you can wire to the tiny chip!). I have gotten them fast from this guy: http://stores.ebay.com/tomyuen007?_trksid=p2047675.l2563He is across town (Atlanta) so 1-2 day service for me; but should be fast for anyone in the U.S. Ali & ebay probably best elsewhere. I find it ironic that Arduino people are hooking an 80mhz 32 bit MPU as a modem to their 16mhz 8bit boards. B
  18. @@jpnorair I believe you discounted Atmel before, but they claim the SAML21 is the LP champ: http://blog.atmel.com/2015/03/31/atmels-sam-l21-mcu-for-iot-tops-low-power-benchmark/ Any chance you will add them to the "shootout" or can you eliminate it early because it is M0+ or another reason?
  19. @dreamer I think I was able to use the examples from the Energia "Ethernet" library designed for the connected Tiva Launchpad. I was more interested in MQTT and successfully used the examples from the Energia "PubSubClient" library. I just tested the "Ethernet->EthernetWebserver" example. I had to change #include "Ethernet.h" to #include "SPI.h" #include "UIPEthernet.h" #define D1_LED RED_LED #define D2_LED GREEN_LED And comment out these 2 lines: // Serial.print("new client on port "); // print a message out the serial port // Serial.println(client.port()); Then I was able to control the Red & Green parts of the RGB Led with the web page. B
  20. Have you tried "UIPEthernet" http://forum.43oh.com/topic/7489-energia-library-stellarpad-uipethernet-enc28j60-library/ It is compatible with the Ethernet library which has HTTP client and server examples. You just change "Ethernet.h" to "UIPEthernet.h" (after loading the library).
  21. I can't find any references to MSP432 or the RTOS in the Energia Github sources, is this closed or just waiting for release?
  22. To answer my own question, the Cloud IDE references Energia-0101E0015b1 so I guess an update is coming soon.
  23. The "CCS Cloud IDE V 1.0 is a web-based IDE" seems to be available: http://dev.ti.com/tirex and also appears to have the older Launchpads, etc. Energia is shown on all the literature, but I don't see any reference in the Energia source, any idea when this will be available? B
  24. Insight from one side of the battle: http://makezine.com/2015/03/19/massimo-banzi-fighting-for-arduino/
  • Create New...