Search the Community

Showing results for tags 'TM4C123'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks

Calendars

There are no results to display.


Found 11 results

  1. Hello, What is the status of Wire.h when using energia with the tiva-c board? Since there is the BoardManager in E18, the file layout has changed. Which leads to some confusion. eagle@daredevil:~$ find . -type f -name "Wire.h" ./.energia15/packages/energia/hardware/msp432/3.8.0/cores/msp432/ti/runtime/wiring/Wire.h ./.energia15/packages/energia/hardware/msp430/1.0.2/libraries/Wire/Wire.h ./.energia15/packages/energia/hardware/tivac/1.0.2/libraries/Wire/Wire.h ./.energia15/packages/energia/hardware/msp432r/5.6.0/cores/msp432r/ti/runtime/wiring/Wire.h ./bin/energia-1.6.10E18/hardware/energia/msp430/libraries/Wire/Wire.h ./bin/energia-1.6.10E18/hardware/energia/msp430/cores/msp430/Wire.h So I think when using energia with tivac, it will use the .energia15/packages/energia/hardware/tivac/1.0.2/libraries/Wire/Wire.h file that is in the hidden .energia directory right? Then I went ahead and edited the Wire.cpp file in the tivac/1.0.2 dir. #include <stdlib.h> #include <stdio.h> #include <string.h> #include <inttypes.h> #include "wiring_private.h" #include "inc/hw_memmap.h" #include "inc/hw_types.h" #include "inc/hw_ints.h" #include "inc/hw_i2c.h" #include "driverlib/gpio.h" #include "driverlib/debug.h" #include "driverlib/interrupt.h" #include "driverlib/rom.h" #include "driverlib/rom_map.h" #include "driverlib/pin_map.h" #include "driverlib/sysctl.h" #include "driverlib/i2c.h" #include "Wire.h" Here is a list of include files from Wire.cpp. So here is my question: is this Wire.cpp implementation is for TM4C? is it using or based on the TivaWare Peripheal library? I intend to make some modifications for it, for example using 2 i2c ports at the same time. So I need to start at the correct place. Any ideas / help greatly reccomended. Best regards, CA
  2. Hello, i want to control relays with my keypad. I work with the Launchpad TM4C123 80MHz. i wrote a script but the relay isn´t working. The relay is alright and i don´t know the problem. Can anyone help me?
  3. Hello guys, I am using the tm4c123 and I need to use the pins PD_4 and PD_5 in my custom board... but these pins have no definition in the Energia... I would like to use this pins as inputs (digitalRead function) I had the same problem with the PQ_4 on the TM4C129 Could I make some #define in the pins_energia.h to use this pins??? Regards
  4. There is an edX course coming up in September from the University of Texas in Austin - this time with MSP432 or TM4C123 LaunchPad. The parts list also includes the CC2650 and Educational BoosterPack MK-II. The syllabus includes BLE and RTOS. It is taught by Jonathan Valvano and Ramesh Yerraballi who have offered a course using the TM4C123 on edX in the past. https://www.edx.org/course/real-time-bluetooth-networks-shape-world-utaustinx-ut-rtbn-12-01x http://edx-org-utaustinx.s3.amazonaws.com/UT601x/RTOS.html edit: forgot to mention that these courses are free if you just audit the course
  5. Hello, I am having trouble using a SPI DS3234 RTC with Energia and TivaC series launchpad. I am using the ds3234 library at https://github.com/rodan/ds3234 which is originally written for arduino. I modified few settings in the initialization, tried few things, but have not had any luck. The module will not talk spi at all, and I get 1900.00.00 00:00:00 for date all the time. Here is the relevant code from the init section: void DS3234_init(const uint8_t pin, const uint8_t ctrl_reg) { pinMode(pin, OUTPUT); SPI.setModule(2); SPI.begin(); SPI.setClockDivider(SPI_CLOCK_DIV32); SPI.setBitOrder(MSBFIRST); SPI.setDataMode(SPI_MODE3); DS3234_set_creg(pin, ctrl_reg); delay(10); } First off I am setting spi port 2, before spi.begin. I tried all clock_dividers. The ds3234 supports upto 4mhz spi speed, so considering 80mhz clock speed for tivac board, I am using a div32 divider. I also scanned all of the dividers. I tried spi_mode 1 and 3 also. I also checked with an oscilloscope, that I am indeed talking with SPI2 port. (I can see the clock and cs lines with little spikes, when the tiva-c sends commands). For some reason the SPI port in the TivaC is unable to talk with this RTC chip. I could not figure out why. I tested the same code on a MSP430F5529 with the RTC connected to SPI0 port, and it worked as expected. Here is the relevant part for that one: (I only commented out the setModule statement, and used the div8 divider) void DS3234_init(const uint8_t pin, const uint8_t ctrl_reg) { pinMode(pin, OUTPUT); //SPI.setModule(2); SPI.begin(); SPI.setClockDivider(SPI_CLOCK_DIV8); SPI.setBitOrder(MSBFIRST); SPI.setDataMode(SPI_MODE3); DS3234_set_creg(pin, ctrl_reg); delay(10); } I also found a forum post at http://forum.43oh.com/topic/9016-ds3234-rtc-peek-poke/ which complains about not being able to peek / poke the internal SRAM of the ds3234 - but unfortunately was not answer. I am speculating this too arises from similar SPI trouble. Any ideas/recomendations/help greatly appreciated, Best Regards, C.
  6. I was trying to get the Tiva Launchpad TM4C123 working with the Nokia 5110 using Energia. Eventually I came across this page: http://www.clarenceho.net/2015/08/tm4c123-with-dht11-sensor.html You can follow the series of questions and answers through which Clarence Ho helped me get the combination working. You can see that he used a library originally by Rei Vilo, modified to add a contrast command. You can see also that Clarence has now added the jump-wire connections which are needed to link the Launchpad and LCD, near the top of the page. I then investigated graphics, and added Graphics commands to Rei Vilo's library - some were adapted from libraries designed to interface the 5110 to Arduinos. (I've quoted all sources in the file itself) You can see the result on this Youtube page: https://youtu.be/wCwyDiEfO_c As you can see, also included is a simple Pacman-style game using the Graphics commands. You may want to jump over the part showing Pacman game, if you want to try it yourself first. I've also now added another Pacman-style game - but generated randomly. There's a choice of ten sets of games (A-J), each with a potentially infinite number of levels. Note that although the games are generated randomly, the starting point for the random number generator used in each set of games is the same. So, GamesA for instance always has exactly the same levels. The Library and games can be downloaded from: https://dl.dropboxusercontent.com/u/17759511/LCD5100_Graphics.zip ... and of course, the Energia code is easy to edit, so you can adapt the programmes for your own needs. I hope they are of some use to those who arrive at this page looking for help with connecting the Nokia 5110 to the Tiva Launchpad TM4C123.
  7. This course by Jonathan Valvano and Ramesh Yerraballi at the University of Texas starts on January 20th. The lab uses the Texas Instruments TM4C123 ARM Cortex M4 LaunchPad. I haven't taken it but have heard good things about it. Additional information can be found here. EDIT: It's free if you don't want or need the certificate
  8. Hello i have seen article about reading the supply voltage from MSP430 http://www.elevendroids.com/2013/06/code-recipe-reading-msp430-power-supply-voltage-level/ It can be usefull when running on batteries however i am not able to find anything suitable to use for TM4C123. The system DEFINES carries another names and the code can not be used. I have only used Energia for programming my LM4F120. If anyone have some experience in reading the internall VCC a and Voltage Reference to compute supply voltage level on TM4C123 I would be thankfull.
  9. Hello, I've been looking trough the forums for an SD Card Library that can be used on TM4C123GH6PM micro controller. I came across one (http://embeddedcomputing.weebly.com/microsd-card-boosterpack.html) but the link redirects to the forum main page, so I can't really get my hands on it. Does someone has a low resource library for this? Thanks! Note: In case this is good to know, I'm looking to use the SD Card slot that comes with the ILI9341 2.2" LCD screen sold (mostly) on Ebay. So we're talking about an SPI-Interfaced SD Card.
  10. Hi, I need to generate 4 pwm signals at 50 HZ, they need to run with out interruption. I know the TM4C123G6PM has 2 pwm blocks, but is it possible to access them through Energia? can I use Analog.write(); ? Someone please help. Thank you.
  11. I found an adaptation of a cap-sense sketch that uses port manipulation to create a capacitive sensor for Arduino to a MSP430. My question is that when I was using the sketch and adjusting it to use a tm4C123 device, I got these errors: TouchSensor.ino: In function 'uint8_t readCapacitivePin(int)': TouchSensor.ino:58:24: error: 'P1OUT' was not declared in this scope TouchSensor.ino:59:23: error: 'P1DIR' was not declared in this scope TouchSensor.ino:61:23: error: 'P1IN' was not declared in this scope I looked into this and found out on this post: http://forum.43oh.com/topic/5166-need-advice-porting-arduino-code-to-energia/ That this is using peripheral names on the MSP430 regarding registers P1DIR - to set direction P1OUT - to set an output bit P1IN - to read an input bit I remembered that wiring.c defined the port, pin and ddr. And if I commented out port = (uint8_t*) &P1OUT; ddr = (uint8_t*) &P1DIR; bitmask = 1 << pinToMeasure; pin = (uint8_t*) &P1IN; It would compile but I feel I am missing something My problem is that I was looking into how to change the peripheral names for tm4c123 instead of the MSP430 so I can use the sketch on my tm4c123. Here is the link to the sketch: https://gist.github.com/thecodemaiden/6040927