Jump to content

Search the Community

Showing results for tags 'tm4c123gh6pm'.



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 7 results

  1. 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.
  2. 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
  3. Part Number: TM4C123GH6PM Tool/software: Energia 1.6.10E18 LaunchPad board name and version: TIVA TM4C123GH6PM IDE version: Energia 1.6.10E18 or CCS7.0 OS name and version: Windows7 While uploading a simple LED Blink code on Tiva TM4C123GH6PMevaluation board, I get an error "Failed: Unable to find an entry in the TPI ini file for "TMS470REX"", failing to upload to the device. Please help!
  4. 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
  5. 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
  6. Hi, I'm getting to grips with a Launchpad ek-tmc123gxl board, and so far it looks amazing. However I have hit a snag which is pretty painful. Consider the following code: #include <stdbool.h> #include <stdint.h> #include "inc/hw_gpio.h" #include "inc/hw_memmap.h" #include "inc/hw_sysctl.h" #include "inc/hw_types.h" #include "driverlib/gpio.h" #include "driverlib/pin_map.h" #include "driverlib/rom.h" #include "driverlib/rom_map.h" #include "driverlib/sysctl.h" void setup(void); #define delay(x) SysCtlDelay((SysCtlClockGet() / 3000000) * x) uint8_t sequence_1[16] = { 0x4b, 0x4e, 0xcd, ... other 8-bit values }; uint8_t sequence_2[16] = { ... another list of 16 8-bit values like sequence_2 }; int index; int main() { int i, wait; setup(); index = 0; wait = 1000; while(1) { delay(wait); GPIOPinWrite(GPIO_PORTB_AHB_BASE, 0xFF, seq_m1[index]); GPIOPinWrite(GPIO_PORTD_AHB_BASE, 0xFF, seq_m2[index]); if(++index == 16) index = 0; } void setup(void) { // Set the clocking to run directly from the PLL at 80 MHz. SysCtlClockSet(SYSCTL_SYSDIV_2_5 | SYSCTL_USE_PLL | SYSCTL_XTAL_16MHZ | SYSCTL_OSC_MAIN); SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOB); SysCtlGPIOAHBEnable(SYSCTL_PERIPH_GPIOB); SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOD); SysCtlGPIOAHBEnable(SYSCTL_PERIPH_GPIOD); GPIOPinTypeGPIOOutput(GPIO_PORTB_AHB_BASE, 0xFF); GPIOPadConfigSet(GPIO_PORTB_AHB_BASE, 0xFF, GPIO_STRENGTH_8MA, GPIO_PIN_TYPE_STD); GPIOPinTypeGPIOOutput(GPIO_PORTD_AHB_BASE, 0xFF); GPIOPadConfigSet(GPIO_PORTD_AHB_BASE, 0xFF, GPIO_STRENGTH_8MA, GPIO_PIN_TYPE_STD); } I am seeing how pins D0 and D1 and B6 and B7 show the following scope trace: Where a normal binary squarish wave should be seen, I'm getting two high states, one at 1.85 V and another at the nominal 3.3 (!). I provide the facts below for context: The Launchpad board is brand-new. This behavior is also what I get when using an equivalent Energia sketch. None of the Port B or D pins are connected to anything. Just to the scope probes. This code is compiled on CCSv6 and arm-gcc. Same behavior. The usage of the AHB was just a "what if..." decision. The behavior is just as present when using the default APB. I suppose I'm missing a very big catch in dealing with the ports, but I thought the TivaWare drivers were written precisely to avoid this sort of unexpected and annoying behavior? As a more basic test, I made a program that toggles all bits of Ports B and D after a 2 ms delay. In that case, the scope showed a clean square wave. The ports configuration is identical to what I showed above. Thanks for the attention!
  7. I am very new to microcontrollers. I have designed the frimware part of my project via Launchpad. Now I have to have a PCB design. As for GPIO, I am using two pins for UART, one pin for ADC and one pin for digital input. For this basic setup, what should I know? What are the basic design requirements, how to do coupling, etc. and where? What are the other questions I should have asked? If there is any material I can find answers for my questions, it is well appreciated. Thanks in advance.
×
×
  • Create New...