Jump to content

Search the Community

Showing results for tags 'serial'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





  1. I am planning to port this code for TIVA-C129 using Energia (on a Mac). 1st trying if it even compiles. I have below include #include "XBee.h" #include <SoftwareSerial.h> Getting error "#include <SoftwareSerial.h> ^ compilation terminated." I even tried doing #include "SoftwareSerial.h" but same error. What am I missing?
  2. Hello there, I have been trying to use a MSP430FR5969 to start a serial communication with a SARA-R4 Cellphone modem. Basically that modem just works sending AT commands through serial communication, so, i decided to start with the basics using the library example include <SoftwareSerial.h> SoftwareSerial mySerial(P1_4, P1_3);// RX, TX void setup(){ // Open serial communications and wait for port to open: Serial.begin(9600); Serial.println("Goodnight moon!"); // set the data rate for the SoftwareSerial port mySerial.begin(9600); mySerial.println("Hello, world?");
  3. Dear All, I have a problem with my Energia IDE. I have using my Tiva c ek-tm4c123gxl board. Also I am using the Energia ide on Mac OS Catalina 10.15. But in Energia IDE in the Mac doesn't see my board. I cannot see anything except for bluetoothport in serial port place.On the other hand I don't have any problems with Arduino boards and the Arduino ide in Mac too. Help me with this problem please.Have a nice day and good luck :)
  4. Hello, I'm try to use msp-exp430g2553et launchpad with energia but the serial monitor doesn't work. I'm using the example code:(One Wire DS18X20_temperature) I found it need to change RXD TXD but I changed it display "no more addresses" please help, thanks!
  5. Views: 5 Hi, I have a problem with serial communication. I'm using IDE Energia to print a simple word ("hello") on the serial monitor but nothing appear (no error in the sketch). Can you help me? PS: right board and COM port are selected and serial monitor and board have the same baud rate . The code is: void setup () { Serial.begin(9600); } void loop() { Serial.println("hello"); delay(1000); } I don't know why the monitore showing nothing. Thanks for the help Gino
  6. Hi, I am developing a monitor that will wake up every 15 minutes read and sensor and send some data. I'm using an EXP430G2 onto which I have successfully soldered the 32KHz crystal. The interrupts are working OK, waking every 16 seconds and toggling a LED. I'm using TACTL = TASSEL_1 +ID_3 + MC_2 +TAIE and Timer0-A1. My problem occurs whenever I try to use either the serial port (using Serial.print) or the AirBooster Pack. Then nothing happens - the system freezes. I'm assuming this has something to do with use of interrupts by the Serial and Airbooster libraries but I have no idea w
  7. Hi, I have noticed (after much hair pulling) that serial doesn't work when board definition 1.0.5 is selected. Wondering if anyone else is experiencing this issue? 1.0.4 works perfectly. Tested on both the launchpad and a custom board.
  8. Hi all, I have a PID algorithm written on TIVA C TM4C123G . I want to setup a PIL simulation with Simulink. Simulink will send the error signal to TIVA, the PID will calculate the control signal and send it back to Simulink. How can I link the TIVA C "TM4C123GH6PM" Launchpad with Simulink and send/receive data in PIL setup? any help ?? Thanks
  9. I have an interesting problem that has been popping up over the last several months. I am presently using a MSP-EXP430G22553 Rev 1.5. I am running Energia 17. Every so often when I load a program into the editor, the serial port option on the tools menu will be grayed out. I am able to download the program into the board and the program will run but I am unable to open the serial port window. I am running Windows 7 and if I look at the ports in device manager, it show port 66 being assigned to the TI board. This problem will continue for several days and then suddenly it will start to wor
  10. I have an interesting problem that has been popping up over the last several months. I am presently using a NSP-EXP430G22553 Rev 1.5. I am running Energia 17. Every so often when I load a program into the editor, the serial port option on the tools menu will be grayed out. I am able to download the program into the board and the program will run but I am unable to open the serial port window. I am running Windows 7 and if I look at the ports in device manager, it show port 66 being assigned to the TI board. This problem will continue for several days and then suddenly it will start to wor
  11. Dear developers, I am simply using Serial.println(); command, but I get some weird characters in the serial port display window. Code : #include <Wire.h> // HIH6130 I2C address is 0x27(39) #define Addr 0x27 int tzero = 196; int tspan = 17; int hzero = 196; int hspan = 17; void setup() { Wire.setModule(1); Wire.begin(); pinMode(P1_3,OUTPUT); pinMode(P1_2,OUTPUT); pinMode(P1_6,OUTPUT); Serial.begin(9600); Serial.println("OK"); delay(300); } void loop() { unsigned int data[4]; // Start I2C Transmission Wire.beginTransmission(Addr); // Select data registe
  12. Using Tiva C Series TM4C123GH with Energia 1.6.10E18, Win7 platform. TivaC is connected by USB, of course . I really need to be able to set Serial2.begin(38400) to implement Even Parity [8E1, instead of 8N1] because of the fixed hardware that is being connected. There is a patch posted already for the MSP430G2553; I'm pretty sure the register arrangement for the Tiva C is vastly different. There's a register in the TM4C123GH at 0x4000:E02C (E000 offset 0x2C) which contains the command word for that UART (parity select, number of bits, enable FIFO, ESP, PENable) that needs to be modif
  13. I apologize if this is obvious, but on a new version of a MSP430FR5949 based datalogger programmed using Energia 18 - I switched the pins on the physical chip for serial communication from the Aux to the Debug UART for better layout. Below is the modified pin map energia_pins.h file - #if defined(__MSP430_HAS_EUSCI_A0__) || defined(__MSP430_HAS_EUSCI_A1__) static const uint8_t DEBUG_UARTRXD = 18; /* Receive Data (RXD) at P2.1 */ static const uint8_t DEBUG_UARTTXD = 17; /* Transmit Data (TXD) at P2.0 */ static const uint8_t AUX_UARTRXD = 22; /* Receive Data (RXD) at P4.5 */ static
  14. Hello guys, I have been trying to connect my MSP432R Launchpad with another device that requires 57600 bps on Serial1 and after hours trying to find an error in my code I decided to test the Serial1 port. Thus I uploaded the following test code and connected RX to TX (P3.2 <-> P3.3) : void setup() { Serial.begin(115200); Serial1.begin(115200); Serial.println("Starting..."); } void loop() { Serial1.write('A'); if (Serial1.available()) { int inByte = Serial1.read(); Serial.write(inByte); } delay(1000); } So far everything works as expected. Then I tr
  15. So, Indeed YELLOW_LED controls the red LED on the board. 8^) But I still can't get serial on my Mac to work reliably. I have set the baud to 115200 (Launchpad and Energia Terminal). I have tried Serial and Serial1. I have tried both usbmodems that show up, I do have USB 3.0, but I have no control over that. I have also tried the macOSX screen command which turns a terminal session into a serial console. The kicker is, one time I *did* get serial output to show up using this method. I was printing to Serial and Serial1 at the time. So I modified it to do one or the other but never again
  16. Hi all, I'm using MSP432 with energia. I'm getting weird symbols in the serial monitor instead of the values sent through the Serial.print() function.I have seen these happening when the baud rate specified in code and serial monitor is not same, but this is happening when they are same.Please see the attached image and provide help.
  17. Hi, I am trying to make a UART connection with a device from serial1 in MSP432. It isn't working as i cannot see anything printing on my serial monitor (I am trying to print the data stored in global variables using serial/USB). Wherein the same code works fine on MSP430 or TM4C1294 devices. I have double checked my wiring connections.. P3.2, P3.3 for RX, TX. Can anyone here help me resolve this issue or point out where im going wrong.. Please find the code below //----------------------------------------------------------------------------- // Microchip MCP39F501 Power Monitor
  18. Hi, I am using MSP432P401R to make a UART connection and talk to a board. I have found in the datasheet that MSP432 supports only one UART (RX-P3.2, TX-P3.3). In this case when I use serial to transmit and receive from the other board, Can there be a way i can view the data on serial monitor? How to realize this? I have read in other posts about software serial where GPIOs can be used as serial pins. Can someone brief it for me. My project basically is to read bytes from MCP39F501 onto MSP432P401R and then transmit that data using MODBUS TCP protocol with CC3100 boaster pack.
  19. Good morning. I've been using the MSP430 launchpad and programming it using Energia 18. Anyway, for the whole time I've been using Energia, it very often have to unplug and plug back in my device in order to send it another build. Have any of you seen this problem before? Sometimes it works without having to unplug the hardware, however, over 50% of the time, I have to unplug the LaunchPad in order to upload new code to it from Energia. It seems to get hung while attempting the upload. So, to overcome this, I unplug the Launchpad, click the Upload button again, usually get an
  20. Is there a way to use the SoftwareSerial library on the Stellaris Launchpad TM4C123GXL board? I am trying to connect a Sparkfun serial enabled LCD screen to the board but the SoftwareSerial library is only compatible with 20, 16, and 8 MHz processors, and the TM4C123GXL is an 80 MHz chip. How can I use this LCD screen with the Stellaris Launchpad over a UART connection? Do I need to use SoftwareSerial or can I do without it? I am programming in Energia 0101E0017 on Windows 7 64 bit. Any help is greatly appreciated, thanks!
  21. Oh I hope someone can help me out of this headache. I run the msp430g2452 from my MAC (Yosemite), Ran fine after installing drives and all. Now suddenly the "Serial Port" has gone grey and I try to re install, reboot, re everything. No way I can connect again. I was playing with digital out and also in. Seemed like it was when I was trying to read the switch on pin5 that things went bad for me. I know many have had problems on a mac and I have looked intense on this Forum and other on the net. Now I try this. I hope someone can help. Greetings from Brazil and thanks any help. Peter
  22. Here's a tutorial on programming a graphical UI in Google Chrome to display data received over serial http://www.lucadentella.it/en/2016/06/07/chrome-app-e-comunicazione-seriale/ via Dangerous Prototypes. I meant looking into this topic for a long time. For serial communication like in this tutorial, but also USB for a portable upgrade application via a custom USB BSL implementation.
  23. 0down votefavorite Hi, I am trying to implement Modbus TCP on TIVA 1294 using the following code. I am using a modbus slave simulator on a pc to check the following code. However, the code doesn't seem to be working. I have downloaded the code & the libraries fromhttp://myarduinoprojects.com/modbus.html. Please suggest me corrections if necessary. Also is there another working example available for modbus tcp/ip for ethernet on TIVA energia? Please guide. #include <SPI.h> #include <Ethernet.h> #include "MgsModbus.h" MgsModbus Mb; int inByte = 0; // incoming seri
  24. I have an XBee (S2C) connected to my Mac and another XBee connected to a TI microcontroller (TIVA-C129) communicating with each other - Mac as a coordinator and TI as a router. I can communicate between them, but on the TI side, I can't read the exact data that is coming in the serial port. On the Mac, I am running below python code that reads the incoming serial data through XBee and writes an acknowledgment. #!/usr/bin/python import serial ser = serial.Serial('/dev/tty.usbserial-A104IC2U', 9600) ack='A' while True: incoming = ser.readline().strip() if incoming != 'A': print '%s' % inco
  25. Since my only 5529LP was confirmed no longer functioning properly and the likely cause is the USB hub module, there have been some thoughts going through my mind to salvage the core 5529 device on the LP for some good use. And this weekend I have decided to give it a try. As the USB host part is confirmed not functioning, the first step is to verify the F5529 is still good. The easiest way is to try program it and check if it can run new program. With a good F5529 LP (the new replacement board ordered after the old one retired), I removed all the jumpers between the ez-FET and the targ
  • Create New...