Hi all, first post here.
I am trying to add BT connetivity to a project and wanted to try the CC2654 product. But I am getting stuck in the SPPDemo. Here's the setup :
A TIVA C Launchpad (TCM4C123GHPMI7...) is connected to a CC2564MODNEM board (not CC2564B for what I know) using custom connexion :
BT_RX <-> TIVA UART1TX
BT_TX <-> TIVA UART1RX
BT_RTS <-> TIVA UART1CTS
BT_CTS <-> TIVA UART1RTS
BT_nShutd <-> TIVA_GPIO_C6
Also 3.3V and GND are connected on one pin each.
PCM and slow clock pin are left unconnected
I DO have made a few changes in the code accordinlgy to this connexion (in file HALCFG.h and HALCFG.c) and the UART link seems to be working just fine.
I want to connect this to an android phone (samsung galaxy S II GT-I9100, cyanogenemod 12.1, android 5.1.1 : no BLE inside)
I am using the Bluetoia stack V1.2R2.
I am working with Keil uVision4. I went from a scratch project trying to mimick the demo project, but adapting it to the tiva launchpad.
Compiling flags are :
PART_TM4C123GH6PM, TARGET_IS_BLIZZARD_RB1, DEBUG, DEBUG_ENABLED, DEBUG_ZONES=DBG_ZONE_ANY
Compilling, linking and connecting to the debug com port runs smoothly.
Following this tutorial : processors.wiki.ti.com/.../CC256x_TI_Bluetooth_Stack_SPPDemo_App
I launch the demo as a client and intend to connect it to an android phone using blueterm.
As you can see in the following debug log, I don't manage to detect any BT device from the client.
I know from my phone there are a few. The said phone is not detected either.
And my phone can't see the CC2564 module, even if detecting other devices around.
Sooo what can I made wrong ? Missing flags ?
Thanks for your help.
Antoine bax de Keating
Debug log:
OpenStack(). HCI_VS_InitializeAfterHCIReset VS_Update_UART_Baud_Rate success. HCI_VS_InitializeAfterHCIReset Success Bluetooth Stack ID: 1 Device Chipset: 4.0 BD_ADDR: 0x0017e9d332b9 ****************************************************************** * Command Options: Server, Client, Help * ****************************************************************** Choose Mode>client ****************************************************************** * Command Options: Inquiry, DisplayInquiryList, Pair, * * EndPairing, PINCodeResponse, PassKeyResponse, * * UserConfirmationResponse, * * SetDiscoverabilityMode, SetConnectabilityMode,* * SetPairabilityMode, * * ChangeSimplePairingParameters, * * GetLocalAddress, GetLocalName, SetLocalName, * * GetClassOfDevice, SetClassOfDevice, * * GetRemoteName, SniffMode, ExitSniffMode, * * Open, Close, Read, Write, * * GetConfigParams, SetConfigParams, * * GetQueueParams, SetQueueParams, * * Loopback, DisplayRawModeData, * * AutomaticReadMode, SetBaudRate, Send * * Help, Quit * ****************************************************************** Client>setlocalname Tiva Local Device Name: Tiva. Client>inquiry Client>[10secons here] Client>DisplayInquiryList Inquiry List: 0 Devices.
[repeat last operation 'till you go on TI forum]