TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2564MODNEM 的BLE模块不工作,求解?

Ti工程师:

你们好,前几天买了一块CC2564MODNEM双模的评估板,http://www.ti.com.cn/tool/cn/cc2564modnem

使用h4已可以调通HCI命令发送;我配置BR2.1部分,HCI命令都发送和返回都没有问题,手机也能收到2.1的设备

但是我配置 BLE模块的命令时,好多命令状态返回都是0C错误(command disallow);求解决,是硬件有问题吗?

附串口信息“

———————————————————-

>>>-(1)- <Send_HCI_Reset>

HCI_TX(4):

01 03 0C 00

HCI_RX(7):

04 0E 04 01 03 0C 00

COMPLETE_EVENT for <Send_HCI_Reset> ,result = 0x0

———————————————————-

…………..

>>>-(15)- <Send_HCI_Write_Authentication_Enable>

HCI_TX(5):

01 20 0C 01 00

HCI_RX(7):

04 0E 04 01 20 0C 00

COMPLETE_EVENT for <Send_HCI_Write_Authentication_Enable> ,result = 0x0

———————————————————-

———————————————————-

>>>-(16)- <Send_HCI_Write_Scan_Enable>

HCI_TX(5):

01 1A 0C 01 03

HCI_RX(7):

04 0E 04 01 1A 0C 00

COMPLETE_EVENT for <Send_HCI_Write_Scan_Enable> ,result = 0x0

———————————————————-

>>>-(17)- <Send_HCI_LE_Read_Local_Supported_Features>

HCI_TX(4):

01 03 20 00

HCI_RX(15):

04 0E 0C 01 03 20 00 00 00 00 00 00 00 00 00

COMPLETE_EVENT for <Send_HCI_LE_Read_Local_Supported_Features> ,result = 0x0

———————————————————-

>>>-(18)- <Send_HCI_LE_Read_Buffer_Size>

HCI_TX(4):

01 02 20 00

HCI_RX(10):

04 0E 07 01 02 20 00 1B 00 0F

COMPLETE_EVENT for <Send_HCI_LE_Read_Buffer_Size> ,result = 0x0

———————————————————-

>>>-(19)- <Send_HCI_LE_Read_White_List_Size>

HCI_TX(4):

01 0F 20 00

HCI_RX(8):

04 0E 05 01 0F 20 00 19

COMPLETE_EVENT for <Send_HCI_LE_Read_White_List_Size> ,result = 0x0

———————————————————-

>>>-(20)- <Send_HCI_LE_Read_Supported_States>

HCI_TX(4):

01 1C 20 00

HCI_RX(15):

04 0E 0C 01 1C 20 0C 00 00 00 00 00 00 00 00

COMPLETE_EVENT for <Send_HCI_LE_Read_Supported_States> ,result = 0xc

———————————————————-

>>>-(21)- <Send_HCI_LE_Read_Adv_Channel_TX_Power>

HCI_TX(4):

01 07 20 00

HCI_RX(8):

04 0E 05 01 07 20 0C 00

COMPLETE_EVENT for <Send_HCI_LE_Read_Adv_Channel_TX_Power> ,result = 0xc

———————————————————-
>>>-(22)- <Send_HCI_LE_Clear_White_List>HCI_TX(4):
01 10 20 00HCI_RX(7):04 0E 04 01 10 20 0CCOMPLETE_EVENT for <Send_HCI_LE_Clear_White_List> ,result = 0xc

———————————————————-
>>>-(23)- <Send_HCI_LE_Add_Device_To_White_List>HCI_TX(11):
01 11 20 07 00 01 02 03 04 05 06HCI_RX(7):04 0E 04 01 11 20 0CCOMPLETE_EVENT for <Send_HCI_LE_Add_Device_To_White_List> ,result = 0xc

———————————————————-
>>>-(24)- <Send_HCI_LE_Remove_Device_From_White_List>HCI_TX(11):
01 12 20 07 00 01 02 03 04 05 06HCI_RX(7):04 0E 04 01 12 20 0CCOMPLETE_EVENT for <Send_HCI_LE_Remove_Device_From_White_List> ,result = 0xc

>>>-(25)- <Send_HCI_LE_Set_Advertising_Parameters>

HCI_TX(19):

01 06 20 0F 20 03 C0 03 00 00 00 00 00 00 00 00

00 07 00

HCI_RX(7):

04 0E 04 01 06 20 0C

COMPLETE_EVENT for <Send_HCI_LE_Set_Advertising_Parameters> ,result = 0xc

jamin:

回复 Yan:

哦,明白;是不是芯片上本身就会带有service pack,其实不下载也可以跑起来呢

赞(0)
未经允许不得转载:TI中文支持网 » CC2564MODNEM 的BLE模块不工作,求解?
分享到: 更多 (0)