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. Hi to all, are you interested in assembler language programming? if so, this could be of interest to you. the basic idea is a 5kB kernel embedded on a MSP430FRxxxx, capable of downloading source files, interpreting and compiling them. Associated with a minimalist IDE: a text editor, a generic preprocessor and a terminal to communicate with the embedded kernel. What is the craziest wish of a microcontroller programmer? In my opinion, it would be that once his source is modified, he clicks on the "build" shortcut of the editor and in a second, the program is compiled on the targ
  2. Hello, I'm trying to set up the backchannel UART on the MSP430FR2355 launchpad so that it echoes back the characters I send it. I believe I've configured the UART on the msp430 correctly for 4800 baud. Please see the attached main.c.main.c.4800 When I try to send characters after opening a UART connection, I just see question marks. I'm stumped. I'm using mspgcc, mspdebug, and linux for what it's worth.
  3. I can't use UART to communicate with the module.This display module is from https://www.stoneitech.com/product/by-application/industrial-type I tried different serial port applications, such as SSCOM, RealTERM, and SerialPlot, but nothing changed. I don't know what's wrong.
  4. Hello, I'm trying to migrate my old project for MSP430G2452 from Energia 0101E0009 to the last version 1.8.7E21. However I got a lot issues. 1. Controller starts to slow - as I understood the issue is in the enableXtal() function which tries to find clock crystal, which I don't use. I just commented it out in init_clock() directly in core and it helped. 2. Actuall frequency of MCU was incorrect (It is much slower) - found answer on forum here https://forum.43oh.com/topic/13473-blink-example-too-slow/. And now it works as expected. 3. Now I'm trying to use Serial. But i
  5. 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 LE
  6. 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 sen
  7. Hey guys, I'm having some problems with my G2553 Launchpad. For some time now, the UART functionality has not functioned. I'm now sending the character "a" through the HW UART (Jumpers are positioned correctly) and what I get on my computer is completely different. I tried this in Windows 10, W7, macOS Mojave, even through the physical P1.1 and P1.2 ports to a Raspberry Pi and the result is the same. https://imgur.com/a/yd90MIw I also tried receiving data from a GPS module via UART and the data I received was unusable (the length of data was as expected, but the characters were
  8. hai, am working energia at CC3220SF i need to Muti UART Communication , need to Software Serial header File GPIO or Digital Pin it possible to connect UART communication any other Example for Multiuart code at CC3220SF or CC3200 how many UART is possible to connect at CC3220SF THANKS SELVA
  9. I wanted to communicate my cc3200 with tms 57004 microcontroller using uart. So, I have connected uart_rx of tms 57004 to Uart_tx of 3200. uart_tx of tms 57004 to Uart_rx of 3200. Gnd of tms57004 to gndof cc3200. In tms 57004 I have set Baud rate to be 9600 and 1 stop bit and no parity. Can anyone tell me how to configure uart in cc3200. Regards, Gunit
  10. Hi, I'm trying out some UART communication proyects on an MSP430F5529. My question is, what number should I put instead of the x in UCAxCTL0? And where could I find this information next time (already tried the User Guide)? Thanks.
  11. I am currently trying to read a couple of parameters from onboard sensrs on TelosB, then print out on monitor which I am using PuTTY. However, I am not getting any values here. Please could some on hlep me out? I attached my code and corresponding datasheets too THank you 00std_temp.c msp430f1611.pdf telosMote.pdf
  12. Hi, How can I use UART interrupt in Energia? I tried but could not find any example or sample work.
  13. Dear Developers, I want to send data from MSP430F5529 to my Arduino Nano through UART connection. But somehow it is not working filne. I have used voltage devider circuit to convert Arduino's 5V to MSP's 3.3V. Connection Arduino's RX -> MSP's TX Arduino's TX -> MSP's RX Ground of Both -> ground of voltage devicer. Code of Arduino : const int chipSelect = 10; String inByte = " "; void setup() { // initialize both serial ports: Serial.begin(9600); } void loop() { if(Serial.available()) { char b = Serial.read(); Serial.println(b); }
  14. 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
  15. Hi, I'm trying send GPS (adafruit Ultimate GPS FeatherWing) coordinates to another location using XBees and then displaying GPS data on an LCD (Sharp 96 Booster Pack) using Energia. This involves 2 pairs of Xbees (4 total 2 different ranges), 3 MSP-EXP432P401R (Black Version), the GPS and the LCD. I wrote some code for the first MSP432 on getting GPS data and getting it to the XBee to transmit to another MSP432 (connected to 2 XBees). Although I haven't been able to test it (GPS and XBees aren't here yet) I feel like it will at least be close if not functional.GPStoXBEE.ino After
  16. Hi I'm new to using both the MSP-EXP432P401R (Black Version) and Energia. I want to attach a GPS (adafruit Ultimate GPS FeatherWing https://www.adafruit.com/product/3133) and an XBee to the micro-controller so I can send GPS data to another MSP432 micro-controller with an XBee. I see I can attach the GPS or XBee to the hardware uart pins 3.2(Rx) and 3.3(Tx) their listed as pins 3 and 4 respectively on the Energia Pin Map (https://cloud.githubusercontent.com/assets/951776/15053945/5f47bac6-1305-11e6-9ab5-c71d425194ce.jpeg) but where can I find two other hardware pins for attaching a second
  17. Hello fellows, I need some help, with a situation, I want convert some analog signals to digital and send him by the UART communication, but I dont get how to solve this problem. my digital values is represented by "tempADC" variable, soo how can I get a buffer with values to the pc with UART communication. I try many things, but i dont understand how to put my output signal in the terminal in this format. temperature: 40º temperature: 41º temperature: 42º temperature: 43º can anyone help me?! my code: #include "uart_Tx.h" #include "stdio.h" void UART_TxConfig
  18. Hello, We are planning to do work on CC3200MOD LaunchpadXL. So, CC3200 GPIO/UART/ADC Energia IDE based header files can compatible in CC3200MOD? I also some confusion regarding Energia IDE based header file.Please mention below description. If you see pin_energia.h file in one array initialize for CC3200 LaunchXL like this, const uint16_t digital_pin_to_pin_num[] = { NOT_A_PIN, /* dummy */ NOT_A_PIN, /* 1 - 3.3V */ PIN_58, /* 2 - GPIO_03 */ <- pins_energia.h (CC3200) *Note : In CC3200MOD PIN_58 = GND PIN_04, /* 3 - GPIO_
  19. 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
  20. 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.
  21. Hi, I am new to CC3200. Actually I want to use the Uart of cc3200. My application is to read data from a serial transmitter of another device using CC3200 and print the data on the serial monitor of Energia. I saw that there are two kinds:- Serial and Serial1. Can I use serial1 to read the data and then print data on serial monitor of Energia using Serial. Do I need to shift the J6,J7 from flash mode to BP mode?? I have seen the pinmapping. In that I found that Serial 1 is connected on UART1_Rx on GPIO11 i.e. P1-10 of CC3200 launchpad. Do I need to connect the perip
  22. Hello, I want to make a wireless thermometer using two microcontrollers. How do I write the code in Energia to transmit and receive a variable using a 433 Mhz RF module? Transmitter Setup: I have a TM4C123G connected to a RF transmitter using TX(3) pin 34 on the MCU. The TM4C123G is also connected to a LM34DZ Temp sensor. I need help to modify this working code to send the temperature variable using tx(3) pin 34 /*TM4C123G*/ //initializes/defines the output pin of the LM34 temperature sensor int outputpin= A11; // (pin # 2), use A11 analog input //---------------
  23. To simplify debugging, I'm contemplating connecting two serial devices (gps - MT3339 and sat-comm - Iridium 9602 ) to the same RX/TX pins on the msp430f5529lp (port pins P3.3 and P3.4). They are never powered at the same time. This uses Serail1 for GPS fixes and Sat-Comm messages, and leaves Serial free for debug. Are there problems with doing this?
  24. I was reading the Family guide, as well as the F5529 guide and could not really determine how power consumption is affected by the UART in Asynch mode. I expect that baud will certainly play a role, as the core voltage must be increased to run at higher frequencies. The thought behind all of this is driven by wanting to keep battery life at a maximum, of course... My GPS/Iridium Satellite comm device is following this basic flow: loop() switch(currentState) case ENABLE_GPS: { Serial1.begin(9600); digitalWrite(GPS_SleepPin, HIGH); //enable the GPS currentState = WAIT_FOR_GPS_FIX
  25. I tried to change the settings used by UART for Serial or Serial1 on an MSP432 (stopbits, parity etc.). After hours of detective work I now guess the settings are applied by some code of the wiring framework in the emt432 framework. There is much code, but almost nothing of it is used, as most of wiring and the TI runtime seems to be precompiled to binary libraries like the wiring_msp432.m4fg.lib file. There are no Makefiles, nor any references how those binaries are built as far as I can see. So how to fiddle with anything below the Energia provided API? Do I now need external
×
×
  • Create New...