微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI无线射频设计 > cc2540做成的蓝牙遥控器连接时出现0X3F错误

cc2540做成的蓝牙遥控器连接时出现0X3F错误

时间:12-22 整理:3721RD 点击:

hi 各位:

    我在使用cc2540芯片做的蓝牙遥控器连接的过程中,发现有时候会连接断掉,打印断掉的原因是:HCI_ERROR_CODE_MAC_CONN_FAILED,它对应的数据

0X3F,是连接mac地址失败,请问各位大侠,出现这种失败的原因是什么?从软件设计方面怎么样处理这样的bug?

    谢谢您的回复

在cc2540的芯片资料里面有这样的介绍,请求个位帮忙解释一下:

The bit index of the least-significant 1 in SRCRESMASK, or 0x3F when
there is no source match. On a match, bit 5 is 0 when the match is
on a short address and 1 when it is on an extended address. On a
match, bit 6 is 1 when the conditions for automatic pending bit in
0x6163 SRCRESINDEX acknowledgment have been met (see the description of
SRCMATCH.AUTOPEND). The bit gives no indication of whether or not
the acknowledgment actually is transmitted, and does not take the
PENDING_OR register bit and the SACK/SACKPEND/SNACK strobes
into account.

谢谢各位

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

网站地图

Top