This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于CC2540的问题

Other Parts Discussed in Thread: CC2540, CC2511

您好:

想请教您关于CC2540DK几个问题:

1.我想测试一下BLE连接的功耗,具体就是想测试一下连接处于各个阶段(比如sleep,transmit,receive)的功率消耗。我看到有个官方的关于CC2540 mini 套件的一个文档,但是我买的是CC2540DK,所以我想问下,有什么这方面的文档可以了解吗?

2.我将两个CC2540板子分别烧入CC2540_SmartRF_SimpleBLECentral.hex和CC2540_SmartRF_SimpleBLEPeripheral.hex,可以很好的连接,但是我用IAR调试的时候,BLE stack给的SimpleBLEPeripheral这个工程却是关于CC2540mini的,我想问下有没有CC2540DK 的SimpleBLEPeripheral的可以调试的代码,因为我没法将CC2540_SmartRF_SimpleBLEPeripheral.hex这个还原成C文件。所以就想请教一下。

因为是新手,所以问题比较多,麻烦您了!

  • 1.用DK测功耗,难。DK上有很多其他外设,还带了CC2511用于Debug调试。

    通常考量如下:

    Unused I/O pins should have a defined level and not be left floating. One way to do this is to leave the pin
    unconnected and configure the pin as a general purpose I/O input with pull-up resistor. Alternatively the pin can be
    configured as a general purpose I/O output. In both cases the pin should not be connected directly to VDD or GND
    in order to avoid excessive power consumption.

    MiniDK的怎么测功耗相信你很清楚了,如下,这是保持1s连接,没有其他通讯,纯CC254X的功耗,16uA.

    http://www.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=swra347a

    2. 你可以如下图选择正确的工程就可以了。选CC2540对应的就是DK板。

  • 好的,谢谢您的回答了!