• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF Bluetooth® Low Energy & ANT Forum » SetMaxDTMTxPower doesn't change the transmitter power
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

SetMaxDTMTxPower doesn't change the transmitter power

This question is answered
Matthias Jauss
Posted by Matthias Jauss
on Apr 19 2012 09:26 AM
Prodigy105 points

Hi,

I was trying to change the transmit power of the CC2541 by the HCI_EXT_SetMaxDTMTxPower command to the possible values of 0dBm, -6dBm and -23dBm but could not see any difference on the spectrum analyser. The chip always transmitted with 0dBm. I am using the hostTestRelease project of BleStack V1.2 together with a msp430.

As I read on the forum there is also a problem with the SetTxPower command I haven't tested yet. So these two bugs might be connected.

Any progress with this topic? Is there a workaround known beside using SmartRfStudio?

Kind regards,

Matthias Jauss

Tx power CC2541 BLE stack 1.2 DTM
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Joakim Lindh
    Posted by Joakim Lindh
    on Apr 20 2012 04:04 AM
    Genius13370 points

    Hi Matthias,

    Could you tell me more about you test setup in terms of hardware platforms and software?

    The SetTxPower bug (using HCI_EXT_SetTxPowerCmd) you are referring to was fixed in BLE1.1b.

    We have posted a wiki page on how to use DTM/PTM, found at http://processors.wiki.ti.com/index.php/PTM where you could find more information.

    Br

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Joakim Lindh
    Posted by Joakim Lindh
    on Apr 20 2012 04:50 AM
    Genius13370 points

    Matthias,

    Make sure that you send the correct Command from the MSP,

    Ex. for -23dBm: 01 11 FC 01 00

    Then make sure that you get correct Event back

    Ex. for -23dBm: 04 FF 05 11 04 00 11 FC 

    Br

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Matthias Jauss
    Posted by Matthias Jauss
    on Apr 20 2012 04:54 AM
    Prodigy105 points

    Hi Nick,

    we use the CC2541F256 on our testboard, not the EVM in this test. I flashed this hex file "CC2541_SmartRF_HostTestRelease_All.hex" and communicate with the CC2541 over the uart interface by HCI commands. Our test is very simple, we send the command HCI_EXT_ModemTestTxCmd and after we get the success event from the stack we send the HCI_EXT_SetMaxDTMTxPowerCmd to change the tx power. This command is acknowlegded by the stack successfully but shows no effect. When we measure the tx power on the spectrum analyser it is always 0dBm.

    Is it possible to use the HCI_EXT_SetTxPowerCmd instead? In my opinion this won't affect the tx power in DTM mode, or am I wrong?

    Are we sending the commands in the wrong order?

    Kind regards

    Matthias Jauss

    Tx power CC2541 BLE stack 1.2 DTM
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Matthias Jauss
    Posted by Matthias Jauss
    on Apr 20 2012 05:08 AM
    Prodigy105 points

    Hi Nick,

    I just checked the communication with a logic analyser. I send the same command and receive the same event after about 18 ms, but still no difference in the tx power.

    Br

    Matthias Jauss

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Joakim Lindh
    Posted by Joakim Lindh
    on Apr 23 2012 07:01 AM
    Genius13370 points

    Matthias,

    Do you experience the same thing with HCI_EXT_SetTxPowerCmd?

    Br

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Matthias Jauss
    Posted by Matthias Jauss
    on Apr 25 2012 10:10 AM
    Prodigy105 points

    Hi Nick,

    I made some tests and got the following results.

    Started advertising and reduced the tx power by the HCI_EXT_SetTxPower to -6dBm reduced the RSSI level in the sniffer by 6dBm. So this is working!

    Started a modem tx test by HCI_EXT_ModemTestTx and got the full 0dBm tx power. Then I tried to reduce the tx power with the HCI_EXT_SetTxPower command to -6dBm and could see a reduction of the tx power. Unfortunatelly I have no access to the spectrum analyser to measure the correct tx power. But the test shows it is possible to reduce the tx power in DTM mode.

    So only the SetMaxDTMTxPower is not working.

    Kind regards,

    Matthias Jauss

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Joakim Lindh
    Posted by Joakim Lindh
    on Apr 27 2012 01:46 AM
    Verified Answer
    Verified by Matthias Jauss
    Genius13370 points

    Matthias,

    It's good that it works for you.

    Matthias Jauss
    So only the SetMaxDTMTxPower is not working.

    I did some digging and it I found out that the SetMaxDTMTxPower command only applies to the DTM command HCI_LE_TransmitterTestCmd. Further, the Core spec states that when using SetMaxDTMTxPower, the controller should set the Tx power to maximum level. The problem is that the meaning of “maximum level” is debatable- e.g. the CC2540 chip max Tx power level is +4dBm, but a customer’s application may only ever go up to 0dBm. By having the SetMaxDTMTxPower you can set the DTM maximum Tx power level to be less than the chip max power level.

    Br

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Matthias Jauss
    Posted by Matthias Jauss
    on Apr 27 2012 04:02 AM
    Prodigy105 points

    Hi Nick,

    thank you for clearing up the behaviour of SetMAXDTMTxPower. So I missunderstood its behaviour and used the wrong command together with the ModemTestTx command. Could this fact be mentioned in the TI BLE HCI Vendor Specific HCI Guide to prevent further complications?

    Best regards,

    Matthias Jauss

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use