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, MISO1, UCLK1 as in SPI mode? What pins should I hook the CTS and RTS lines from the Bluetooth module to on the MSP430? I have searched all over the place to figure this out and haven't had any luck. Thank you greatly in advance for your time. Mike
Interfacing a UART with CTS/RTS
Started by ●October 11, 2003
Reply by ●October 12, 20032003-10-12
pitbullpc2 wrote: > 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, MISO1, UCLK1 as in SPI mode? No, you use the UART in UART (SCI) mode. > What pins should I hook the CTS and RTS lines from the Bluetooth > module to on the MSP430? The literal answer is that you could hook them to any pins. However RTS is typically a singal from the master, or initiating device so to maximize your system efficiency you use this to control transmissions to the bluetooth unit. Therefore it makes sense to have RTS connected to a port 1 or 2 pin, since these allow interrupt on edge detection. You can then use the interrupt from RTS to set CTS (on any pin) and write a byte to the Tx port. If your system is wired so that the MSP is the initiating device (ie generates the RTS, you have the CTS connected to the interrupt port pin. The original RS232 specs were fairly strict about which piece of equipment was which, but people seem to largely ignore this it seems, and I have seen both options implemented. Al > > I have searched all over the place to figure this out and haven't > had any luck. Thank you greatly in advance for your time. > > Mike
Reply by ●October 12, 20032003-10-12
Out of curiosity, which/whose bluetooth module are you using? --- In msp430@msp4..., "pitbullpc2" <mbergandi@h...> wrote: > 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, MISO1, UCLK1 as in SPI mode? > What pins should I hook the CTS and RTS lines from the Bluetooth > module to on the MSP430? > > I have searched all over the place to figure this out and haven't > had any luck. Thank you greatly in advance for your time. > > Mike
Reply by ●October 12, 20032003-10-12
--- In msp430@msp4..., "Robert" <dal_tx_male@y...> wrote: > Out of curiosity, which/whose bluetooth module are you using? I am using the Infineon ROK 104 001 Bluetooth module. I don't recommend using this module in a design that is only for a personal project for several reasons. The chip is hard to find, the available development tools are very limited and extremely pricey, and it comes in an LGA-87 package (10mm x 15mm, 8x11 LGA, 1.27mm pitch, .8mm dia. pads). Mounting this package requires reflow equipment and a great deal of expertise (or money to have someone else do it). > > --- In msp430@msp4..., "pitbullpc2" <mbergandi@h...> wrote: > > 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, MISO1, UCLK1 as in SPI mode? > > What pins should I hook the CTS and RTS lines from the Bluetooth > > module to on the MSP430? > > > > I have searched all over the place to figure this out and haven't > > had any luck. Thank you greatly in advance for your time. > > > > Mike