微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI蓝牙设计交流 > 有没有办法改变CC2540的蓝牙地址

有没有办法改变CC2540的蓝牙地址

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

在做一个项目,需要更改CC2540的蓝牙地址,请问有没有什么办法可以更改。如果有,那具体要怎么改?

看文档5.3.2节,你就知道怎么改了。

http://www.ti.com/general/docs/lit/getliterature.tsp?baseLiteratureNumber=swru270&fileType=pdf

 

 

摘录:

Every CC2540/41 device comes pre-programmed with a unique 48-bit IEEE address. This is referred to as
the device’s “primary address”, and cannot be changed. It is also possible to set a “secondary address” on
a device, which will override the primary address upon power-up. Flash Programmer can be used to read
the primary address, as well as to read or write the secondary address.
To read the primary address of a device connected to the CC Debugger, select “Primary” under the
“Location” option, and click the “Read IEEE” button. The primary device address should appear in the box
on the right as shown in Figure 48.

To read the secondary address, select “Secondary” under the “Location” option, and click the “Read IEEE”
button. The secondary device address should appear in the box on the right.
To set a new secondary address, select “Secondary” under the “Location” option, and enter the desired
address in the box on the right. Click the “Write IEEE” button to perform the write. If the secondary
device is set to “FF FF FF FF FF FF”, the device will use the primary address. If the secondary device is set
to anything else, the secondary address will be used.

非常感谢,这个PDF有看过一遍,后面忘记了。这个可以改,还挺简单。还好有你,要不然,看多久Datasheet都找不出改地址的方法,万分感谢呀。

非常感谢,这个PDF有看过一遍,后面忘记了。这个可以改,还挺简单。还好有你,要不然,看多久Datasheet都找不出改地址的方法,万分感谢呀。

secondary address 可不可以在程序中修改呢?

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

网站地图

Top