This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS and Tiva C Series Connected LaunchPad (EK-TM4C1294XL) with sensor hub booster pack

Other Parts Discussed in Thread: EK-TM4C1294XL, ENERGIA, LMFLASHPROGRAMMER

Hello guys!

I am very new here and need answer of some questions.

I will start with those ;d - Is it compatible sensor hub booster pack with tiva for c EK-TM4C1294XL?

and where i can find examples for this launchpad and booster pack?

thank u very much, every answer will be wellcome!

  • Hi bode,

         Yes, see my blog post about that.

         TESTING THE SENSOR HUB BOOSTER PACK WITH TI TIVA CONNECTED LAUNCHPAD

    - kel

  • Yes, i was reading your blog, but i can't understand where i can load example files..
    I have loaded example (blinky) from energia and it is working on tiva launchpad, but when i am trying to upload airmouse from LM Flash Programmer like it is in start guide anythings happen, i have tera term but can't see anything there :(
  • Hi,

    I am replying using my mobile phone, so I am unable to reply better.

    Go through the workbook pdf from the link below to learn some basics.
    processors.wiki.ti.com/.../Creating_IoT_Solutions_with_the_TM4C1294XL_Connected_LaunchPad_Workshop

    Try to make a simple example work first like hello and see the output at Tera Term.

    The airmouse example program does not work for Tiva Connected Launchpad. It works for Tiva Launchpad.

    -kel
  • Hello Bode,

    Please note that the LMFlashProgrammer will accept only bin files. Is the bin file being loaded or out file being loaded?

    Regards
    Amit
  • Well, i am still at beggining, i am reading CLP_Workbook.pdf 29 page - connectign with exosite. But there it shows "This device has not yet been activated or does not exist. Please activate your device or confirm the device RID and try again." Maybe it is because i am trying to share internet from laptop, but not from router, soon will try with router. And about LM FlashProgrammer is it better to use it or putty, because i have instaled LM FlashProgrammer, but in CLP_Workbook.pdf was speaking for putty too.
  • Ups i made mistake, i wanted to say is it better to use putty or tera term, i have instaled tera term and downloaded putty.
  • Hi bode,

    You need to program the qs_iot example program first, before trying out that part. Supposedly, the qs_iot should be already programmed to your Tiva Connected Launchpad when you first got it. But, I guess you have already overwritten it by programming other example programs.

    If you are having trouble with that part of the CLP workbook, you can skip it and go to setting up Code Composer Studio for your Tiva Connected Launchpad.

    - kel
  • Try both Tera Term and Putty, and see what may be to your liking.

    I find Tera Term just enough for what I need, so I always use it.

    - kel
  • I load bin file, but as i understand  air mouse is not for connected launchpad

    i have problem with buttons of CCS6, can't use for example Resume(run) button

  • Hi bode,

    The airmouse is for Tiva Launchpad + Sensor Hub. It will work for Tiva Connected Launchpad + Sensor Hub, provided you made the correct changes.

    Go through the lab 2 workshop procedures again at the workbook.pdf. I think you did not "Add the INCLUDE search paths for the header files". This is mentioned at page 53 of the workbook.pdf.

    - kel

    post edited "page 22 to page 53"

  • Hi Markel,
    Yes, i have sensor hub, i need to make projects for it's sensors.
    I was thinking too that i made some mistake with links for this variable tiva_instal or selected as default workspace, now i am instaling again CCS6 and will select workspace to be "TM4C1294_Connected_LaunchPad_Workshop\workspace"
    and will make again settings that are in workbook.pdf
  • now i fix this problems with link  variable "tivaware_install" but still buttons are not available and some red problems, i hope they are not big problems

    The project description file (.project) for 'lab02' is missing.  This file contains important information about the project.  The project will not function properly until this file is restored.

  • Hi bode,

    I followed the Lab 2 procedure before, and I did not encounter this error "The project description file (.project) for 'lab02' is missing" error. Attach your lab02 CCS project here, so others can review it.

    I suggest you delete the Lab 2 CCS project and then start again with the procedures.

    - kel
  • I delete files in lab02 folder, because i couldn't finish project(project or folder already exist i am showing it down copy from workbook.pdf).  .project file was on place, but i restore last .project file from recycle bin. When i start to debug program, LED 1 and LED 2 are startink to blink, but after that they stop.

  • Here is my folder 

    I have this error CORTEX_M4_0: GEL: Encountered a problem loading file: D:\programs\TM4C1294 Connected LaunchPad Workshop\lab02\Debug\lab02.out Could not open file

    lab02.rar

  • Hi bode,

    I imported your CCS project and the build errors remain as you have earlier mentioned here. I noticed that the project file is named lab01 and within the folder lab02.

    I just tried the lab02 project procedures again and it works. I suggest you delete the lab02 folder at your workspace and start again.

    The TIVAWARE_INSTALL path location at vars.ini should be correct. At my vars.ini this is set below. vars.ini is mentioned at page 41 of the workbook.

    TIVAWARE_INSTALL = C:\EK-TM4C129

    C:\EK-TM4C129 is the folder location of my Tivaware for Tiva Connected Launchpad.

    I encountered an error "#1965 cannot open source file "inc/hw_memmap.h" main.c /labtest line 3 C/C++ Problem"

    After, I set ${TIVAWARE_INSTALL} at Include Options and build, the error go away. Setting ${TIVAWARE_INSTALL} is mentioned at the workbook.pdf at page 55.

    - kel
  • Hi Markel,

    Yes i was select name for project lab01, because else it reject my project(existing name).

    My TIVA_INSTALL=D:\programs\TivaWare_C_Series-2.1.0.12573

    And now program is working as  you say i make steps for lab02 procedure and now when run program D1 and D2 is blinking. When i push pause button it stop and show me mistake like it is wroten on Workbook.pdf.No source available for "SysCtlDelay() at D:/programs\TM4C1294 Connected LaunchPad Workshop\lab02\Debug\lab02.out:{3} 0x996{4}" 

    In Workbook.pdf it is wroten to make breakpoint on row that is GPIOPWrite, but if i make there breakpoint D1 and D2 are lighting like before. When breakpoint is on while cycle first one D is on and on next run another D is on.

    Btw for registers it shows me in value unable to read.

    CCS chapter is ending and i think if it is possible to try some examples for sensor hub.

  • Great to know that you already made it to work.

    The "one D is on and on next run another D is on" is normal.

    Go over the instructions again at the part, to see the register values. Here is my CCS screenshot below showing register values.

    - kel

  • Well i just debug program and when i watch registers they was okay

  • Hi bode,

    It will benefit you a lot to go through all the laboratory workshop.

    From the knowledge you have gained from this, try to make Tiva Connected Launchpad + Sensor Hub work. The example programs for Tiva Connected Launchpad + Sensor Hub can be found at "C:\EK-TM4C129\examples\boards\ek-tm4c1294xl-boostxl-senshub".

    - kel
  • i know, maybe i will go trough other part of Workbook.pdf, but i want to see that examples for boosterpack are working.
    Now i found settings that i have to do for tera term and will try examples

    Setting up Tera Term

    Tera Term Serial port setup
      1.  Open Tera Term and navigate to the menu Setup -> Serial Port...
      2. Ensure the following settings:
      • Port: COM7 (the port discovered from the Device Manager)
      • Baud Rate: 115200
      • Data: 8 bit
      • Parity: none
      • Stop: 1 bit
      • Flow control: none
    1. Select the menu File -> New Connection
    2. On the Tera Term: New connection dialog, verify the following:
    • Serial is selected
    Tera Term new connection
        • Port: COM7 (the port discovered from the Device Manager)
      1. Click OK
      2. If you get a Cannot open COM7 error, reset the Launchpad by pressing the reset button on the board.
      3. Type help and press the Enter key. You should see a terminal window like the one shown below.
  • Hi bode,

    At Tera Term, you need to set COM Port to Stellaris Virtual Serial Port and set baud rate to 115200, to see the output.

    - kel
  • Here i found settings about it, just changing baud rate. I had done it before but now again have to change it to 115200
    applied-knowledge.blogspot.bg/.../setting-up-putty-or-tera-term-for.html
  • but how to slow down speed that in shows me data, for one sec i have about 100 rows of data for temperature and pressure.
  • Hi Markel,

    Do you know how i can use example for exosite, i started to read program, but now have to go.

  • Hi bode,

    You need to first program qs_iot to your Tiva Connected Launchpad using LM Flash Programmer. Instructions how to test the example for exosite can be found at the workbook.

    - kel
  • Hello, Markel

    I am trying to run enet_io example on launch pad, i make new ccs project, include TIVAWARE_INSTALL and other steps that i made in lab2,coment some of code at 533 row to 546, and change row 640, but have problem like i think i had in lab2 

    CORTEX_M4_0: GEL: Encountered a problem loading file: D:\programs\TM4C1294 Connected LaunchPad Workshop\workspace\myenetio\Debug\myenetio.out Could not open file 

    I am uploading my project myenetio.rar

  • Hi bode,

    enet_io is mentioned at lab04 of the workbook. It says there to import enet_io project to CCS. It should work without modifications.

    Follow the lab04 procedures.

    - kel
  • i think i had it uploaded, but delete it, now i am trying to upload it and it i have
    Error: A file or directory with name 'enet_io' already exists at location 'D:\programs\TM4C1294 Connected LaunchPad Workshop\workspace\enet_io'!
  • Hi,

    Delete enet_io folder at "D:\programs\TM4C1294 Connected LaunchPad Workshop\workspace\", then import the enet_io again.

    - kel
  • Yes, that was working :)
    i just can't change html part for header. i try several times and don't want to do it now again ;d
    Do you know is it possible to use some display and battery for Connected LaunchPad and Sensor Hub Booster Pack?
    And do you think Lab06 with Educational Booster Pack will work with Sensor Hub Booster Pack?
  • The TI Booster Pack Checker Tool will help you check for Launchpad and Booster Pack pin compatibility. See, post below. Also, see TI Amit and cb1 replies in that post.

    e2e.ti.com/.../451219

    - kel

  • Hi Kel!
    I will answer here.
    Now i understood that i can second connector too :D
    I saw that Sensor Hub Booster Pack has voltage controller, which regulates the 3.3-V supply from the LaunchPad down to 1.8 V for the input to the RF expansion connector (which maybe i have to connect with some display). But on launchpad there is also 5V inputs. Now i have battery from my phone which is 3V7 and aaa batteries 1V5 (1.5) which i can make series connection. And do i have to connect battery on the same connector that is booster pack, or second connectro, or wholes that are 98 from the right side of launchpad.
  • Well now i saw that there is also battery and display sharp LCD booster pack. This sharp LCD Boosterpack is compatible with Connected LP, but when LaunchPad is connected with Sensor Hub Boosterpack, pin 6 is already in use and can't be shared:
    Error - Pin already in used and not shareable (used by 430BOOST-SHARP96, BOOSTXL-SENSHUB)
    Pin Usage
    ● [430BOOST-SHARP96] Function: spics Instance: SPI_CS
    ● [BOOSTXL-SENSHUB] Function: gpio! Instance: INT_LT

    If Sharp LCD is on 2-nd connector will it work or again it will not work?
  • Hi bode,

    Using the booster pack checker tool, there is no pin conflict if connected this way.

    - SHARP Memory LCD BP at Tiva Connected LP BP 2 Connector
    - Sensor Hub BP at Tiva Connected LP BP 1 Connector

    I suggest you double check with datasheets and not rely on the booster pack checker tool just to be sure.

    - kel

  • i checked under side of LP, there are wroten GPIO functions and they are the same like on BP checker and here http://www.ti.com/lit/ug/spmu365b/spmu365b.pdf I hope examples that i have result from sensor hub will be displayed on sharp memory LCD :)

  • Hello, I had problems with log in forum. Now i am loged from mobile internet that i share from other phone. If i am connected with my router i can't log in forum, maybe because of mac adress of router. I can't change router mac adress, because i will not have internet.

    So now i have sharp LCD boosterpack and try to run this example on the link bellow:

    e2e.ti.com/.../666073

    I will also upload my project. But i receive this error:

    CORTEX_M4_0: GEL: Encountered a problem loading file: D:\programs\TM4C1294 Connected LaunchPad Workshop\workspace\SharpLcdMemoryDisplay\Debug\SharpLcdMemoryDisplay.out Could not open file

    Description Resource Path Location Type

    #20 identifier "bool" is undefined .ccsproject /SharpLcdMemoryDisplay line 153, external location: D:\programs\TivaWare_C_Series-2.1.0.12573\driverlib\gpio.h C/C++ Problem
    #20 identifier "int32_t" is undefined .ccsproject /SharpLcdMemoryDisplay line 124, external location: D:\programs\TivaWare_C_Series-2.1.0.12573\driverlib\ssi.h C/C++ Problem
    #20 identifier "int32_t" is undefined .ccsproject /SharpLcdMemoryDisplay line 157, external location: D:\programs\TivaWare_C_Series-2.1.0.12573\driverlib\gpio.h C/C++ Problem
    #20 identifier "uint32_t" is undefined .ccsproject /SharpLcdMemoryDisplay line 119, external location: D:\programs\TivaWare_C_Series-2.1.0.12573\driverlib\ssi.h C/C++ Problem
    #20 identifier "uint8_t" is undefined .ccsproject /SharpLcdMemoryDisplay line 164, external location: D:\programs\TivaWare_C_Series-2.1.0.12573\driverlib\gpio.h C/C++ Problem

    SharpLcdMemoryDisplay.rar

  • Hi bode,

        I think it is much more appropriate to create a new post regarding your new problem making the Sharp LCD Booster Pack work with your Tiva Connected Launchpad. 

    I was able to build the Sharp LCD CCS project without errors after changes mentioned below.

    1. At CCS Project Properties->Resources->Linked Resources update path variable "TIVAWARE_INSTALL" to my Tivaware Installation Directory.
    2. At CCS Project Properties->Build->ARM Compiler->Include Options update Tivaware Installation Directory include path.
    3. At CCS Project Properties->Build->ARM Linker->File Search Path update grlib.lib and driverlib.lib file location.

    Then I copied startup file and .cmd file from hello example program for Tiva Connected Launchpad to SharpLcdTivaWareDemo CCS Project.

    If you still encounter any problem after the recommended steps above, make a new post with a reference link to this post

    - kel