RN-42 Recieves Data Only After Disconnect

Hello everyone,

First time poster here. I’m having a very weird issue with the RN-42 BlueTooth Module wich I hope you guys can help me with.

I have the RN-42 connected to a Serial Port Adapter connected to my PC, and I’ve been able to configure it without any problems using Coolterm or Windows Hyperterminal.

I’ve also been able to establish a connection with both another PC that uses a generic BlueTooth USB Adapter and an Androidd Phone using BlueTerm.

The issue that I’m having is the following: after I establish a connection, I’m able to send data to my PC or Android Phone from the RN-42 and the data is inmediatly shown in the other device. However, when I send data from my PC or Android Phone to the RN-42, nothing is shown. But the werid thing is that when I close the connection manually, all the data I sent is shown right away. (For example if I send “hello” to the RN-42, the module only sends it through the TX and then is showed to me after I close the connection).

What I need is obviously to recieve that data when it is sent, rather than recieving all the data at once after I close the connection.

The problem is definetly the RN-42, because I’ve connected it to a MSP420F5529 over UART (for the proyect I’m working on) and the same problem comes up.

I dont’ know if it is a configuration issue (I tend to think it’s not), but I leave you the actual config anyways:

Settings

BTA=00066643044C

BTName=TuRN42MasAsikalao

Baudrt=9600

Parity=None

Mode =Slav

Authen=0

Encryp=0

PinCod=0000

Bonded=0

Rem=5CB524C82CA5

ADVANCED Settings

SrvName= SerialPort

SrvClass=0004

DevClass=0210

InqWindw=0100

PagWindw=0100

CfgTimer=60

StatuStr=NULL

?

OTHER Settings

Profile= SPP

CfgChar= $

SniffEna=0

LowPower=0

TX Power=0

IOPorts= 0

IOValues=0

DebugMod=0

RoleSwch=0

Sorry for my bad english, but it’s not my native language.

Nicolas

Well, clearly there’s a little bit of witchcraft involved here. The RN-42 started working as it should only when we connected the MSP430 with 2 AA batteries instead of connecting it via USB.