EmbeddedRelated.com
The 2024 Embedded Online Conference

Send A/D results to rs232 through uart

Started by Eugene in MSP43015 years ago 7 replies

Hello, I apologize if this question was answered already, I could not find the answer. Perhaps someone can point me to it. I'm using 430F5438...

Hello, I apologize if this question was answered already, I could not find the answer. Perhaps someone can point me to it. I'm using 430F5438 with FTDI's UART > RS232 converter (FT232R). I connect to it using PuTTY client. I do A/D and send it to RS232 through UART: UCA2TXBUF = (char)ADC12MEM0; and instead of a number I see an ASCII character. My question is how to send a number i


Swapping baud rate on hte UART on hte fly

Started by Steve in MSP43019 years ago 1 reply

HI all In my code I swap the baud rate on my UART dependant on what sensor I am sampling. Usually from 38400 to 9600 and then reset it...

HI all In my code I swap the baud rate on my UART dependant on what sensor I am sampling. Usually from 38400 to 9600 and then reset it once sampled. The different sensors are connected to various drivers and then routed through an addressable mux to UART1. The logic is then TTL but the baud rates match the sensor. However, I have noted that the UART sometimes hangs between changes me


MSP430F417 UART

Started by mikenz88 in MSP43016 years ago 7 replies

Hi There, Is it possible to use the Boot Strap Loader (BSL) interface for device communications as well as programming? Otherwise I have...

Hi There, Is it possible to use the Boot Strap Loader (BSL) interface for device communications as well as programming? Otherwise I have the application note for using a timer to create a UART Cheers Mike


EZ430-RF2500 USB dongle messed up UART output

Started by thanhtranhd in MSP43016 years ago 5 replies

Hello all, I have this weird problem with the USB dongle of the 430-RF2500 kit. The string output from the UART of the RF unit to the PC is...

Hello all, I have this weird problem with the USB dongle of the 430-RF2500 kit. The string output from the UART of the RF unit to the PC is good, but the USB dongle UART -> USB makes the text appear like this: - ----------------------------------------------- **** **** e Z34-0FR5200 k* * ******o** * T mepretaru eeSsnroN tewro 7 ******_*///*_** * oCypirhg t200 ****


What is the max baud rate of the UART?

Started by marquishk in MSP43020 years ago 8 replies

Dear all, I have question about the UART. What is the max baud rate of the USART in MSP430? By the way, I have to communicate with a...

Dear all, I have question about the UART. What is the max baud rate of the USART in MSP430? By the way, I have to communicate with a 16C550 UART (by TI). Is it possible to have a baud rate higher than 115200? Thanks, Marquis


uart tx fails at 115200 speed.

Started by t_aaltio in MSP43019 years ago 6 replies

I'v a strange problem when using UART in msp430f149. At lower speeds UART works ok, but at at 115200 speed it sends duplicate characters....

I'v a strange problem when using UART in msp430f149. At lower speeds UART works ok, but at at 115200 speed it sends duplicate characters. Below is a test (after initializing), which should result msp430 sending character "*". insted it sends "**". dint(); TXBUF0 = '*'; while(1); According to debugger (gdb) code executes as inteded. Have ever seen this kind


USCI UART locks up and stops receiving data

Started by Grant Edwards in MSP43016 years ago 4 replies

I'm using an 'F2370 USCI A0 UART and it works fine most of the time, but it regularly stops receiving bytes. If I reset the UART and then...

I'm using an 'F2370 USCI A0 UART and it works fine most of the time, but it regularly stops receiving bytes. If I reset the UART and then un-reset it, it will start to receive again. I'm polling for this condition: (IFG2 & UCA0RXIFG) || (UCA0STAT & (UCFE|UCOE|UCPE|UCBRK|UCRXERR)) And it will it work for 10-20 messages (each message is about 20 bytes long), and then in the middle of...


Software UART with MSP430F149

Started by in MSP43020 years ago 16 replies

Hi, I have problem with software UART on F149 uP. Why software? I have big project, and USART1 is used at this time, and it always must be...

Hi, I have problem with software UART on F149 uP. Why software? I have big project, and USART1 is used at this time, and it always must be enabled, USART0 i use too, but in SPI mode, and this one must be enabled all time too. I need an second UART (not SPI). Help! Any suggestions ? Cris


MSP430F149 UART Demo Code

Started by andre_chouinard in MSP43019 years ago 1 reply

I'm new to the MSP430 and I'm trying to familiarize myself with the USART in UART mode. I figured a good start would be to step through...

I'm new to the MSP430 and I'm trying to familiarize myself with the USART in UART mode. I figured a good start would be to step through some sample code. When I run the MSP430F149 UART Demo Code in the files section of this group, it just hangs at the call to function INITIALISE_BASIC_CLOCK() When I step through this function, the Quadravox AQ430 throws an error at line: BCSCTL


maximum uart speed

Started by cm in MSP43021 years ago 13 replies

Hi Group, how fast can I run the UART on a MSP430? 230,4 kbit/s? ...? cm

Hi Group, how fast can I run the UART on a MSP430? 230,4 kbit/s? ...? cm


printf to UART - Revisited - CCSv4

Started by Jim in MSP43013 years ago 22 replies

I have spent a lot of time trying to get printf() linked to my low-level output-to-uart routines, and failed at several different methods...

I have spent a lot of time trying to get printf() linked to my low-level output-to-uart routines, and failed at several different methods touted on this and other forums/user groups. I finally arrived at a working solution using sprintf() and MyPuts() (my low-level output routine). Porting a rather large program from IAR (where I had replaced the write() routine to get printf to uart) ...


Timer UART with parity

Started by Ederson Cichaczewski in MSP43018 years ago 3 replies

Have somebody implemented Timer_A UART with parity bit verification or coul= d tell me a tip to do it? I am using MSP430F123 and I need to use...

Have somebody implemented Timer_A UART with parity bit verification or coul= d tell me a tip to do it? I am using MSP430F123 and I need to use two serial interfaces, one is SPI= (using USART I/O) and other is the software implemented Timer_A UART. I ha= ve to read serial data that is provided with odd parity bit, so the Texas e= xample code does not tell how to implement parity bit check. ...


Clock Source Problem

Started by SoneR in MSP43015 years ago 3 replies

Hello, I am using Timer Module, UART Module and WDT+ of 430F2370 microcontroller. When I try to use different clock sources for these modules,...

Hello, I am using Timer Module, UART Module and WDT+ of 430F2370 microcontroller. When I try to use different clock sources for these modules, I observed different responses from the system. If I use ACLK for the UART Module and SMCLK for the others (WDT+ and Timer) , the system works properly. However If I switch to SMCLK for UART, the system shows some inconsistencies. Besides, If I...


UART in SPI Mode and MultiMediaCard (MMC) ?

Started by Anonymous in MSP43021 years ago 3 replies

Hi, i want to use a MultiMediaCard (MMC) with the UART of a MSP430 but i could not find all ports. The MMC has CS, DataIn, Clk and DataOut...

Hi, i want to use a MultiMediaCard (MMC) with the UART of a MSP430 but i could not find all ports. The MMC has CS, DataIn, Clk and DataOut while the UART has SIM0, STE, SOMI and SCLK. It's clear that i have to take SCLK as Clk but what do i have to connect to CS, DataIn and DataOut? Best regards Rolf Freitag


UART:can't RX a continuous stream of data , if "ABCDHEFG" is Tx'd , Rx'd is "A"

Started by Abhay in MSP43013 years ago 3 replies

Hi I am having some issue with my UART code . I can't RX a continuous stream of data , if "ABCDHEFG" is Transmitted , Received stream of data...

Hi I am having some issue with my UART code . I can't RX a continuous stream of data , if "ABCDHEFG" is Transmitted , Received stream of data is "A" Here is my code , it would be great if anyone can point out any faults /* * File: uart.c * Purpose: Serial interface functions */ /* *header files */ #include #include #include


MSP430 SPI interface with MAX3111E on UART for RF link

Started by sks18121980 in MSP43013 years ago 2 replies

Hi all, I am tryin g to establish communication between MSP430 via SPI to MAX3111E UART. The MSP430(System controller) is the master and...

Hi all, I am tryin g to establish communication between MSP430 via SPI to MAX3111E UART. The MSP430(System controller) is the master and communicates on SPI with UART on MAX3111E . MSP430 is the master and I am using 3 wire mode with CS to control SPI commn. The flow of the communication is like this CS low Write to MAX3111E configuration register (16 bit) - to set the baud rate etc CS...


UART without Start- and Stopbits?

Started by erikmagna in MSP43022 years ago 9 replies

Hello All, Is it possible to use the UART without a start- and stopbit? So can I shift out bits continuously at 115k2 bps (a-synchronous)....

Hello All, Is it possible to use the UART without a start- and stopbit? So can I shift out bits continuously at 115k2 bps (a-synchronous). hope you can help me. Erik


UART question

Started by hragsarkissian in MSP43015 years ago 6 replies

Hi guys, I need some help. I am implementing a UART where i receive some bits from an RF receiver. The msp430 goes in LPM interrupt and waits...

Hi guys, I need some help. I am implementing a UART where i receive some bits from an RF receiver. The msp430 goes in LPM interrupt and waits until RXBUF receives something. Once it gets something, it will then proceed and follow the code. I would like to implement some sort of time out so that after, say 5 seconds if nothing happens then exit the interrupt and resume with the rest of the c...


TI Example on msp430F2012 UART

Started by jpfrolic in MSP43016 years ago 2 replies

There has been some discussion on the UART using the DCO. And a little more which got a little on the unfriendly side so was a bit shy getting...

There has been some discussion on the UART using the DCO. And a little more which got a little on the unfriendly side so was a bit shy getting into this but what the heck! I have had several problems with the software example provided by TI in the sample code in C. I cannot get the receive section to work and in desperation I just wrote my own bit bang code which does not take advant...


communication between two msp430 devices sing uart

Started by pari...@gmail.com in MSP43015 years ago 10 replies

hi everybody i have tedious problem with two msp430fg439 device .My purpose is achieving cummunication between them using their usart module in...

hi everybody i have tedious problem with two msp430fg439 device .My purpose is achieving cummunication between them using their usart module in uart mode by the way this microntrollers are in their development board, that is i did not work out any pcb for them. Any way... i m using cce v3.2 core edition i simple connected the tx to rx and rx to tx between two micro. i write firstly any char...



The 2024 Embedded Online Conference