Jump to content
43oh

Search the Community

Showing results for tags 'uart'.

  • 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

  1. Here are the files for my PCB Exposer/Printer, it is the complete package including mechanical design files. The printer itself. Example - a power control PCB for Raspberry Pi - 40 x 40 mm. Code includes driver for MCP4725 DAC, buffered serial port driver, stepper motor control and command parsing for the MSP430G2553 used as the main controller. Code and design files: PCB Exposer - controller code for MSP430G2553.zip PCB Exposer - desktop application.zip PCB Exposer - mechanical design files in Vectric format.zip PCB Exposer - schematics and PCBs.zip Desktop appl
  2. Why on earth would TI engineers use random GPIO pins for the built-in UART BSL instead of RXD/TXD of one of the USCI peripherals?? I mean, in 90% of real world use cases, the likely source of a firmware update, i.e. computer, USB bridge, blue-tooth modem etc., will be hanging on one of the UARTs. Instead they picked 2 pins on the side of the package where all the I/Os are nicely lined up and which therefore most likely would be wired up to all the other stuff. Oh yes, and of course those two pins are exactly on the opposite side of the TEST / BSL enable pin. /rant
  3. I am using TM4C129 Launchpad launchpad and trying to connect XBee Series 2 (S2C) through UART. Looking into the pinout of TM4C129, I am connecting like below XBee TX <---> RX (UART0) XBee RX <---> TX (UART0) XBee 3.3V <---> pin#41 XBee GND <---> pin#62 I use below code on the LaunchPad at Energia void setup() { Serial.begin(9600); //pinMode(13, OUTPUT); } void loop() { Serial.println('H'); delay(1000); Serial.println('L'); delay(1000); } And the below python code runs on my Mac as a coordinator
  4. This is in continuation with this post where I was working with two cc3200 one for transmit second for receive so my Energia code as described in other posted was /* Serial Transmit:*/ and for receive Please note: TX pin (P01) in transmit CC3200 is connected to RX pin (P02) of receiver CC3200 PS: P01 == P1-10 P02 == P1-9 The above is working fine and could see character "c" printed in console Now... when I change the Transmitter code as below where I have replaced "serial1" with "Serial" as shown below ... I'm NOT see any results - what is th
  5. 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!
  6. Hi experts!! I'm a beginner and working on CC3200 LP along with Energia IDE. I'm working on a simple project where I've an external device which has RS485 o/p and I need to fetch the values in specified addr location in that device to CC3200 LP. My doubts are #1) we have external module that has device ID+parameter Address and we need to transmit the value in LP through UART, here I'm not sure how to use the UART function to specifically target device+address and return/get the same.... #2) what I'm looking/exploring is that in above example (UART code which Andy shared here
  7. I want to resend each character from one UART port to another. Hardware: Lauchpad TivaC EK-TM4C123GXL. First port is the default port that is connected to microUSB on the board. The second port is UART2 (Rx = PD6; Tx = PD7) connected to DB9 through MAX3232:. Power is VBUS - GND. DB9 is now connected to computer through RS232-USB adapter. I communicate with 1st serial port through serial monitor in Energia (ttyACM0). I communicate with 2nd serial port through serial terminal in Linux (ttyUSB0). Code is very simple: void setup() { // initialize ports: Serial.begin(9600); //connecte
  8. Hy, I worked on a source half a year ago with an older Energia (I do not know exactly which one.). I was able to acces UartIntHandler and UartIntHandler2() functions directly. As I remember I do not change the content of Energia under OSX. Now I try to modify 1-2 things for example in the startup_gcc.c or hardwareserial.c, but the are not working. Can you help me how could I reach the UART interrupt handlers from Energia? (The setup of UART module worked on CCS or IAR before.) Can I use something like attachinterrupt()?
  9. 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
  10. hi my friends; i work on the msp430fg439 for my project and it has only one spi/uart channel and i used this channel for sd card operation. Now i want to apply uart operation to my code. how can i make a bit banging uart application? In my code, tx and rx pins are useable but timing pins were used. Thanks for your helping...
  11. Hi, I am trying to send data through UART from MSP430G2553 to sensorTag CC2650 and then through Bluetooth we are seeong value on BLESCANNER app we are using SPPBLE server program but we are not getting any data on the app .Can any one help me out as i am still stuck on it..
  12. j UART communication - Can't type anything in PuTTY.
  13. 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!
  14. 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
  15. Hi there! I am not very much experienced in MSP430 platform. I am kind of stuck in a problem. Let me describe my project goal first. What I want to do is: 1) I will input a letter (suppose "K") via serial monitor to my MSP430G2553, 2) Upon receiving the letter, the launchpad will vary the voltage level a GPIO PIN (let's assume P1.4) based on the input, which is connected to an LED, 3) As the LED blinks based on the input bit pattern (K, ASCII value = 75, Binary equivalent = 01001011), one light dependent resistor will read this variation, which is connected to another Launchpad, and stores
  16. Hello! I am a fresh beginner in the domain of embedded systems and this MSP430F5529 is my very first development board. I am now trying to make an ADC conversion and send it through the UART to try a signal treatment algorithm with real-world values. I used an example code in Energia that i modified a little bit: void setup() { // initialize serial communication at 9600 bits per second: Serial.begin(9600); // Comment: I see many people preferring the 115200 BR for this board. // Is there a particular reason for this choice? } // the loop routine runs over and over again
  17. Hi all, I am trying to control the PWM through UART usb serial at high speed, but the micro seems to pick up the input inconsistently(I am trying to create a 100 micro sec pulse using the PWM, but the micro sometimes does not pick up the input). So i am guessing the best way to do it is via interrupt(when the RX picks up any kind of input ), but I have no idea how to implement one. Can someone provide an example code for such application please? Thanks in advance. My Code: #include <stdbool.h> #include <stdint.h> #include "inc/hw_memmap.h" #include "driverlib/adc.h" #in
  18. Dear Sir/Madam, I am trying to use MSP430 to talk with a wifi module using UART, technically, the msp430G2553 does not need to know the ip address for the wifi module, so the wifi module can be considered as another mcu. I have done the hardware and the calculation of voltage received and also converted to a string value. I can also read the values using hardware UART on serial monitor, but I now wants to send the results to the wifi module and check if the wifi module receives it on socket tools. My code are as below: #include <SoftwareSerial.h> // to the pins used:
  19. I've just started to toy around with Digi's XBee S2 ZigBee modules and my Tiva C-Series Launchpad. The XBees receive all their commands from any attached microcontroller via UART. I'm reading through the TivaWare UART API documentation, and it looks like the only function available to send data takes an ASCII character as an input rather than a hex value. Am I overlooking some other function that would take a hex value as an input, or do I have to convert my string of hex "characters" into ASCII first, then use the UARTCharPut() function?
  20. Hi all, I was playing around with the MSP430G2553 and the UART at the weekend, then remembered I had a cheap HC06 bluetooth module. The result being a basic Android app that you can control your launchpad using voice control, it's far from polished but a bit of fun all the same Project tutorial. C code and Android App http://coder-tronics.com/msp430-voice-control-over-bluetooth/ Video demonstration https://www.youtube.com/watch?v=8Z5ixK30Ddc Cheers, Ant
  21. Hi I am using tm4c123gh6pz UART. I am getting Interrupt but while I enable FIFO and try to get interrupt using following command, UARTFIFOLevelSet(UART0_BASE, UART_FIFO_TX1_8, UART_FIFO_RX1_8); for the Receive, I get interrupt after 2 byte. I think Receive FIFO is 12 bit x 16 FIFO. To get interrupt after each byte I have to disable the FIFO. Is there any other way to keep the FIFO and get interrrupt after each Byte. Please let me know Thanks
  22. Just as an FYI - I was concerned about using the built in DCO in the FR5969 for UART because the spec sheet says although it's factory trimmed, it's still +/-3.5%. Generally it needs to be within 2% for a UART to work correctly so I measured the two FR5969's I have on our 2.4GHz frequency counter and this is what I got. 2 is obviously not a big sample size, but the frequency trimmed DCO on the FR series looks pretty good @ room temp and 8MHz or under. I found another doc from TI that's a comparison between F5xxx and FR5xxx and it mentions the DCO is generally within 2% "within a restrict
  23. 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
  24. Hi! I've got a launchpad MSP-EXP430G2 rev. 1.5 (with msp430g2553) and I need to use two pair of UART (2xRx and 2xTx). To be more specific, here's what I have to do: PC transmits 'data' to MSP --> MSP process that 'data' --> MSP transmits 'processed data' to another MCU... PC receives 'processed data' from MSP <-- MSP process that 'data' <-- MSP receives 'data' from another MCU... In short: PC -> MSP -> another MCU -> MSP -> PC Is it possible to do this with that launchpad? If it is, could you hint me some examples? I'm completely new with MSP.
×
×
  • Create New...