Jump to content
Forum sending old emails Read more... ×
  1. News

    1. Announcements

      Blog and Forum announcements.

      1,361
      posts
    2. Suggestions

      Have a suggestion? We are all ears.

      1,260
      posts
    3. New users say Hi!

      New here? Welcome! Introduce yourself here.

      2,671
      posts
  2. Spotlight!

    1. Sponsor Spotlight

      Our sponsors not only help support our community, they also offer amazing deals to our members. Check this forum often for all the specials, deals and announcements.

      91
      posts
    2. Sponsor Giveaways

      This forum section is for current and past Sponsor Giveaways!

      109
      posts
  3. Energia

    1. Energia - MSP

      Energia is a fork of Arduino for the Texas Instruments MSP430 and MSP432 Microcontrollers. Feel free to ask any questions related to it and the developers will get back to you.

      10,810
      posts
    2. Energia - TivaC/CC3XXX

      Support for Energia on Tiva and CCC3XXX ARM Microcontrollers.

      2,750
      posts
    3. Energia - C2000

      Support for Energia on C2000 Microcontrollers.

      82
      posts
    4. 2,006
      posts
  4. MSP Technical Forums

    1. General

      General discussion about the MSP430 and MSP432. Beginners, feel free to ask your questions here.

      16,997
      posts
    2. Compilers and IDEs

      Questions about setup, compilation and errors including all open source and commercial compilers and IDEs

      2,340
      posts
    3. Development Kits

      Have a question about a particular development kit? Ask it here.

      1,579
      posts
    4. Programmers and Debuggers

      Questions about available programmers and debuggers.

      942
      posts
    5. Code vault

      Share your snippets here. You may also post any interesting code you find on the web here.

      2,600
      posts
    6. Projects

      Have an interesting project to share. Show it off here!

      8,001
      posts
    7. Booster Packs

      Member contributed and commercially available booster packs.

      3,870
      posts
    8. Energia   (68,257 visits to this link)

      Energia is a fork of Arduino for the Texas Instruments MSP430, MSP432, TivaC, CC3XXX and C2000 microcontrollers. Feel free to ask any questions related to it and the developers will get back to you.

  5. Tiva-C, Hercules, CCXXXX ARM Technical Forums

    1. General

      General discussion about the TI's Tiva-C, Hercules and CCXXXX ARM cores. Beginners, feel free to ask your questions here.

      3,156
      posts
    2. SensorTag

      Share your BLE and Wi-Fi Sensortag Projects and ask questions here.

      88
      posts
    3. Tiva-C, Hercules, CC3XXX Launchpad Booster Packs

      Designed any new plugin modules for your Tiva-C, Hercules or CCXXXX Launchpad? post them here. If you find any commercially available BoosterPacks, post them too.

      468
      posts
    4. Code Vault

      Share your ARM code snippets in this forum. You may also post any interesting code you find on the web here.

      537
      posts
    5. Projects

      Have an interesting Tiva-C or CCXXXX ARM project to share. Feel free to share it here and make this place your project journal. Upload pics and make daily updates in your own project thread.

      777
      posts
    6. Compilers and IDEs

      Ask questions related to TI Tiva-C or CCXXXX ARM compilers such as ARM-GCC, Code Composer Studio, Code-Sourcery etc and IDE's including Eclipse and Atollic.

      468
      posts
    7. Development Kits and Custom Boards

      Designed any new plugin modules for your Tiva-C or CCXXXX ARM? post them here. Discuss any freshly released development kits.

      171
      posts
  6. Beagle ARM Cortex A8 Technical Forums

    1. General

      General discussion about the Beagle board/bone and the ARM Cortex A8. Beginners, feel free to ask your questions here.

      494
      posts
    2. Code Snippets and Scripts

      Share your snippets and scripts here. You may also post any interesting code you find on the web, with credit.

      99
      posts
    3. Cases, Capes and Plugin Boards

      Feel free to ask the community about extensions, plugins and capes here. Get feedback and build new designs.

      172
      posts
    4. Projects

      Have an interesting project to share. Show it off here!

      207
      posts
  7. General Electronics Forum

    1. General Electronics

      A forum for all general electronic discussion including analog, software and PCB design. Feel free to talk and ask questions about algorithms, circuits, enclosures - anything related to electronics.

      4,038
      posts
    2. Other Microcontrollers

      Have questions on another microcontroller? Ask it here. Feel free to discuss and talk about other controllers including Atmel, Microchip, AVR, C2000, Piccolo and others.

      1,672
      posts
  8. Connect

    1. Embedded Systems/Test Equipment Deals

      Post all deals relating to embedded systems, test equipment here.

      2,356
      posts
    2. Buy, Trade and Sell

      Use this forum to trade, give away or sell your stuff. try to swap your ARM boards with one another!

      2,385
      posts
    3. The 43oh Store

      Get "The 43oh Store" releases here. Also open to suggestions for new products. Get deals here first before it is made public on the Blog.

      178
      posts
    4. 227
      posts
    5. Fireside Chat

      Discuss anything unrelated here - News, Technology or your Musings.

      2,615
      posts
  9. C2000 Technical Forums

    1. General

      General discussion about the C2000. Beginners, feel free to ask your questions here.

      539
      posts
    2. Development Kits

      Have a question about a particular development kit? Ask it here. Includes Delfino, Piccolo control cards and motion control kits. Feel free to discuss any other C2000 kits too.

      152
      posts
    3. Code Vault

      Share your snippets here. You may also post any interesting code you find on the web here.

      56
      posts
    4. Projects

      Have an interesting project to share. Show it off here!

      33
      posts
    5. BoosterPacks

      Member contributed and commercially available booster packs. Post your designs here and get feedback.

      51
      posts
  • Forum Statistics

    • Total Topics
      10,293
    • Total Posts
      78,347
  • Member Statistics

    • Total Members
      59,975
    • Most Online
      268

    Newest Member
    ashlin
    Joined
  • Latest Posts

    • I would try with different IDs for each client.
    • I am running the following code in EK-TM4C1294XL Launchpad.The program gets downloaded successfully and I am able to see  the published messages in the MQTT BOX application.But when I download the same program in another launchpad and try to run both at the same time , one launchpad stopped sending data.How to run two  MQTT publishers publishing to same topic .Is there any changes required in the code?   Thanks   #define MQTTCLIENT_QOS2 1 #include <SPI.h>
      #include <Ethernet.h>
      #include <EthernetStack.h>
      #include <Countdown.h>
      #include <MQTTClient.h> char printbuf[100]; int arrivedcount = 0; void messageArrived(MQTT::MessageData& md)
      {
        MQTT::Message &message = md.message;
        
        sprintf(printbuf, "Message %d arrived: qos %d, retained %d, dup %d, packetid %d\n", 
              ++arrivedcount, message.qos, message.retained, message.dup, message.id);
        Serial.print(printbuf);
        sprintf(printbuf, "Payload %s\n", (char*)message.payload);
        Serial.print(printbuf);
      }
      EthernetStack ipstack;
      MQTT::Client<EthernetStack, Countdown> client = MQTT::Client<EthernetStack, Countdown>(ipstack);
      const char* topic = "TEST TOPIC"; void connect()
      {
        char hostname[] = "iot.eclipse.org";
        int port = 1883;
        sprintf(printbuf, "Connecting to %s:%d\n", hostname, port);
        Serial.print(printbuf);
        int rc = ipstack.connect(hostname, port);
        if (rc != 1)
        {
          sprintf(printbuf, "rc from TCP connect is %d\n", rc);
          Serial.print(printbuf);
        }
       
        Serial.println("MQTT connecting");
        MQTTPacket_connectData data = MQTTPacket_connectData_initializer;       
        data.MQTTVersion = 3;
        data.clientID.cstring = (char*)"energia-sample";
        rc = client.connect(data);
        if (rc != 0)
        {
          sprintf(printbuf, "rc from MQTT connect is %d\n", rc);
          Serial.print(printbuf);
        }
        Serial.println("MQTT connected");
        
        rc = client.subscribe(topic, MQTT::QOS2, messageArrived);   
        if (rc != 0)
        {
          sprintf(printbuf, "rc from MQTT subscribe is %d\n", rc);
          Serial.print(printbuf);
        }
        Serial.println("MQTT subscribed");
      } void setup()
      {
        Serial.begin(115200);   Serial.println("Starting Ethernet");
        Ethernet.enableLinkLed();
        Ethernet.enableActivityLed();
        Ethernet.begin(0);   Serial.println("\nIP Address obtained");
        // We are connected and have an IP address.
        Serial.println(Ethernet.localIP());
        
        Serial.println("MQTT Hello example");
        connect();
      } void loop()
      {
        if (!client.isConnected())
          connect();
        
        MQTT::Message message;
        
        arrivedcount = 0;   // Send and receive QoS 0 message
        char buf[100];
        sprintf(buf, "Count2");
        Serial.println(buf);
        message.qos = MQTT::QOS0;
        message.retained = false;
        message.dup = false;
        message.payload = (void*)buf;
        message.payloadlen = strlen(buf)+1;
        int rc = client.publish(topic, message);
        while (arrivedcount == 0)
          client.yield(500);     
        delay(500);
      }
    • Hi Jsolarski, start simply is really the best idea. I got it running now: It wrote in the micro sd card and when I read it matched. This time not with "zeros".  What was the problem: the supply voltage. Since I am using a shield for Arduino to interface the sd card, its supply was 5V, not 3.3V. What should be happening is that the writing and reading run perfectly but in 3.3V the current is not enough to write. Solved!🙂 When I placed the micro sd card in the computer adapter it could not read because there's no file system. Actually, this is still a problem I don't know how to solve... Any suggestions? Thanks Jsolarski
    • Wow! Thank you Rick, thank you @energia! I'll try some of these this weekend.
    • Although the Arduino IDE should be able to consume the Energia packages, there is a difference between the arduino-builder in Arduino and Energia which makes the msp432 package incompatible with the Arduino IDE. See the pull request here: https://github.com/arduino/arduino-builder/pull/119. I have it on my list to find a different solution and be able to use the stock arduino-builder at which point the Arduino IDE should be able to consume the Energia package. For TivaC and MSP430, it is possible to use it in the Arduino IDE. Just put this in the preferences: http://energia.nu/packages/package_energia_index.json. Then pull up the board manager and install TivaC support.  
  • Projects

  • Embedded Deals + For Sale

  • Energia Libraries

  • Recent Status Updates

    • jasonrub  »  cubeberg

      Hi Chris, could you please help fix your RocketBadge programming page or point us to an alternate? I'm with Texas Instruments and I've provided hundreds of these to students to learn how to solder, but they say the site to program them (https://43oh.com/Badge) no longer works. Thanks! Jason, University Marketing Manager
      · 1 reply
    • Jamesgrr  »  kreitzz

      Hey Kreitzz, 

      I saw  you were using the sleep functions on the MSp430FR2433.
      Wondering what kind of power usage you have been experiencing? And if it is lower than 18ua; what have you done to get it lower? 
       
      Thanks
      -James  
      · 0 replies
    • WhereIsSiewert  »  hmjswt

      Henk Please reply my messages. I want the material back you "borrowed" from me.

      · 0 replies
    • mediguejc

      Hello, TI Launchpad is a hobby for raining days. For example, domotic in my home, ....
      I use Energia or TI CCS, to write my code. I'm not professional, I Learn myself C++ and how to use TI CCS software.
      I'm Professional in service for electronics, network devices in customers sites.
      I live in France, sorry for my mistakes with English Language.
      I'll try to share you , bad experiences, found solutions.
       Have a nice Day.
      · 0 replies
    • rt009  »  energia

      I would like to have a rtc code for internal rtc activation of tm4c123g. I need rtc for my project for real time date and time display using this controller. Please guide me or give me an energia code for general date and time display using internal rtc of tm4c123g
      · 0 replies
×