- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I wanted to test the RF parameters for the device CYW20719, can anyone help me to get the vendor specific commands.
Solved! Go to Solution.
- Tags:
- rf testing ble
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
Now which step is blocking you for the RF test?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you suggest a best way to do RF Testing for Bluetooth devices like 20719
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 >