how to use the host test app in the ble stack v1.21 for custom boards.. the default settings in the host test program is enough or anything we need to change? if i use the unchanged program no response in the btool...
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
As far as you copy the designs from TI, there should be no problem.
TI guys cannot further assist you if you provide barely one and a half line of text describing your problem.
Make sure you flash the correct configuration at least at IAR.
Bye.
hi kazola,
i am using host test app provided in the ble stack and change the target from cc2540USB to cc2540EM..this is the only change i made in the application...flash my cc2540 module with that hex file.. i use the port P0 as serial port and P0.2, P0.3, P0.4, P0.5 as RX,TX,RTS,CTS pins..this is what i am doing now.. when i open btool with this configuration it says gap device initialization timeout..device may not function properly... i need some help for this..
Hi,
Not sure what you've done there but in the Device Manager, you could right click on the connected device and update the driver to usb_cdc_driver_cc2540.inf, located in C:\Texas Instruments\BLE-CC254x-1.2.1\Accessories\Drivers.
Best Regards
i am using usb to serial converter between laptop and cc2540 module..
laptop ----> usb to serial converter ----->cc2540 module(serial port)...
so device manager shows prolific driver only.. is there any other way to test the host test application in laptop using serial port... or the prolific driver is enough...
hi
now i am getting some output from cc2540 module..Btool not working for me... i am using hci tester to send commands from pc.. when i am sending commands it will return some data.. how to verify that data.. the data received is correct or not.. i loaded the smartRF host test all.hex in cc2540...
I'm trying to do the same as you ,but i can't seem to get the hold of how to get the uart data from the keyfob using btool with the dongle.
As of now i can only read the hardcoded unsigned char strings from the simplebleperipheral project from the keyfob, using the "read characteristic Value" from btool.
Could you please post what you did to get this to work?
Thanks.
Sincear, Michael.
Hello, I wonder can anyone shed any light on this, I'm having a similar problem.
I'm trying to set up a UART connection in order to use BTool with a cc2541 custom board.
I'm using an FTDI232R board as COM3 and I've connected Tx to Rx, CTS to RTS and visa versa.
When I reset the cc2541 I can see data appearing in BTool but eventually I see this in the log:
[3] : <Warning> - 04:43:32.391
GAP Device Initialization Timeout.
Device May Not Function Properly.
I have hooked up a logic analyser and I can see Tx and Rx are changing from high to low.
When I open BTool I can see the following bytes being sent:
0x01 0x00 0xFE 0x26 0x08 0x05 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x01 0x00 0x00 0x00
But the cc2541 doesn't respond.
When the cc2541 is turned on it pulses high 8 times, then 16 times, then once, although the logic analyser doesn't recognise it as data.
What did you do to fix the issue?
Regards
Tim Redfern
Fuurther to this, when I reset the cc2541, BTool receives this:
[6] : <Rx> - 05:09:13.541 -Type : 0x04 (Event) -EventCode : 0x00 (Unknown Op Code) -Data Length : 0x11 (17) bytes(s) Raw : EC 00 18 5C 40 21 00 00 FE 40 17 0B 02 01 00 00 04 Dump(Rx): 04 00 11 EC 00 18 5C 40 21 00 00 FE 40 17 0B 02 01 00 00 04
But it hasn't connected.
Turns out my confusion was that I use USART1 instead of the defauly USART0
I had to set HAL_UART_DMA=2 in the preprocessor symbols for the compiler
HAL_LCD sends data to the same pins which was the source of confusion.
Hello,
I would like to do the same. I connect pc with cc2540 through usb-to-serial port and BTool as well as Device Monitor not work.
I also the HCI tester but I cannot very well understand what to send what I should receive in order for this to be true.
Could you please help me?