Closed 8lank closed 6 years ago
hi. BTstack sends an HCI Reset every 200 ms but doesn't get a response. Please check the UART lines with a logic analyzer to see if a) there is no response from the CC256x or b) there is a response but it is not received by BTtstack's HCI layer.
There is no response from the CC256x. I tried with another CC256x but doesn't work either.
Do you see the HCI Reset (01 03 0c 00)?
please check the wiring. you'll need to pull nShutdown to VCC, connect RTS/CTS ( check if CC256x CTS is low), and also if there's a 32.768 kHz slow clock provided. and/or check TI's E2E forum.
Found the issue: the st adapter was non-functioning and the cc256x not well powered. Thanks for your help.
Glad you found the root cause
Hi,
I followed your blog tutorial http://bluekitchen-gmbh.com/btstack-port-for-stm32-f4-discovery-board-with-cc256x/ to port bluekitchen btstack on a STM32F4 discovery board with a cc256x Bluetooth chipset. Everything was working fine until I started trying the gap inquiry example. The process is blocked after receiving the event 6E 00 and loops infinitely on it:
I also tried to import directly the whole project from your repository https://github.com/bluekitchen/btstack/tree/master/port/stm32-f4discovery-cc256x but I got the same result. I also tried to update the TI Bluetooth Service Pack with the latest version.
Have you ever encountered such behavior on TI CC256x chipset?
Hw:
Thanks