background image

 

 

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

21 

Worldwide Sales and Design Support 

Cypress maintains a worldwide network of offices, solution centers, manufacturer’s representatives, and distributors. To find the 
office closest to you, visit us at 

Cypress Locations

. 

Products 

Arm

®

 Cortex

®

 Microcontrollers 

cypress.com/arm

 

Automotive 

cypress.com/automotive

 

Clocks & Buffers 

cypress.com/clocks

 

Interface 

cypress.com/interface

 

Internet of Things 

cypress.com/iot

 

Memory  

cypress.com/memory

 

Microcontrollers 

cypress.com/mcu

 

PSoC 

cypress.com/psoc

 

Power Management ICs 

cypress.com/pmic

 

Touch Sensing 

cypress.com/touch

 

USB Controllers 

cypress.com/usb

 

Wireless Connectivity 

cypress.com/wireless

 

PSoC

®

 Solutions 

PSoC 1

 

PSoC 3

 

PSoC 4

 

PSoC 5LP

 |

 PSoC 6 MCU 

Cypress Developer Community 

Community

  

Code

 

Examples

  

Projects

  

Videos

  

Blogs

  

Training 

Components

 

Technical Support 

cypress.com/support

All other trademarks or registered trademarks referenced herein are the property of their respective owners. 

 

 Cypress Semiconductor 

 198 Champion Court 

 San Jose, CA 95134-1709 

© Cypress Semiconductor Corporation, 2016-201

9. This document is the property of Cypress Semiconductor Corporation and its subsidiaries (“Cypress”).  This 

document, including any software or firmware included or referenced in this document (“Software”), is owned by Cypress under the intellectual property laws and 
treaties of the United States and other countries worldwide.  Cypress reserves all rights under such laws and treaties and does not, except as specifically stated in 
this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual property rights.  If the Software is not accompanied by a license 
agreement and you do not otherwise have a written agreement with Cypress governing the use of the Software, then Cypress hereby grants you a personal, non-
exclusive, nontransferable license (without the right to sublicense) (1) under its copyright rights in the Software (a) for Software provided in source code form, to 
modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organization, and (b) to distribute the Software in binary 
code form externally to end users (either directly or indirectly through resellers and distributors), solely for use on Cypress hardware product units, and (2) under 
those claims of Cypress’s patents that are infringed by the Software (as provided by Cypress, unmodified) to make, use, distribute, and import the Software solely 
for use with Cypress hardware products.  Any other use, reproduction, modification, translation, or compilation of the Software is prohibited. 

TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS 
DOCUMENT  OR  ANY  SOFTWARE  OR  ACCOMPANYING  HARDWARE,  INCLUDING,  BUT  NOT  LIMITED  TO,  THE  IMPLIED  WARRANTIES  OF 
MERCHANTABILITY AND  FITNESS  FOR A PARTICULAR PURPOSE.   No  computing device can be  absolutely  secure.  Therefore, despite security measures 
implemented in Cypress hardware 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  THAT  CYPRESS  PRODUCTS,  OR  SYSTEMS  CREATED  USING 
CYPRESS  PRODUCTS,  WILL  BE  FREE  FROM  CORRUPTION,  ATTACK,  VIRUSES,  INTERFERENCE,  HACKING,  DATA  LOSS  OR  THEFT,  OR  OTHER 
SECURITY  INTRUSION  (collectively,  “Security  Breach”).    Cypress  disclaims  any  liability  relating  to  any  Security  Breach,  and  you  shall  and  hereby  do  release 
Cypress from any  claim, damage,  or other liability  arising  from any Security  Breach.   In addition, the products  described in these materials may contain  design 
defects or errors known as errata which may cause the product to deviate from published specifications.  To the extent permitted by applicable law, Cypress reserves 
the right to make changes to this document without further notice. Cypress does not assume any liability arising out of the application or use of any product or circuit 
described in this document.  Any information provided in this document, including any sample design information or programming code, is provided only for reference 
purposes.    It  is  the  responsibility  of  the  user  of  this  document  to  properly  design,  program,  and  test  the  functionality  and  safety  of  any  application  made  of  this 
information  and  any  r

esulting  product.   “High-Risk Device” means any device or system  whose failure could cause  personal injury, death,  or  property  damage.  

Examples of High-

Risk Devices are weapons, nuclear installations, surgical implants, and other medical devices.  “Critical Component” means any component of a 

High-Risk Device whose failure to perform can be reasonably expected to cause, directly or indirectly, the failure of the High-Risk Device, or to affect its safety or 
effectiveness.  Cypress is not liable, in whole or in part, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from any use 
of a Cypress product as a Critical Component in a High-Risk Device.  You shall indemnify and hold Cypress, its directors, officers, employees, agents, affiliates, 
distributors, and assigns harmless from and against all claims, costs, damages, and expenses, arising out of any claim, including claims for product liability, personal 
injury or death, or property damage arising from any use of a Cypress product as a Critical Component in a High-Risk Device.  Cypress products are not intended 
or authorized for use as a Critical Component in any High-

Risk Device except to the limited extent that (i) Cypress’s published data sheet for the product explicitly 

states Cypress has qualified the product for use in a specific High-Risk Device, or (ii) Cypress has given you advance written authorization to use the product as a 
Critical Component in the specific High-Risk Device and you have signed a separate indemnification agreement. 

Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, WICED, PSoC, CapSense, EZ-USB, F-RAM, and Traveo are trademarks or 
registered trademarks of Cypress in the United States and other countries.  For a more complete list of Cypress trademarks, visit cypress.com.  Other names and 
brands may be claimed as property of their respective owners. 

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: