Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Problem with UART and Bluetooth module

$
0
0

I'm trying to communicate an MSP430 to my laptop through a KC-21 module. Below is a capture of the data with the msp430 using a 115200 baudrate.

 

angulos-con-bt_1152001.png

 

As you can see it has some issues. I tested a few things:

Sending data with the msp430 at 115200 and an FT232 => THIS WORKS OK

Sending data from the computer through the FT232 to the BT module and back to the PC, all at 115200 => THIS WORKS OK

Sending data with the msp430 at 9600 and the BT module => THIS WORKS OK

 

So it seems that the problem is isolated to the MCU working at 115200 with the module.

I had problems in the past with BT modules, the problem was an inprecise baudrate. Could this be the case? The baudrate slowly drift and eventually is bad enough to confuse the module. How do you think I could test to find out if that the case? How do you think I could fix it?


Viewing all articles
Browse latest Browse all 2077

Trending Articles