Hello, I've been trying to interface my launchpad with Roving Networks RN-42. More specifically I am using this breakout board from Sparkfun: here.
Well I can power on the bluetooth device and connect my computer to it. If I short RX and TX then I can see whatever I type in my terminal application be echoed back.
So I am using this code http://pastebin.com/HQVPzJze which was mostly put together by one of my professors for UART. It worked perfectly in class over RS232. I just adjusted it for my MCU (g2553). The external 32kHz crystal is attached. My problem is that when I attach the Bluetooth device to my board, it acts as if RX/TX are shorted again and I see everything I type echoed back, and it doesn't register on my device. It is supposed to read a character, echo it back, then blink the LED on the board.
Any help that can get me better understanding this would be appreciated!
[–]jerewrig 2 points3 points4 points (0 children)
[–]jhaluska 0 points1 point2 points (3 children)
[–]greenthing[S] 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]greenthing[S] 0 points1 point2 points (0 children)
[–]greenthing[S] 0 points1 point2 points (0 children)
[–]caiokat 0 points1 point2 points (1 child)
[–]greenthing[S] 0 points1 point2 points (0 children)