How to lock Tx on a particular channel?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello,

We need to get our bcm20737 based product FCC certified. For that we need to achieve the following:

a) Lock Tx on a particular channel

b) Continuously transmit data on that locked channel (instead of bursts)

How can we achieve above on the WICED stack?

Regards,

Subash

0 Likes
1 Solution

Hi,

take a look at the following function in blecm.h:


UINT8 blecm_StartTransmitterTest(UINT8 channel, UINT8 packetLength, UINT8 packetType);

* Starts the standard LE transmitter test with the given parameters

*

* \param channel  The channel to use for the test. 0-39.

* \param packetLength The Length test packet. 0-37

* \param packetType   The type of packet to use - The following are supported:

* {0x00, "Pseudo-Random bit sequence 9"},

* {0x01, "Pattern of alternating bits '11110000'"},

* {0x02, "Pattern of alternating bits '10101010'"},

* {0x03, "Pseudo-Random bit sequence 15 - Optional"},

* {0x04, "Pattern of All '1' bits - Optional"},

* {0x05, "Pattern of All '0' bits - Optional"},

* {0x06, "Pattern of alternating bits '00001111' - Optional"},

* {0x07, "Pattern of alternating bits '01010101' - Optional"}

* \return <ReturnValue> True if  was started successfully, else could not start the test.

*/

and in rf_cw_test_api.h :

blecm_EnableUnmodulatedTxCarrierFrequencyTest(UINT16 cwFreq, INT8 txPower);

/// Enables TX CW test.

/// \param cwFreq   The desired Bluetooth carrier frequency (min: 2402MHz, max: 2490MHz).

/// \param txPower    The TX power to use.Will be rounded to closest value possible.

/// \return TRUE if successful; else FALSE.

Note that you have to add

"APP_PATCHES_AND_LIBS += rf_cw_test_api.a" in your makefile.

Kind regards

Udo

View solution in original post

5 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

Have you taken a look at the MBT Application Note here: Manufacturing Bluetooth Test Tool Application Note (SDK 2.1 and TAG3 Board)

xmit-test.png

0 Likes
Anonymous
Not applicable

Thanks for quick reply.

In our end product, we don't have access to debug uart and thus the MBT tool. Can we achieve the same functionality from within the device?

0 Likes

Hi,

take a look at the following function in blecm.h:


UINT8 blecm_StartTransmitterTest(UINT8 channel, UINT8 packetLength, UINT8 packetType);

* Starts the standard LE transmitter test with the given parameters

*

* \param channel  The channel to use for the test. 0-39.

* \param packetLength The Length test packet. 0-37

* \param packetType   The type of packet to use - The following are supported:

* {0x00, "Pseudo-Random bit sequence 9"},

* {0x01, "Pattern of alternating bits '11110000'"},

* {0x02, "Pattern of alternating bits '10101010'"},

* {0x03, "Pseudo-Random bit sequence 15 - Optional"},

* {0x04, "Pattern of All '1' bits - Optional"},

* {0x05, "Pattern of All '0' bits - Optional"},

* {0x06, "Pattern of alternating bits '00001111' - Optional"},

* {0x07, "Pattern of alternating bits '01010101' - Optional"}

* \return <ReturnValue> True if  was started successfully, else could not start the test.

*/

and in rf_cw_test_api.h :

blecm_EnableUnmodulatedTxCarrierFrequencyTest(UINT16 cwFreq, INT8 txPower);

/// Enables TX CW test.

/// \param cwFreq   The desired Bluetooth carrier frequency (min: 2402MHz, max: 2490MHz).

/// \param txPower    The TX power to use.Will be rounded to closest value possible.

/// \return TRUE if successful; else FALSE.

Note that you have to add

"APP_PATCHES_AND_LIBS += rf_cw_test_api.a" in your makefile.

Kind regards

Udo

Anonymous
Not applicable

Hello Udo,

For Modulated and Modulated Tests:

1.  You need to stop all Adv, scans, connections, etc before calling any of these functions - No RF activity.

2.  Then you can start the testing.

Thanks,

JT

subashuschoon

I thought you two might be interested in a webinar we are hosting on May 3rd that covers Regulatory Testing topics specific to Broadcom BT/Wi-Fi based modules...

Webinar on May 3rd: Regulatory Testing topics specific to Broadcom BT/Wi-Fi based modules...

0 Likes