Am 08.04.2013 15:25, schrieb András Balogh:
> Hi for All,
Hi!
> I have a question concerning the confusing behaviour of my BT module.
> Currently I have the LSR's Tiwi-ub2 module, and a uC (AVR xmega)
> interfaced with UART.
> RTS
> After sending some commands I noticed, that the module is never raising
> the RTS (on the module) signal.
Hmm... after supplying the slow-clock (32kHz) and afterwards pulling the
!shutdown pin high the CTS of the module should drop all by itself
without any additional command.
> No matter what I sent (reset, read local version), there was no answer.
I am not sure when those commands become valid but did you already
upload the init-script?
> The format of the UART messages seems to be correct. The baud rate is
> the default (115200 8n1), and the RTS is pulled down after the boot
> sequence, the slow clock is OK too (I guess). I did not load the SP onto
> the module, because I wanted to see if UART was working...and for these
> types of HCI commands (as far as I know) no SP is needed...
>
> Did somebody experienced the same before? Could anybody please suggest a
> solution, or any point?
>
> Any help will be appreciated!
Well, I can just say that with the CC2560 I am currently experimenting
with the chip is also deaf for any additional command as long as I did
not upload the init script (I think you refer to it as SP, right?).
With an oscilloscope I was able to confirm that CTS will drop as soon as
32kHZ is applied and the shutdown signal removed (pulled high). RTS
(from host) should be pulled low as soon as you want to start
communication - else you will not get any response from the module at
all (RTS signals from host to module that the host is ready to receive
data, logic is negative).
> Best Regards,
> András Balogh
Cheers
nils
--
kernel concepts GmbH Tel:
+49-271-771091-12
Sieghuetter Hauptweg 48
D-57072 Siegen Mob:
+49-176-21024535
http://www.kernelconcepts.de