EmbeddedRelated.com
The 2024 Embedded Online Conference

MSP UART and TIR1000

Started by Eduardo Zambon in MSP43020 years ago 1 reply

Hi there. I'm using a MSP430F149 in my graduation project and I'd like to ask some questions about the UART and clock generation. The project...

Hi there. I'm using a MSP430F149 in my graduation project and I'd like to ask some questions about the UART and clock generation. The project and the problem: I'm trying to develop an IrDA compliant communication board using the MSP uC. I'm using the TI IrDA Encoder/Decoder TIR1000 and a Vishay Telefunken TFDU4100 transceiver. The TIR1000 is connected to the MSP UART1. Transmission is OK


external uart clock

Started by Mark E. Skeels in MSP43018 years ago 6 replies

I'm trying to figure out what will be the maximum possible clock speed that can be used to clock the MSP430 onboard UART through the external...

I'm trying to figure out what will be the maximum possible clock speed that can be used to clock the MSP430 onboard UART through the external UCLKx pin. To refine that a bit, I'm trying to figure out if I can achieve a higher baud rate than by using one of the various internal clocks to generate BRCLK, since BRCLK is limited to 1/3 of the source clock frequency. I don't understand whe


MSP430F427 SPI and UART

Started by kenneth_kearney in MSP43019 years ago 1 reply

I am using the MSP430F427 and what I want to do is to use both the UART serial port and the SPI port at the same time. Because they are on...

I am using the MSP430F427 and what I want to do is to use both the UART serial port and the SPI port at the same time. Because they are on different pins, I am assuming that this is possible and that I can transmit and receive on both at the same time as with other TI devices. Is this possible and how do I do it? Ken


USART SPI slave + interrupt behaviour.

Started by from...@... in MSP43019 years ago 6 replies

I'm used to edge-triggered PC-like UARTs which give an interrupt "as the parallel buffer becomes empty".... in other words if you set up a...

I'm used to edge-triggered PC-like UARTs which give an interrupt "as the parallel buffer becomes empty".... in other words if you set up a UART for interrupt driven transmit, and enable interrupts, you don't actually see an interrupt until you have given the UART a character, at which point it immediately transfers it to the serial buffer, and interrupts you demanding more...


problem with UART recieve..?

Started by Khubaib in MSP43021 years ago 2 replies

Dear members ! I m using the MSP430F149 microcontroller. I am using the USART1 in UART mode. I am now testing its recieve function on the TI...

Dear members ! I m using the MSP430F149 microcontroller. I am using the USART1 in UART mode. I am now testing its recieve function on the TI MSP- FET430P140 FET tool. SMCLK, as DCO/8 is used as the input clock, which is 92421 Hz (DCO is = 92421 * 8). The problem is that whenever a character is sent to the MSP, it enters into the ISR, but the interrupt flag is not set. Also, the Rx Buffer


Problem with register IE1 (UART TX problem)

Started by iirojan in MSP43018 years ago 11 replies

Hi! I have a problem with UART0 output to my computer (only TX). The MCU I am using is MSP430F169 and I initialize the UART with the code at...

Hi! I have a problem with UART0 output to my computer (only TX). The MCU I am using is MSP430F169 and I initialize the UART with the code at the end of the message. I use IAR V3.30A for compiling and debugging (company policy). UART0 works fine for a while, until something like 160-170 characters have been outputted. I have a circular buffer to supply for characters. The buffer setup has w


Re: MSP430F1611 UART Receive Multiple Bytes From PC

Started by Gus Litovsky in MSP43016 years ago 1 reply

That is what I'm trying to do. It is like sending a packet. I don't want to receive any accidental data but well crafted data with a...

That is what I'm trying to do. It is like sending a packet. I don't want to receive any accidental data but well crafted data with a header. ----- Original Message ---- From: Paul Curtis To: m...@yahoogroups.com Sent: Thursday, February 14, 2008 11:57:16 AM Subject: RE: [msp430] MSP430F1611 UART Receive Multiple Bytes From PC Hi, > if(RXBUF0 == 0x


Low error UART communication MSP430F1611

Started by GB in MSP43015 years ago 13 replies

Hey, After some problems with the UART of 115200 with 32kHz (Yes, I know, it's horrible) I am designing a new circuit to have a 8MHz crystal...

Hey, After some problems with the UART of 115200 with 32kHz (Yes, I know, it's horrible) I am designing a new circuit to have a 8MHz crystal (or so) since from what I understand that's the only way to really have very low errors. I experienced horrible errors using just the 32kHz crystal. I would like to have your opinions, since many of you are very experienced, what would be the best: 1) Ju...


Programming flash through UART port?

Started by Ali Movahedi in MSP43021 years ago 4 replies

Hi All, I have a question please. Could we program MSP430F*** through uart...

Hi All, I have a question please. Could we program MSP430F*** through uart port? Thanks, John. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com


Interfacing a UART with CTS/RTS

Started by pitbullpc2 in MSP43021 years ago 3 replies

Hi all! I have gone through the entire 5K+ posts in this group and did not find the answer to my question. I think it is a good one, so...

Hi all! I have gone through the entire 5K+ posts in this group and did not find the answer to my question. I think it is a good one, so here it goes. I am trying to interface my msp430F149 with a bluetooth module through the UART1. The Bluetooth module's UART uses a 57600 Baud rate, 8n1, with CTS/RTS flow control. Now, my question is, how do I interface the two? Do I use the SIMO1


UART data corrupted over time?

Started by merapcb in MSP43014 years ago 9 replies

In a board I have, there is a UART that is used to send data to a PC. When connected and running, sending data every few seconds, after about...

In a board I have, there is a UART that is used to send data to a PC. When connected and running, sending data every few seconds, after about 1-1.5 hours, the data is corrupted (meaning one or more bytes get corrupted or missing). I have another board (which I did not make) where it runs fine for very long time. My question is, what can be the cause for this time-based corruption? The code I am ...


Please debug Timer_A UART on MSP430F1232 P1.2 RX P1.3 TX

Started by andrei_lucec in MSP43019 years ago 14 replies

Hi everybody, I'm a newbee on MSP 430. Can anybody debug my code and tell me why this ain't working? MSP 430 F1232 P1.2 Rx from PC P1.3...

Hi everybody, I'm a newbee on MSP 430. Can anybody debug my code and tell me why this ain't working? MSP 430 F1232 P1.2 Rx from PC P1.3 Tx to PC LFXTCLK 4,00000 MHz #include #define RXD 0x04 // RXD on P1.2 #define TXD 0x08 // TXD on P1.3 ******************************** // Conditions for 9600 Baud HW/SW UART,


S/W UART Problem on MSP430F4250

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

Hello, I am trying to make p1.3 on MSP430F4250 to work as a Uart TX. The attached code configures the p1.3 using Timer_A3. Attached code...

Hello, I am trying to make p1.3 on MSP430F4250 to work as a Uart TX. The attached code configures the p1.3 using Timer_A3. Attached code supposed to output 0x55 on P1.3 of MSP430F4250. But the output on the pin always stays at high. I tried sending out 0x00 but still i only see a high on the output. Any words of wisdom appreciated. Thanks Nirosh --------------- #include


MSP430F5419 problems with UARTs

Started by "veronica.cris" in MSP43014 years ago 1 reply

I'm trying to configure the 2 uarts, I wanna receive serial data in UCA1Rx and I wanna send this data with UCA2Tx. I'm learning about configure...

I'm trying to configure the 2 uarts, I wanna receive serial data in UCA1Rx and I wanna send this data with UCA2Tx. I'm learning about configure UART, I never work with MSP430 before. I know this code is wrong, if someone could show me what is wrong. //uart 1 UCA1CTL1 |= UCSWRST; // **Put state machine in reset** UCA1CTL1 |= UCSSEL_1; // CLK = AC...


Timer_A UART without turn off CPU don't works...

Started by Ederson Cichaczewski in MSP43018 years ago 1 reply

Please, does somebody know why this code below don't works? What significant change the LPM mode makes in code beyond of turns off CPU? ...

Please, does somebody know why this code below don't works? What significant change the LPM mode makes in code beyond of turns off CPU? Thanks, Ederson //****************************************************************************** // MSP-FET430x1x Demo - Timer_A UART 9600 Echo, HF XTAL ACLK // // Description: Use timer_A CCR0 hardware output modes and SCCI data latc...


UART problem msp430f149

Started by dimitrisgavrilis in MSP43021 years ago 1 reply

Hello, I am using mspgcc with msp430f149 microcontroller. I ma currently trying to send/receive data from the msp430's uart. Although the...

Hello, I am using mspgcc with msp430f149 microcontroller. I ma currently trying to send/receive data from the msp430's uart. Although the transmit part is functioning normally, when i try to send data from the msp430 to the pc, most of the data are lost and those that are not, are not right (seems like a baud rate problem). The initialization and receive routines are: void USART0_Init()


UART problem

Started by hragsarkissian in MSP43015 years ago 5 replies

Hi, I am working on a small UART program using wireless transmitter and receiver. I have on one end a transmitter connected to an msp430...

Hi, I am working on a small UART program using wireless transmitter and receiver. I have on one end a transmitter connected to an msp430 along with some pushbuttons. each pushbutton sends a specific character throuh the transmitter. On the receiving end, i have a receiver connected to another MSP430. the wireless part works fine. I would like an LED to turn on when the first pu...


software UARTs, Timer_A UART

Started by Brian C. Lane in MSP43021 years ago 2 replies

In the interest of trying to cram as much into a small package as possible, I'm now looking for the minimum msp430 that can do the following: ...

In the interest of trying to cram as much into a small package as possible, I'm now looking for the minimum msp430 that can do the following: Minimum 38.4k full duplex serial port (mostly transmit) SPI port, as slave. 9600bps full duplex serial port (mostly receive though) I'm reading through the TI Timer_A UART app note, figuring out how this could be setup, but I thought I'd as for


MSP430F168 and UART RX interrupt handling issues when not using LPM

Started by mtxelectronics in MSP43015 years ago 5 replies

Hi, I am having a little issue with using the interrupt service routine to read a byte from UART1 of the MSP430F168 MCU.I am trying to create a...

Hi, I am having a little issue with using the interrupt service routine to read a byte from UART1 of the MSP430F168 MCU.I am trying to create a buffer of all data received through UART1 but what is happening is that after I regularly service the interrupt this will continuously repeat itself even if I don't send any data to the UART. In the MSP430x1xx user's guide on page 13-18 I read: "USART ...


MSP430F427 Software Serial Port

Started by kenneth_kearney in MSP43019 years ago 1 reply

I asked the question last week about having an SPI and a UART port on the MSP430F427 and the answer I received was that there was only...

I asked the question last week about having an SPI and a UART port on the MSP430F427 and the answer I received was that there was only 1 hardware function to support either but not both. What I would like to do in that case is to implement a software UART port with a hardware SPI port. I found application note SLAA078A that details how to implement it using assembler but I'm wondering if an



The 2024 Embedded Online Conference