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 have a Spikenzie Labs LCD screen with an interface (screen utilizes the HD44780 chipset). I have it connected to an MSP-EXP432P401R (Rev 1.0). I have finally got code working that allows me to write to the LCD screen through the serial monitor, however I can only write to the screen for a short but varying amount of time. Sometimes I can print to the screen for 5 seconds, sometimes only for 1 second before communication cuts out. Here is the code I am using: #include <Wire.h> #include <LiquidCrystal.h> #define addr 0x40 >> 1 void setup() { Wire.begin(); Serial.beg
  2. Apologies in advance for a long post.... First, here is what I am trying to do: I have a MSP430F5529 LP with a dAISy backpack sending serial data at 38400 Baud to a Tiva C LP with a CC3100 backpack. The Tiva C can send debug information to a Windows 10 machine at 115200 Baud. I am using Energia v17. The Tiva C sends NMEA sentences received from dAISy through WiFi to the marinetraffic.com site where the information is posted along with other stations all over the world. If you aren't familiar with dAISy and AIS, here is a screen shot from marinetraffic of ships being tracked by my st
  3. I'm trying to understand the two possible configurations of the headers on the MSP430G2, rev 1.5, at the top near the border between the emulator and the uart. The silk screen seems to indicate that one configuration is appropriate for hardware uart, and the other configuration is appropriate for software uart. I'm wondering, why does it matter? Whether using a software uart or chip with a hardware uart on board, either way doesn't the TX pin of the MSP still need to go to the RX pin of the emulator (likewise for RX-TX) in order to get data back and forth from a PC? And when the d
  4. Hi, I wonder if it is possible to cause a interrupt when receiving serial data. This would have the big advantage to be able to wake up from sleep mode if new serial data is available. By now, serial data is written in the rx buffer even in sleep mode, but afaik it's not possible to notice that in Energia. I found lots of code for CCS for exactly this application, but i'm not able to port it for Energia. Does anybody already has some example code or may help me to make the CCS code working in Energia? Thanks!
  5. All, I have a gps device that outputs several other sensor readings (wind, heading, ect.). All of those strings are output in NMEA format strings. I am able to read these strings and also (with the TinyGPS library) I can parse them to pull what I need. Now the problem, I want to be able to send NMEA strings back at the device in order to tell it to output different NMEA string types. For example, sending "$PAMTC,EN,HDG" should enable the "$HCHDG" string on the device. Or sending "#PAMTC,QV" should query the software version number. My code to read from the device is: C
  6. I've got an F5229LP app that sets SMCLK to XT2 with a divider of 4. (XT2 = 25Mhz crystal, which is also the source for MCLK) When I initialize the clocks, HardwareSerial no longer produces an accurate Baud Rate, and it breaks terminal communication. I see that HardwareSerial.cpp contains: #define SMCLK F_CPU //SMCLK = F_CPU for now I've tried changing it to F_CPU / 4 but the situation did not improve. Here is my recreation code: (Uncomment initClocks(25000000l); and change HardwareSerial.cpp to see it fail) #include <WString.h> void initClocks(uint32_t mclkFreq); void SerialT
  7. My eventual goal is to pass in NMEA GPS strings to our board and use them in our code. For now I am trying to connect a SparkFun venus GPS unit to a TI-MSP430FR5969 board (version 2.0). I am using the SoftwareSerial example: (https://github.com/energia/Energia/blob/master/hardware/msp430/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino) The error message when compiling is that the SoftwareSerial only supports 16MHz processors. My confussion is that the comments in the code make specific mention of having resolved this issue. Additionaly, if i un
  8. Hello, I am trying to have my MSP430G2553 on a launchpad (Rev.1.5) show anything on the serial monitor using the following code: void setup() { Serial.begin(9600); } void loop() { Serial.println("Test"); delay(1000); } I have downloaded the drivers http://energia.nu/Guide_Windows.html I have switched the jumpers http://energia.nu/img/LaunchPadMSP430G2553-V1.5.jpg I'm just not sure what is wrong. I can load the Blink example and get it to work and even making it do other things but when it comes to reading values and serial the launchpad doesn't want to do anything.
  9. I am having trouble getting an external serial GPS device (GY-GPS6MV2) to communicate with my CC3200. I have this pin mapping set-up and I have connected pin 3 on the CC3200 to the TX pin of the GPS device. I have uploaded code that should make a test light turn off if it is receiving data, but the light remains on unless I type into the serial monitor. #define LED RED_LED void setup() { pinMode(3, INPUT); pinMode(4, OUTPUT); Serial.begin(9600); pinMode(LED, OUTPUT); Serial.println("GPS Module"); } void loop() { if (Serial.available()) { digitalWrite(LED, LOW);
  10. Hi all, I have downloaded the energia sdk(version 13) for CC3200 launch pad, I have configured the jumper wire for J8 and SOP2 also the rest jumpers. Apart from that , I updates the firmware , so I have tries all possible ways, but still my serial monitor is not working. The platform is windows.
  11. ive compiled and uploaded my code (below) and when plug my msp430g2553 in it goes to the programmed angle it should when plugged in, but when i run the exe that is supposed to change its angle it doesnt do anything. the exe is programmed to connect to com4, and the msp430 application uart is set to com4. i know the exe can detect it because it wont run unless it can, it just isnt responding. im am using energia 0101E0010 to compile and upload. any help would be appreciated. here is the code: #include <Servo.h> Servo myServo; const int servoPin = 9; // the pin the servo is con
  12. I'm fairly new to specifically MSP430 development, so any help here is appreciated! I'm trying to send data to and from a Raspberry Pi connected over hardware UART. This I've tested and works. I'm also trying to run two servos on the MSP430 and the basic code I have for them has been tested and also works. The problem occurs when I try to put them together as my timer setup must clash somewhere. It seems to me that the serial communication is all set on TA0 while the other timer is set to TA1. I don't understand why this would prevent the UART from sending and receiving. Edit: I'm us
  13. Hi, I am doing the standard Serial.begin(300); // This is what this has come down to ... Serial.println("Hello!"); Works swimmingly under Energia, can't get it to work under ccs v6b Beta. Wonder why? Tried Putty, tried Terminal built into ccs, even tried Energia's serial monitor. Tried different baud rates, different stop bit/parity, all other parameters (well, not combinations obviously). Why does not it work? (Other than this being a Beta) I only need serial for debug, so.. what are other alternatives that would help me debug this? Can I read/write to console? I suppos
  14. I created a quick project to start learning nodejs. To those that are unfamiliar nodejs allows you to write javascript for the server side. So I decided to write a small gui that plots serial data. The GUI itself is written in javscript/html and uses node-webkit to package it into a .exe file (or the correct package for your os). This could easily be extended to visualize a lot more I/O from the launchpad, and given that the GUI is written in html/javascript it is really easy to create new elements. Here is the source: https://github.com/zlalanne/node-serial-gui The repositor
  15. .. finally made the switch and flashed OpenWrt to a TP-Link WR703N router, added a 16G memory flash stick, and connected to my first F5529 LaunchPad. Here is a picture of the setup. The version of OpenWrt is 12.09. To connect with the MSP Launchpad, need to install the acm driver by opkg install kmod-usb-acm And also installed "screen" for serial client by opkg install screen Apart from the missing bridge library that come with the Yun, i'm quite satisfied with this setup, especailly the tiny form factor of the whole package. The LaunchPad seems to enjoy running with her new I
  16. I'm looking for comments and suggestions to make this more generally useful. I have a pile of surplus character line LCDs based on the Hitachi HD44780 chipset. There are oodles of these available surplus, and really cheap, like $2 cheap. The probelm I see for most modern MCUs is that the LCDs are usually 5V I/O (at least for the surplus parts) parallel and chew up a lot of I/O slow so they require a bit of code to poll the display or timed delays to insure reliable operation. I'm not too motivated to reinvent the wheel, but all the options I've found seem to miss a lot. I've seen the Ad
  17. Hi Guys, I am new to MSP430 micro-controller. i have interfaced MTK3329 GPS module to my MSP430g2553 launchpad. i am trying to parse the data string i am receiving at hardware serial pin1_1 and pin1_2. here is my code:i am unable to read complete string . here is what i am getting at serial monitor here is the complete format of GPGLL sentence i am trying to read and store-"$GPGLL,1111.1111,a,yyyy.yyyy,a,hhmmss.ss,A,A*hh" Thanks. <code> char gps[20]; char first; int i; void setup() { // initialize serial: Serial.begin(9600); Serial.write("$PMTK314,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  18. This is very much in progress, and there's nothing fancy about it, but I wanted to share with you what I'm working on at the moment since I'm back into the 430 again after a while in arm/linux land. Only the relay stuff is implemented for now and the master is currently just a test which advances the relay selections by push of the s2 button. Criticism, ideas and insults welcome I would like to do various slave firmwares for sensors, etc and I will be incoprorating also a BBB controller at some point. Code shamefully stolen/modified from TI examples. Master.c //*************
  19. Hi I'm new with energia and I'm trying to use the Hardware serial communication with a Lauchpad Rev. 1.4 so I connect the RX end TX jumpers in cross but it doesn't work...Can anyone help me? this is the simple code I use: void setup() { Serial.begin(9600); } void loop() { Serial.println("Hello !!!"); delay(500); } I try to use also the software serial communication for but it doesn't work
  20. Hello! i made this boosterpack some weeks ago! this is the upgrade of LCD BOOSTERPACK V1 ( http://forum.stellarisiti.com/topic/626-ssd1289-32-320x240-tft-16bit-parallel-interface-touch-libraries/ ). Old version only has parallel control, this new version has improved all things: Serial or parallel, i2c drivers for touch and backlight, better layout... Unlike LCDBPV1, LCDBPV2 is compatible with any MCU in the market. You only have to migrate some basic code about specific i/o of your MCU and is done!! (you have to do if I have not yet done... but if you ask me for this and i have mcu to develop
  21. When the Launchpad was quite new, TI published an Launchpad update program that would make it work with new (at the time) microcontrollers. But sometimes, the update failed, leaving me and others with a useless launchpad. http://processors.wiki.ti.com/index.php/MSP430_LaunchPad_Firmware_Update (BEWARE!) This has been discussed here (43oh.com) and elsewhere http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/p/97931/346074.aspx#346074 and someone in that thread was kind enough to backup his/her Launchpad's firmware: http://e2e.ti.com/cfs-file.ashx/__key
  22. It appears that there is a bug with Energia, some driver, or my computer. When I try to send anything from the MSP430 to my laptop over the serial port, the data gets corrupted in a systematic way. All bits are duplicated in place and then a zero is appended to the end of the bits. For example, if I send across a 1 (0b1), it becomes 6 (0b110), and if I send across a 2 (0b10), it becomes 24 (0b11000). Below, I have a basic Hello World example that captures the problem pretty clearly. Please let me know if you can replicate the problem and/or have a solution. Processing code: import pr
  23. Hello, i would like to control servo with web interface, but instead of turning up/down/right/left with buttons use JS or flash drag'n'drop joystick (http://www.codeproject.com/Articles/594186/Create-a-Cross-browser-Touch-based-Joystick-with-H). Is there any tutorials on this topic? Thanks in advance, Alex
  24. I tried the ASCII Table demo with Launchpad and it seems to work flawlessly. When I recompile for Stellaris and run on the StellarPad at 9600 baud, it works MOST of the time, but occasionally the serial monitor receives garbled text. I thought it might be a problem with the serial monitor, so I also tried using teraterm with the same results. I am using Energia 0101E0009 under Win7.
  25. I'm lovin' the ease of the Energia environment for rapid prototyping but I've run across an issue with some code I'm trying to implement. Here it is with the serial output Program: /* ** Simple program designed to simulate pushing 180 degrees of 10 meter scan times ** for testing of VB.NET GUI ** */ String inputString = ""; boolean run = false; String outString = ""; int i = 0; void setup() { Serial.begin(9600); inputString.reserve(200); outString.reserve(200); } void loop() { if (run) { for (i = 0; i < 179; i++) //Print 10 meter ping times for each scan angle {
  • Create New...