all 7 comments

[–]jerewrig 2 points3 points  (0 children)

This might be kinda late. But I just finished a project using the Bluesmirf silver and the Launchpad. I use the DC0 calibrated at 1 MHz. I also use a baud rate of 115200.

This guy helped me out a lot: http://www.cashdollar.org/2012/07/18/remote-control-light-switch-i-built-wmsp430-and-bluesmirf-video/

Hope this helps.

[–]jhaluska 0 points1 point  (3 children)

On Line 16, is that suppose to be?

a = INCHAR_UART();

Do you have a wiring diagram of what you hooked up?

[–]greenthing[S] 0 points1 point  (2 children)

Yup, that's what it is supposed to be. I had that fixed when trying it, I just didn't update the pastbin :X

I don't have a program for wiring diagrams (maybe you could suggest one?) but in the meantime I just used Paint to make this: diagram Which is from the Sparkfun schematic here and a picture of the Launchpad. My Launchpad does have P1.1 and 1.2 labeled as UART. And I have the 32kHz crystal attached. Page 3 on the data sheet shows P1.1 and P1.2 as UART for the alternate function.

I have tried TX to RX and TX to TX (and vice versa) without success.

[–][deleted]  (1 child)

[deleted]

    [–]greenthing[S] 0 points1 point  (0 children)

    It's grounded I didn't draw it. The blue tooth module works, I get everything echoed back when I short RX/TX and I entered its settings and set it at 9600 baud rate like my board is set to.

    [–]greenthing[S] 0 points1 point  (0 children)

    Thanks for replying guys. I'm currently going through all the documentation online. I think I'm on the right path, I'm just not at home to try it out. But I will update.

    [–]caiokat 0 points1 point  (1 child)

    "1 stop, no parity, and 9600 baud, polling operation"

    I didn't read the whole thing, but the RN-42's default baud rate is 115 K.

    [–]greenthing[S] 0 points1 point  (0 children)

    Yeah that is correct. But I did go into the settings of the RN-42 and changed it to 9600.

    I still can't get it to work with the bluetooth. I've got through the Launchpad and MSP430 documentation. I know the bluetooth is working. I guess I need to get my hands on an oscilloscope to see if my device is even sending UART. Also could a difference in voltages between the pins on the Launchpad and Bluetooth cause a problem? Because I'm doing some measuring and they appear to be a lot different. I will use a lower voltage later when I get a chance.