background image

  

 

WICED Manufacturing Bluetooth Test Tool, Document Number: 002-14799 Rev. *E 

LE Transmitter Test 

The LE Transmitter Test configures the Cypress SoC BT device to send test packets at a fixed interval. External test equipment 
may be used to receive and analyze the reference packets. 

The  frequency  on  which  the  device  transmits the  packets is  passed  as  a  parameter.  BLE  devices use  40  channels, each  of 
which is 2 MHz wide. (See Reference [

1

] [Vol 2, Part E], Section 7.8.28 for details). 

The other two parameters specify the length of the test data and the data pattern to be used (see Reference [

1

] [Vol 2, Part E], 

Section 7.8.29 for details). 

Usage

wmbt le_transmitter_test COMx <tx_frequency> <data_length> <data_pattern>

 

Where: 

 

rx_frequency = (2402 - 2480) receive frequency, in MHz  

 

data_length = 0

–37 

 

data_pattern = 0

–7 

0: Pseudo-random bit sequence 9 

1: Pattern of alternating bits: 11110000 

2: Pattern of alternating bits: 10101010 

3: Pseudo-random bit sequence 15 

4: Pattern of all 1s 

5: Pattern of all 0s 

6: Pattern of alternating bits: 00001111 

7: Pattern of alternating bits: 0101 

The  example  below  starts  the  test  and  instructs  the  device  to  transmit  packets  on  Channel  2  (2406  MHz),  with  a  
10-byte payload of all ones (1s): 

<ModusToolbox>\tools\wiced-tools-1.0\BT\wmbt\bin>> wmbt le_transmitter_test COM23 2406 10 4 
MBT_BAUD_RATE:  3000000 
TRANSPORT_MODE: 0 (HCI) 
 
Opened COM23 at speed: 3000000 
Sending HCI Command: 
0000 < 01 1E 20 03 02 0A 04 > 
Received HCI Event: 
0000 < 04 0E 04 01 1E 20 00 > 
Success 
Close Serial Bus  

 

The last byte of the HCI Command Complete event is the status of the operation, where 0 signifies success. 

Use 

wmbt le_test_end COMx 

to complete the test. 

Note: 

This test will fail if the device is running another test: use 

le_test_end

 to put the device in an idle state before running 

this test. 

Summary of Contents for ModusToolbox

Page 1: ...ModusToolbox WICED Manufacturing Bluetooth Test Tool Document Number 002 14799 Rev E Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 www cypress com...

Page 2: ...4 3 Reset Test 5 3 1 reset 5 3 2 reset_highspeed 5 4 LE Receiver Test 6 5 LE Transmitter Test 7 6 LE Test End 8 7 Continuous Transmit Test 9 8 Continuous Receive Test 11 9 Radio TX Test 12 10 Radio RX...

Page 3: ...ce of the Cypress SoC Bluetooth BR EDR LE devices For LE tests standard procedures from the Bluetooth Core Specification 1 are utilized For BR EDR tests a set of vendor specific commands are introduce...

Page 4: ...ools 1 0 BT wmbt bin set MBT_BAUD_RATE 3000000 2 2 2 TRANSPORT_MODE The Bluetooth Core Specification 1 defines the HCI which provides a standardized communication protocol between the BT host stack an...

Page 5: ...200 Sending HCI Command 0000 01 03 0C 00 Received HCI Event 0000 04 0E 04 01 03 0C 00 Success Close Serial Bus The last byte of the HCI Command Complete event is the operation status where 0 signifies...

Page 6: ...requency 2 x Channel 2402MHz Usage wmbt le_receiver_test COMx rx_frequency Where rx_frequency 2402 2480 receive frequency in MHz The example below starts the LE receiver test on Channel 2 2406 MHz Mod...

Page 7: ...attern 0 7 0 Pseudo random bit sequence 9 1 Pattern of alternating bits 11110000 2 Pattern of alternating bits 10101010 3 Pseudo random bit sequence 15 4 Pattern of all 1s 5 Pattern of all 0s 6 Patter...

Page 8: ...e will always be zero if the LE Transmitter Test was active See Reference 1 Vol 2 Part E Section 7 8 30 for details Usage wmbt le_test_end COMx The example below stops the active test ModusToolbox too...

Page 9: ...02 2480 transmit frequency in MHz tx_mode selects unmodulated or modulated with pattern 0 Unmodulated 1 PRBS9 2 PRBS15 3 All Zeros 4 All Ones 5 Incrementing Symbols tx_modulation_type selects 1 Mbps 2...

Page 10: ...e same COM port with the carrier on off parameter set to zero 0 ModusToolbox tools wiced tools 1 0 BT wmbt bin wmbt tx_frequency_arm COM23 0 2402 1 2 3 MBT_BAUD_RATE 3000000 TRANSPORT_MODE 0 HCI Opene...

Page 11: ...ameter Usage wmbt receive_only COMx rx_frequency Where rx_frequency 2402 2480 receiver frequency in MHz The example below instructs the Cypress SoC BT device to set the receiver to frequency of 2046 M...

Page 12: ...Pattern 2 0xAA 8 bit Pattern 3 0xF0 8 bit Pattern 4 PRBS9 Pattern logical_channel Sets logical channel to Basic Rate BR or Enhanced Data Rate EDR for ACL packets 0 EDR 1 BR bb_packet_type Baseband pac...

Page 13: ...ev E 13 Received HCI Event 0000 04 0E 04 01 51 FC 00 Success Close Serial Bus The last byte of the HCI Command Complete event is the operation status where 0 signifies that the operation was successfu...

Page 14: ...logical channel to BR or EDR for ACL packets 0 EDR 1 BR bb_packet_type Sets the packet type of the expected packets 3 DM1 4 DH1 2 DH1 8 3 DH1 10 DM3 2 DH3 11 DH3 3 DH3 14 DM5 2 DH5 15 DH5 3 DH5 packet...

Page 15: ...BT reports connectionless Rx Test statistics every second The example below shows the Rx Test statistics report Statistics Report received Rx Test statistics Sync_Timeout_Count 0x0 HEC_Error_Count 0x0...

Page 16: ...dvertisements are enabled or a periodic application timer is enabled it may be possible to interfere with the BQB test results Example ModusToolbox tools wiced tools 1 0 BT wmbt bin wmbt enable_bqb_te...

Page 17: ...programmed in the DUT Usage wmbt read_bd_addr COMx Example ModusToolbox tools wiced tools 1 0 BT wmbt bin wmbt read_bd_addr COM23 MBT_BAUD_RATE 3000000 TRANSPORT_MODE 0 HCI Opened COM23 at speed 30000...

Page 18: ...nto the device with ModusToolbox command line make including the BT_DEVICE_ADDRESS directive in your make command for example make f modus mk BT_DEVICE_ADDRESS FFFFFFFFFFFF program Usage wmbt factory_...

Page 19: ...Bluetooth Test Tool Document Number 002 14799 Rev E 19 References 1 Bluetooth Core Specification Version 4 2 see Bluetooth Core Specification 4 2 2 WICED HCI UART Control Protocol 002 16618 3 BQB RF T...

Page 20: ...Revision ECN Submission Date Description of Change 02 19 2016 Initial version A 5450962 09 27 2016 Updated in Cypress template B 5834940 07 27 2017 Updated logo and copyright C 5862775 08 23 2017 Upd...

Page 21: ...re or software products Cypress shall have no liability arising out of any security breach such as unauthorized access to or use of a Cypress product CYPRESS DOES NOT REPRESENT WARRANT OR GUARANTEE TH...

Reviews: