EmbeddedRelated.com

USCI I2C and UART concurrent operation, is it possible?

Started by apcjw in MSP43015 years ago 1 reply

Page 13-24 of the MSP430x2xx User guide shows example code, which if written in C would look like this for USCIA0 and USCIB0...

Page 13-24 of the MSP430x2xx User guide shows example code, which if written in C would look like this for USCIA0 and USCIB0 //---------------------------------- // USCIA0_TX USCIB0_I2C_DATA_ISR //---------------------------------- #pragma vector = USCIAB0TX_VECTOR __interrupt void UART0TX_isr (void) { if( IFG2 & UCA0TXIFG ) { // do the UART transmit processi...


MIDI Interface--UART-reading of 24bit

Started by kumtsch in MSP43018 years ago 1 reply

I would like to read a 24bit Signal (MIDI) with the UART, but it seems that the UART is only able to read 8 bit a time?? Is it possible to...

I would like to read a 24bit Signal (MIDI) with the UART, but it seems that the UART is only able to read 8 bit a time?? Is it possible to read more than 8 bit a time?? could someone show me a possibility to read only one bit a time?? thanks kim ------------------------ Yahoo! Groups Sponsor --------------------~--> =20 Home is just a click away.=A0 Make Yahoo! your home page now. ht


Re: MSP430F1611 UART Receive Multiple Bytes From PC

Started by gusgl2001 in MSP43016 years ago 5 replies

I appreciate your sense of humor. My question is, if the UART RX interrupt is supposed to be called every time that a character is sent, then...

I appreciate your sense of humor. My question is, if the UART RX interrupt is supposed to be called every time that a character is sent, then what could cause the interrupts to be ignored and an interrupt to only be triggered for the last character in a sequence? --- In m...@yahoogroups.com, One Stone wrote: > > Some of the questions here are more along the lines of: > >


S/W UART Implementation Question

Started by "Nirosh P. Wijayaratne" in MSP43017 years ago 8 replies

Hello, I am trying to implement a s/w UART @ 9600bps. I am sending a keypress from hyperterminal and am expecting to see it echoed back....

Hello, I am trying to implement a s/w UART @ 9600bps. I am sending a keypress from hyperterminal and am expecting to see it echoed back. However, I am receiving random characters. Once in a while, I will receive the expectected character. Some characters seem to be better than others. For Example 'Q, O, W' is echoed 60% of the time whereas 'I' will rarely appear. Whether any correct characters ...


DCO calibration

Started by SBurck in MSP43022 years ago 9 replies

I'm on a project where we have an MSP430F149 - and a need to use a UART at 115,200kpbs. To enable this, we took a 16,392MHz signal on the...

I'm on a project where we have an MSP430F149 - and a need to use a UART at 115,200kpbs. To enable this, we took a 16,392MHz signal on the board, divided it by 4, and gave it to the MCU as its MCLK or SMCLK (depending on the version), and as its UART 0 clock, to get the required baud rate. We do this, and it works fine. It is the ONLY reason we need the 4MHz signal - we have a 32KHz c


Data Transfer through UART of MSP430FE427

Started by seshuram_vadapalli in MSP43017 years ago 1 reply

I need to send some data from MSP430FE427 to hyperterminal through UART.I used the P2.4 as TXD. The output is always ...

I need to send some data from MSP430FE427 to hyperterminal through UART.I used the P2.4 as TXD. The output is always ________^^^^^^^^^}}}}}}}uuuuuu}__________ggggggggvvvvvv Why I am not getting the given Input as ouptput? Pl Help me. regards, Seshuramv /******************** main.c ***************************/ main() { InitUART...


UART transmit a CTRL-Z

Started by hc08jb8 in MSP43019 years ago 3 replies

Hello Guys Quick question, how does one transmit a CTRL-Z keystroke via the UART? sending ^Z doesnt help, is there a hex code or someother...

Hello Guys Quick question, how does one transmit a CTRL-Z keystroke via the UART? sending ^Z doesnt help, is there a hex code or someother way of getting this done? Thanks Jay


MSP430 Application UART under Linux

Started by Johan Compen in MSP43016 years ago 3 replies

Is it possible to get the virtual serial port ("MSP430 Application UART") of the eZ430-RF2500 working under Linux? It seems there is no Linux...

Is it possible to get the virtual serial port ("MSP430 Application UART") of the eZ430-RF2500 working under Linux? It seems there is no Linux driver for the eZ430-RF2500 itself, but there is a driver for its older brother, the MSP430F2013: http://focus.ti.com/docs/toolsw/folders/print/ez430-f2013.html * Supports MSP430 Application UART allowing serial communication to PC * Supports eZ430-T...


available bootloaders

Started by davep575 in MSP43018 years ago 7 replies

Is there any bootloader source code available anywhere that will allow me to program a device through a uart? The user won't have access to...

Is there any bootloader source code available anywhere that will allow me to program a device through a uart? The user won't have access to the /RST or TEST pins, so everything must be done through a uart. ------------------------ Yahoo! Groups Sponsor --------------------~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/CFFolB/TM


MSP430F1611 - UART

Started by Sebastian Popa in MSP43016 years ago 1 reply

Hi all, I am trying to get the UART mode working. My setup is: - MSP-TS430PM64 (with the optional 32 kHz external crystal...

Hi all, I am trying to get the UART mode working. My setup is: - MSP-TS430PM64 (with the optional 32 kHz external crystal oscillator installed) - MPS-FET430UIF Debug-Interface - Code Composer Esentials 3 - a level converter for RS232 (http://www.tildesign.nl/rs232_ttl_converter-20107101P2N)) - and a one-to-one serial cable I am using the sample code from TI. However, I do get...


interrupt simulation on IAR workbench

Started by Saira in MSP43013 years ago 2 replies

hi! i am a final year student working on project based on MSP430f5437. we are tring to build a pulseoximeter following besed on the design given...

hi! i am a final year student working on project based on MSP430f5437. we are tring to build a pulseoximeter following besed on the design given on TI site but with a few alterations and added applications. we need to check a simple C code that configures the uart, adc and the timer and is used to sample the input at 1024sps and transmit the samples via uart. the problem is that we cannot figure...


Internal pull-up on UART Tx?

Started by merapcb in MSP43014 years ago 1 reply

Is there an internal pull-up on the UART Tx (both of them) of the 1612? I did search the datasheet and found that only JTAG has internal...

Is there an internal pull-up on the UART Tx (both of them) of the 1612? I did search the datasheet and found that only JTAG has internal pull-ups. Need to decide if I need an external pull-up resistor for the UTXD0/UTXD1 lines. Thanks ------------------------------------


MSP430 ADC & UART

Started by Taimoor in MSP43018 years ago

Dear all, I am completely new to the use of MSP430 family micro-controllers but I need to develop an application that utilizes the...

Dear all, I am completely new to the use of MSP430 family micro-controllers but I need to develop an application that utilizes the MSP430(F449) ADC and UART. I have 4 analogue inputs that need to be converted and then sent over the USART over RS-232. I am using IAR Embedded workbench. From the examples that I could get from the TI web-site, I am able to do 'something'. i.e. I can utili


UART Response Problem

Started by matthewolsthoorn in MSP43017 years ago 20 replies

Hi, I've been trying to setup the UART on my MSP430f149 using the sample code given. I haven't had much luck. I'm not sure exactly what's...

Hi, I've been trying to setup the UART on my MSP430f149 using the sample code given. I haven't had much luck. I'm not sure exactly what's going on. The code I used is exactly the C example code provided by TI shown below. However, the interrupt never gets called. (I've send data directly into the receive pin). I tried to just pass data into the transmit pin but nothing ever shows up on th...


UART and ez430F2013

Started by horned_cow in MSP43017 years ago 2 replies

First of all, a little preface - I am trying to develop a program that will read data from a car's computer (I have a RS232 compat. scan tool),...

First of all, a little preface - I am trying to develop a program that will read data from a car's computer (I have a RS232 compat. scan tool), format the received data, and then output the formatted data to a LCD display (Also RS 232). A friend recommended the 2013 as a good platform. However, after doing some research it seems that the 2013 does not support UART in the same way as the ot...


DCO Jitter and Effects on UART

Started by James Joyce in MSP43014 years ago 3 replies

Hey everyone, This is a continuation of my UART issues. When I look at the clock output of the MSP430F1611 after I set it to 4Mhz using a...

Hey everyone, This is a continuation of my UART issues. When I look at the clock output of the MSP430F1611 after I set it to 4Mhz using a 32kHz crystal I see a very large jitter. In fact, the signal looks like a square wave and at the same time there are "shifter versions" of it around what would be the 4Mhz signal. My oscilloscope measures the frequencies to be between 3.85MHz and 4.1...


Missing uart.h for msp430-413stk.asm

Started by ryanker1 in MSP43021 years ago 4 replies

I recently downloaded msp430-413stk.asm from the Olimex website. When I try to assemble it, I get an error because it can't find uart.h. ...

I recently downloaded msp430-413stk.asm from the Olimex website. When I try to assemble it, I get an error because it can't find uart.h. Does anyone know where I can get a copy of the file? Thanks, Ryan


MSP430F169 UART problem

Started by lewis in MSP43018 years ago 1 reply

Hi i have a simple pgm for UART Rcv/transmit .I am able to transmit data (checked on the oscilloscope). I have short cktd the Tx/Rx pins but...

Hi i have a simple pgm for UART Rcv/transmit .I am able to transmit data (checked on the oscilloscope). I have short cktd the Tx/Rx pins but am not able to recieve any Rx interrupts . I have pasted the code below. Please advice. Thanking you. Lewis /////////////////////////////////////////////////////// void CfgUART(void) { // P3DIR |= BIT5; // P3SEL = BIT4 +BIT5;


UART receive interrupt wake-up from LPM3 question

Started by Joe Rushlow in MSP43021 years ago 2 replies

I have browsed the archived messages with no luck on this matter but hopefully someone can help me out. I am having a problem regarding...

I have browsed the archived messages with no luck on this matter but hopefully someone can help me out. I am having a problem regarding LPM3 and waking up by a received character on the UART. I am trying to determine the correct use of the URXSE bit in the UTCTL register. Basically the behavior is this: During active mode(AM) the receive ISR appears to work perfectly. I can send ch


Msp430F2274: How to use UART without interrupt?

Started by xiang_yi_zhang in MSP43015 years ago 5 replies

I know that for MSP430fg439, there is a way that u can transmit or receive data without using interrupt enable. ME can replace IE. I try to...

I know that for MSP430fg439, there is a way that u can transmit or receive data without using interrupt enable. ME can replace IE. I try to find the same way in MSP430F2274, but i cant. Is there any method to be in the UART mode in MSP430F2274 without interrupt? Where can i find this kind of sample code? TKs in advance! ------------------------------------