UART no reply from BTM511 Bluetooth module

at commandsserialuart

I am trying to connect a Bluetooth module (BTM511) with my Arduino.

In order to see that I can actually communicate with the module, I first try to just send AT<cr> to the module, where I should get an <cr,lf>OK<cr,lf> from the module, using the signal generation function of my Scanalogic2 analyzer. Pin 1 (in output mode) of the analyzer is connected to the module's RX, pin 4 (in input mode) connected to the module's TX.

Now, when I send the AT command, I never get a reply back. The TX line stays LOW all the time. I DO get it work when I start the analyzer, setting it to wait sending for a logic change on Pin 4 and then, while it is waiting, connecting Pin 3 (which is in input mode) to the TX as well. Then somehow the TX line goes HIGH, and the module reports back with the OK signal.

I hope the situation is clear. Could anybody explain to me what might be happening here, and what I am doing wrong?

Best Answer

The Bluetooth module seems to be in some sort of low-power mode, where it powers down the UART circuit when its RX pin is LOW. Because the LA doesn't keep the RX of the module HIGH, the module would shut down its UART.

It takes a short while after the RX is HIGH for the UART to start (about 0.7 seconds from my measurements), shown by TX getting HIGH. So after setting the RX to HIGH, you have to wait before sending any commands. (couldn't find this anywhere in the datasheet though..).

Short delay before the TX becomes active.