微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI蓝牙设计交流 > CC2564MODNEM 的BLE模块不工作,求解?

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

时间:10-02 整理:3721RD 点击:

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 00
HCI_RX(7):
04 0E 04 01 10 20 0C
COMPLETE_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 06
HCI_RX(7):
04 0E 04 01 11 20 0C
COMPLETE_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 06
HCI_RX(7):
04 0E 04 01 12 20 0C
COMPLETE_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,

BLE的功能需要你在service pack里面添加使能BLE的部分。

这部分在你从TI官网上下载的service pack中也是包含的,只是单独存在的一个文件而已,把里面的内容复制出来,加到BR/EDR的service pack 中就行。

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

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top