How to get vendor specific commands for Device CYW20719

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

cross mob
veb_3529051
Level 3
Level 3

Hi,

I wanted to test the RF parameters for the device CYW20719, can anyone help me to get the vendor specific commands.

0 Likes
1 Solution

Hi :

Is this clear for you ?  you need to have a try to see the change of every byte.

14 FC  // means operation code set_tx_frequency_arm

07   // command length

00   // carrier on

02   // ( 2402  minus 2400)

01  // PRBS9

02  // 8PSK

08  // specify power in dbm

03  // tx power

00  // table index meaning

View solution in original post

0 Likes
14 Replies
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hi:

   Now which step is blocking you for the RF test? 

0 Likes

Thanks for the response!

I wanted to do RF testing for the CYW20719, but i'm unable to get the complete HCI commands, can you help me to get it.  Because i need to do RF Testing with complete Bluetooth operating band with varying power control.

0 Likes

Can you suggest a best way to do RF Testing for Bluetooth devices like 20719

0 Likes
lock attach
Attachments are accessible only for community members.

Hi:

   We have mbt.exe in the SDK release, and please check the readme uploaded,  and check if it can meet your TX power test. 

and  common steps are:

1. compile HCI related app and download into 20719.

2.  check if the HCI in the readme file can do communication successfully.

3.  check if current readme.txt has the test command list for your test.

if no, please raise your help again.  Actually,  I saw Continuous Transmit Test in the release.

Suggest you to use the     \WICED-Studio-6.2\wiced_tools\mbt     directory mbt.exe  .

Hi,

As in readme.txt, consider the below example

The example below starts the LE receiver test on Channel 2 (2406 MHz).

WICED-SmartReady-SDK\Tools\mbt\win32>mbt le_receiver_test 2

Sending HCI Command:

0000 < 1D 20 01 02 >

Received HCI Event:

0000 < 0E 04 01 1D 20 00 >

Success

But if i wanted to change the frequency which value i need to update, how can i get those details.

Thanks!

0 Likes

Do you mean this?

where:

    rx_channel = receive frequency minus 2402 divided by 2. For example,

    if the desired receive frequency is 2406MHz then the rx_channel =

    (2406 – 2402) / 2 = 2.

    The channel range is 0–39 (2402–2480 MHz).

Yes!, but how can i'll come to know in which corresponding to channel number.

Sending HCI Command:

0000 < 1D 20 01 02 >

The example below turns the carrier ON and instructs the BCM2070x to transmit the PRBS9 mode, 8PSK type pattern on 2402 MHz at 3 dBm.

WICED-SmartReady-SDK\Tools\mbt\win32>mbt set_tx_frequency_arm 1 2402 1 2 3

Sending HCI Command:

0000 < 14 FC 07 00 02 01 02 08 03 00 >.

In above which value corresponding to frequency/channel, power level?

Thanks

0 Likes

Hi:

  Is this clear for you?

Usage: mbt set_tx_frequency_arm    <carrier on/off>   <tx_frequency>   <tx_mode>   <tx_modulation_type>    <tx_power>

            mbt set_tx_frequency_arm         1                           2402                       1                        2                              3

where:

    carrier on/off:

        1 = carrier ON

        0 = carrier OFF

    tx_frequency = (2402 – 2480) transmit frequency, in MHz

    tx_mode:

        0: Unmodulated

        1: PRBS9

        2: PRBS15

        3: All Zeros

        4: All Ones

        5: Incrementing Symbols

    tx_modulation_type:

        0: GFSK

        1: QPSK

        2: 8PSK

        3: LE

    tx_power = (–25 to +3) transmit power, in dBm

0 Likes

Thanks,

It is good, But is it possible to get the same explanation for the (14, FC, 07, 00, 02, 01, 02, 08, 03, 00 -each hex values stands for what)

Sending HCI Command:

0000 < 14 FC 07 00 02 01 02 08 03 00 >

0 Likes

Hi :

Is this clear for you ?  you need to have a try to see the change of every byte.

14 FC  // means operation code set_tx_frequency_arm

07   // command length

00   // carrier on

02   // ( 2402  minus 2400)

01  // PRBS9

02  // 8PSK

08  // specify power in dbm

03  // tx power

00  // table index meaning

0 Likes

Thanks very much!

For doing the RF Test mbt/wmbt is useful, because mbt & wmbt has different command structure.

Can i get the same explanation for the wmbt command as wel

The example below instructs the CYW20706 to receive 0xAA 8-bit Pattern on the 2402 MHz and ACL Basic with DM1 packet type.

WICED-SmartReady-SDK\Tools\wmbt\Release>wmbt radio_rx_test COM4 20703A012345 2402 2 1 3 17

Sending WICED HCI Command:

0000 < 19 10 08 12 00 01 52 FC 0E 45 23 01 3A 70 20 E8 >

0 Likes

Hi,

in the above example you are mentioned that

00   // carrier on but actually in readme.txt

carrier on/off:

        1 = carrier ON

        0 = carrier OFF

Can you confirm once

0 Likes

Hi:

There should have  a difference  between Command line input and actual byte input , you can have a try to set on or off  and see the change.

0 Likes

Thanks very much!

For doing the RF Test mbt/wmbt is useful, because mbt & wmbt has different command structure.

Can i get the same explanation for the wmbt command as wel

The example below instructs the CYW20706 to receive 0xAA 8-bit Pattern on the 2402 MHz and ACL Basic with DM1 packet type.

WICED-SmartReady-SDK\Tools\wmbt\Release>wmbt radio_rx_test COM4 20703A012345 2402 2 1 3 17

Sending WICED HCI Command:

0000 < 19 10 08 12 00 01 52 FC 0E 45 23 01 3A 70 20 E8 >

0010 < 03 00 02 01 03 11 00 >

WICED-SmartReady-SDK\Tools\wmbt\Release>wmbt radio_tx_test COM4 20703A012345 2402 2 1 3 17 -3

Sending WICED HCI Command:

0000 < 19 10 08 14 00 01 51 FC 10 45 23 01 3A 70 20 01 >

0010 < 00 02 01 03 11 00 08 FD 00 >

0 Likes