Jump to content

Search the Community

Showing results for tags 'tm4c123gxl'.



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.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 19 results

  1. Hi, I have TM4C123GXL launchpad and want to interface a TFT LCD (2.0 inch TFT ILI9225) with it. I am using energia platform but I am not able to find any compatible libraries for the same. Kindly suggest me a way out or suggest a new 2.0/2.2 inch LCD compatible with the board. Below is the link of the LCD https://robu.in/product/2-0-inch-spi-tft-lcd-color-screen-module-ili9225-serial-interface-176-x-220/?gclid=EAIaIQobChMIoMPU--ip4gIVwYiPCh0WkwyHEAYYASABEgLECvD_BwE
  2. Hello everyone! I am using the SIM800L module to send SMS through a TivaC TM4C123GXL board, but its clock is 80MHz, and the library only accepts 20, 16 or 8 MHz. In Arduino it worked perfectly, this code found on a website. How do I reduce the TM4C123 clock in Power software? Is there another solution? Thanks in advance! The code: #include <SoftwareSerial.h> SoftwareSerial sim(3, 4); int _timeout; String _buffer; String number = ""; //here I inserted my number phone void setup() { delay(4000); //delay for 7 seconds to make sure the modules get the signal Serial.begin(9600); _buffer.reserve(50); Serial.println("Sistem Started..."); sim.begin(9600); delay(1000); } void loop() { SendMessage(); delay(10000); } void SendMessage() { //Serial.println ("Sending Message"); sim.println("AT+CMGF=1"); //Sets the GSM Module in Text Mode delay(1000); //Serial.println ("Set SMS Number"); sim.println("AT+CMGS=\"" + number + "\"\r"); //Mobile phone number to send message delay(1000); String SMS = "Testing GSM module"; sim.println(SMS); delay(100); sim.println((char)26);// ASCII code of CTRL+Z delay(1000); _buffer = _readSerial(); } String _readSerial() { _timeout = 0; while (!sim.available() && _timeout < 12000 ) { delay(13); _timeout++; } if (sim.available()) { return sim.readString(); } } The error: #error This version of SoftwareSerial supports only 20, 16 and 8MHz processors
  3. Hi all! We are using Tiva C series MCUs (TM4C1294XL and TM4C123GXL) for a project in IICDC 2019 but we are facing problems while implementing Controller Area Network protocol (CAN Protocol) using them. I've attached the basic code for sending messages via CAN protocol form one MCU to other but the problem is, it is not doing so as a message sent from one MCU is received by itself and not by other MCU in the network. We've tried using the filters as well but no progress. Any help would be really appreciated. P.S. - Do we require an extra CAN transceiver boosterpack for these modules? dph_CANExamplePolled.ino
  4. I am using TM4C123GXL and for some reason I am getting garbage values when I try to read the values from PB1 pin. I flashed this simple code to test the UART: void setup() { // initialize ports: Serial.begin(115200); //connected with USB } void loop() { Serial.print("E"); delay(200); } But instead of 'E' I see these garbage values: ;����������� I am reading using the same 115200 baud rate. What am I doing wrong? May be I do not flash the code correctly? I simply put the device into DEBUG mode and connect to my Ubuntu PC using the top micro USB port (red LED turns on). Then I simply Upload the code to the correct Serial port and then unplug the device. EDIT: I can confirm that I flash the code correctly. I tried to flash an empty code after which nothing was sent from the UART port
  5. Hello. I have been trying to create a serial link between the Launchpad (based on tm4c123gh6pm) and my cellphone. The code is very simple for testing purpose. Here is it: /* This is a demo code for testing Bluetooth functionality ->The peripheral used here was a smartphone; and to obtain the values of 'i' on the terminal of the device, the "display mode" setting must be changed to ' HEX' ->The code doesn't work properly on when the pin 10 and 11 are used as RX and TX ->It has been successfully tested to send the values of i to the Rx terminal and receive the characters sent from there. */ int i=0; void setup() { Serial.begin(9600); Serial.print("Welcome "); } char data_from_Blue=0; //String rx_str = ""; void loop() { for(i=0;i<10;i++) { if(Serial.available()>0) { data_from_Blue = Serial.read(); // reading the data received from the bluetooth module/the peripheral (phone here) Serial.println("I received: "); Serial.println(data_from_Blue); //Serial.println(rx_str); //display it on serial monitor i.e,the reading has been received here!! } Serial.write(i); //Print incrementing value of 'i' across the other terminal(i.e, my cellphone) delay(1000); } } The code works fine for Arduino+HC05 and MSP430G2 Lauchpad Kit+HC05. But for TIVA Launchpad mentioned above, the serial monitor simply displays garbled values with '?' within boxes. I have tried almost everything. Please help me.
  6. i'm designing an embedded control system that i've prototyped with the TM4C123GXL Launchpad. i like the processor (TM4C123GH6PM) and need the speed. i'm experienced with code, hardware, board layout, etc. my question seems to be somewhat between a TI/hardware issue and an Energia software issue. for various reasons (including a desire to let eventual end-users write code for it) i want to use the Energia IDE with boards of my own design, that use only native USB, and not the secondary debug processor. the bootstrap process remains fairly opaque; i've read the datasheet and ROM app note etc but i seem to be missing something... ** is there a usable Energia-compatible bootstrap routine, compatible with Energia, in the ROM on TM4C123* chips i buy from Digikey? ** if not, can i use an external method to load bootstrap onto the board, that will persist, ala Arduino? i've read that there are licensing problems with the TI USB libraries; are those entangled here? tom
  7. Hello! I m trying to run the code for the coin acceptor mechanism. its getting compiled properly on but on updation it is showing no output on serial monitor i.e serial monitor is completely blank. Since i m using Energia IDE for TM4C123gxl so i have tried the same code on Arduino IDE as well and over there it is giving the exact output as i want. and all the things are correctly selected ie the port, board and everything. What could be the problem? Code.txt
  8. hi, I am new here, I purchased launchpad tm4c123gxl for learning purpose,can anyone help me from where i can start? I have good internet access and laptop. Thanks for help
  9. Hi , I had a problem blinking a Led in a simulink model using Embedded Coder For Energia package(having a pulse generator and digital output on pin 39) , it gives me that error and am irritated about it : 'C:/Program' is not recognized as an internal or external command, operable program or batch file. gmake: * [Tawfiks.o] Error 1### Creating HTML report file Tawfiks_codegen_rpt.html### Build procedure for model: 'Tawfiks' aborted due to an error.Error(s) encountered while building "Tawfiks":### Failed to generate all binary outputs. Any idea how to solve this problem?
  10. Hello I have problems with the two NRF24L01 and two tm4c123gxl. I can not get it running. Pins 1. Tm4c123gxl (RX): PC_6 (CE), PD_2 (MISO), PD_3 (MOSI), PD_1 (CS), PD_0 (SCK), PE_1 (IRQ) Pins 2. Tm4c123gxl (TX): PC_7 (CE), PD_2 (MISO), PD_3 (MOSI), PD_1 (CS), PD_0 (SCK), PE_1 (IRQ) I will use a simply Sketch. I have found this in the Forum [Energia Library] Nordic nRF24L01+ library I have download this Enrf24_v1_8.zip from the Forum. Enerf24_RXdemo #include <Enrf24.h> #include <nRF24L01.h> #include <string.h> #include <SPI.h> Enrf24 radio(PC_6, PD_1, PE_1); const uint8_t rxaddr[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0x01 }; const char *str_on = "ON"; const char *str_off = "OFF"; void dump_radio_status_to_serialport(uint8_t); void setup() { Serial.begin(9600); SPI.begin(); SPI.setDataMode(SPI_MODE0); SPI.setBitOrder(MSBFIRST); radio.begin(); // Defaults 1Mbps, channel 0, max TX power dump_radio_status_to_serialport(radio.radioState()); radio.setRXaddress((void*)rxaddr); radio.enableRX(); // Start listening } void loop() { char inbuf[33]; dump_radio_status_to_serialport(radio.radioState()); // Should show Receive Mode while (!radio.available(true)) ; if (radio.read(inbuf)) { Serial.print("Received packet: "); Serial.println(inbuf); if (!strcmp(inbuf, str_on)) Serial.println("HIGH"); if (!strcmp(inbuf, str_off)) Serial.println("LOW"); } } void dump_radio_status_to_serialport(uint8_t status) { Serial.print("Enrf24 radio transceiver status: "); switch (status) { case ENRF24_STATE_NOTPRESENT: Serial.println("NO TRANSCEIVER PRESENT"); break; case ENRF24_STATE_DEEPSLEEP: Serial.println("DEEP SLEEP <1uA power consumption"); break; case ENRF24_STATE_IDLE: Serial.println("IDLE module powered up w/ oscillators running"); break; case ENRF24_STATE_PTX: Serial.println("Actively Transmitting"); break; case ENRF24_STATE_PRX: Serial.println("Receive Mode"); break; default: Serial.println("UNKNOWN STATUS CODE"); } } Enrf24_TXdemo #include <Enrf24.h> #include <nRF24L01.h> #include <string.h> #include <SPI.h> Enrf24 radio(PC_7, PD_1, PE_1); // CE, CSN, IRQ const uint8_t txaddr[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0x01 }; const char *str_on = "ON"; const char *str_off = "OFF"; void dump_radio_status_to_serialport(uint8_t); void setup() { Serial.begin(9600); SPI.begin(); SPI.setDataMode(SPI_MODE0); SPI.setBitOrder(MSBFIRST); radio.begin(); // Defaults 1Mbps, channel 0, max TX power dump_radio_status_to_serialport(radio.radioState()); radio.setTXaddress((void*)txaddr); } void loop() { Serial.print("Sending packet: "); Serial.println(str_on); radio.print(str_on); radio.flush(); // Force transmit (don't wait for any more data) dump_radio_status_to_serialport(radio.radioState()); // Should report IDLE delay(1000); Serial.print("Sending packet: "); Serial.println(str_off); radio.print(str_off); radio.flush(); // dump_radio_status_to_serialport(radio.radioState()); // Should report IDLE delay(1000); } void dump_radio_status_to_serialport(uint8_t status) { Serial.print("Enrf24 radio transceiver status: "); switch (status) { case ENRF24_STATE_NOTPRESENT: Serial.println("NO TRANSCEIVER PRESENT"); break; case ENRF24_STATE_DEEPSLEEP: Serial.println("DEEP SLEEP <1uA power consumption"); break; case ENRF24_STATE_IDLE: Serial.println("IDLE module powered up w/ oscillators running"); break; case ENRF24_STATE_PTX: Serial.println("Actively Transmitting"); break; case ENRF24_STATE_PRX: Serial.println("Receive Mode"); break; default: Serial.println("UNKNOWN STATUS CODE"); } } When i am upload this, i don't see the Sending objects. I see only in both Serial.monitor this: "Enrf24 radio transceiver status NO TRANSCEIVER PRESENT". Can someone help me?
  11. Hello I hope you can understand my english I have a texas instruments tm4c123gxl with a SainSmart IIC/I2C/TWI Serial 2004 20x4 LCD Module. I will connect this Display over I²C. For the 5V Supply voltage i have use the VBus on the tm4c... For the SDA/SCL i have use the pin PA6 and PA7. Does it work like this? or need a Logic Level Converter - Bi-Directional for the SDA/SCL Line? from 3,3V to 5V. I have use a Pullup resistor for the Line SDA/SCL, how in the datasheet from the tm4c. And i have use this Code: #include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x3F, 20, 4); // set the LCD address to 0x20 for a 16 chars and 2 line display void setup() { lcd.init(); // initialize the lcd // Print a message to the LCD. lcd.backlight(); lcd.print("Hello, world!"); } void loop() { } But my display show nothing only LED backlight.
  12. Does Energia support Anaren A2530E24A-LPZ ZigBee module? Specifically for TM4C123GXL Launchpad (or TM4C129 Launchpad)? If so, how can I get some code samples? Anaren site only has example for CCS. If not, does Energia support any other ZigBee module to work with TivaC?
  13. Using a tm4c123gxl, on a mac (10.11.6) the online documentation says no drivers are required, but when I plug the board in, there is no recognition and no LEDs come on. I checked the mac ports and it also doesn't show there. Is there a driver that must be installed to start using my board?
  14. Hi!, I'm try to connect tm4c123gxl with esp8266: esp8266 tm4c GND GND VCC +3.3V CH_PD +3.3V Rx PD7 (Tx 2) Tx PD6 (Rx 2) I tested with "AT" command, if it's success, it will return "OK". Here is my code: void setup() { Serial2.begin(115200); Serial.begin(9600); Serial2.write("AT"); } //------------------------------------------------------------ void loop() { while (Serial2.available()){ char result = Serial2.read(); Serial.print("Serial2 result:\t"); Serial.print(result); Serial.println(""); } } But It just print 2 lines and nothing else Serial2 result: A Serial2 result: T
  15. Hello ! I'm a student, I wonder if tm4c123gxl can write firmware to esp8266, because I see tm4c has Tx and Rx pins, or I have to buy a USB to TTL ? Here is my firmware I want to flash to esp8266 https://github.com/tuanpmt/esp_mqtt Thank you very much
  16. Hello! I am using Energia to program TM4C123GXL board. The program performs a primitive data acquisition with low frequency and stores it (together with timestamps) as an array in RAM. I would like to store data in EEPROM or, preferebly in FLASH. Micro-controller has 256kB flash. How can I save data there? There is flash API (flash.h and flash.c) in lm4f/driverlib/ though I am not sure even at which address range I can write/erase data? Can anybody point out to a working example? thanks for help!
  17. I am developing data acquisition using TM4C123GXL with Energia. I able to acquire signal of 20hz even my ADC has sampling rate of 1M/s. I need suggestion regarding how to increase acqusition bandwidth(higher range frequency)....
  18. Hi All, I am using Energia 0101E0012 / TIVA TM4C123GXL / CC3000BOOST trio and trying to develop an application that will use SmartConfig feature. I have tried the released WiFi examples of SmartLinkWiFi library and they are working perfectly. I have tried to debug Energia code using Code Composer Studio V6 but it also did not help me much. After searcing for a solution I have seen some firmware update entries in different forums. Then I have updated my firmware from 1.24 to 1.26. But this update did not helped me. After FirmwareUpdate I have followed the suggestion of http://forum.43oh.com/topic/4825-using-smartconfig/?p=44519 but it did not help me also. I have also tried SmartConfig with MSP-EXP430G2 Launchpad using same CC3000BOOST module with CC3000SDK sample application for G2553 and it worked as expected. I will be glad if you have any solutions or suggestions for this issue. Thanks and Regards,
  19. TM4C123GXL LaunchPad Workshop Lab7 (bulk transfer-mode USB) requires a client program to exchange text data with the LaunchPad loaded with the project code. TI has provided a client working on WINDOWS. Those working on Linux platforms require an implementation. I have written a "first-cut" version, source attached. It uses libusb. It does not implement the speed statistics calculations, though the required counters are there.usb_bulk_example.c
×