PIC32CX1012BZ25048 - Guide utilisateur Microchip - Free user manual and instructions
Find the device manual for free PIC32CX1012BZ25048 Microchip in PDF.
User questions about PIC32CX1012BZ25048 Microchip
0 question about this device. Answer the ones you know or ask your own.
Ask a new question about this device
Download the instructions for your Guide utilisateur in PDF format for free! Find your manual PIC32CX1012BZ25048 - Microchip and take your electronic device back in hand. On this page are published all the documents necessary for the use of your device. PIC32CX1012BZ25048 by Microchip.
USER MANUAL PIC32CX1012BZ25048 Microchip
PIC32CX-BZ2 MCHPRT3 User Guide
Introduction
This user guide provides detailed information about using the Microchip Radio Test 3 tool (MCHPRT3) with the Microchip PIC32CX-BZ2. The MCHPRT3 enables the user to evaluate and demonstrate the RF performance, calibration and functionalities of the PIC32CX-BZ2.
Note: In this user guide, the MCHPRT3 tool with the PIC32 WBZ451 Curiosity Board is only shown as an example.
The MCHPRT3 is intended for development purposes. Any production test must use either a third-party production tool or users must develop their own production tool based on the DLL release.
Features
- DLL Version – DLL Information and Firmware Support Version
- COM PORT – COM Port Information and Configuration
- Baud Rate – 115200 (default value)
- RF Bluetooth ^ – Bluetooth Low Energy RF Parameter Configuration and Information
- RF ZB – Zigbee RF Parameter Configuration and Information
• MAC Address Information and Configuration - IB File – Read or Save Information Block (IB) File
- Calibration Information and Configuration
• GPIO Information and Configuration
For more details, refer to 4. Getting Started.
Table of Contents
Introduction ....1
Features 1
- Quick References ....3
1.1. Hardware Prerequisites....3
1.2. Software Prerequisites....3
1.3. Acronyms and Abbreviations....3
- Overview....4
- MPLAB X IDE HUT Code Programming Process .... 5
- Getting Started....7
4.1. Getting Started with MCHPRT3....7
4.2. Getting Started with MCHPRT3 PIC32CX-BZ2 GUI 10
4.3.MCHPRT3 PIC32CX-BZ2 GUI Demonstration 11
- Document Revision History....25
Microchip Information....26
The Microchip Website....26
Product Change Notification Service.... 26
Customer Support....26
Microchip Devices Code Protection Feature....26
Legal Notice....26
Trademarks....27
Quality Management System....28
Worldwide Sales and Service....29
1. Quick References
1.1 Hardware Prerequisites
• WBZ451 Curiosity Board (PIC32CX-BZ2 programmed with HUT Firmware)
• USB-A to Micro USB cable
- Bluetooth Low Energy and Zigbee Tester (IQxel)
1.2 Software Prerequisites
Download the latest MCHPRT3 installer package, PIC32CX-BZ2 HUT X.X firmware and the corresponding tools from the Microchip website at www.microchip.com/MCHPRT.
- Windows OS (version to be confirmed)
- MCHPRT3 installer package (MCHPRT3_Setup_v1.0.0.XXXX.exe)
- MPLAB ^ X IDE v5.45 or above
1.3 Acronyms and Abbreviations
Table 1-1. Acronyms and Abbreviations
| Acronyms and Abbreviations Description | |
| CLI Command Line Interface | |
| DLL Dynamic Link Library | |
| DUT Device Under Test | |
| GPIO General Purpose Input/Output | |
| GUI Graphical User Interface | |
| HUT Hardware Under Test | |
| IB Information Block | |
| MCHPRT3 tool Microchip Radio Test 3 tool | |
| OTP One Time Programmable | |
| RSSI Received Signal Strength Indicator |
2. Overview
This section provides an overview of the MCHPRT3 tool setup and the components. Install the MCHPRT3_setup_v1.0.0.XXXX.exe tool available in the C:\Microchip\ folder.
The following table provides the MCHPRT3 tool package files:
Table 2-1. MCHPRT3 Tool Package Files
| File Name Description | |
| MCHPRT3.exe file MCHPRT3 executable file | |
| MCHPRT3_CLI.exe file MCHPRT3 CLI executable file | |
| Release_note.txt | Tool release note file |
| uninstall.exe file Uninstall the MCHPRT3 tool | |
| vc_redist.x86.exe file Microsoft | ^ Visual C++ Redistributable (x86) executable file |
The following table provides the PIC32CX-BZ2 package files:
Table 2-2. PIC32CX-BZ2 Package Files
| File Name Description | |
| HEX file (.hex file) Hardware Under Test (HUT) firmware version file | |
| PIC32CX_BZ2.chm | PIC32CX-BZ2 complied HTML help file |
| PIC32CX_BZ2.dll file PIC32CX-BZ2 dynamic link library file | |
| PIC32CX_BZ2_CDECL.dll file Default calling convention file for C and C++ programs | |
| PIC32CX_BZ2_CLI.dll file PIC32CX-BZ2 command line dynamic link library file | |
| PIC32CX_BZ2_GUI.dll file PIC32CX-BZ2 graphical user interface dynamic link library file | |
Figure 2-1. MCHPRT3 Package Contents

text_image
MCHPRT3_Setup_v File Home Share View Search Quick access Desktop Downloads Documents Pictures Name Date modified Type Size PIC32CX_BZ2 File folder MCHPRT3.exe Application 552 KB MCHPRT3_CLI.exe Application 62 KB release_note.txt Text Document 8 KB uninstall.exe Application 78 KB vc_redist.x86.exe Application 14,294 KB3. MPLAB X IDE HUT Code Programming Process
In this demonstration, the user can program the HUT firmware to the PIC32CX-BZ2 device using a PC with the installed MPLAB Integrated Programming Environment (IPE).
Figure 3-1. MPLAB X IPE

text_image
MPLAB IPE v5.45 File Settings View Tools Window Help Operate Device and Tool Selection Family: All Families Device: 11AA010 Tool: Snap S.No : MT1xxxxxxxxx Apply Connect Results CRC32: N/A Pass Count: 1 Fail Count: 0 Total Count: 1 Hex File: Click on browse to select a hex file SQTP File: Click on browse to select a SQTP file Browse Clear selection Browse Clear selection Output - IPE * Tool: NA Device: 11AA010 Environment: NA SERIALEE_DFP 1.3.42 Tool Pack Version:LatestPerform the following steps for HUT firmware programming:
- Set up the connection between the WBZ451 Curiosity Board and PC. Refer to 4.1. Getting Started with MCHPRT3.
a. Start "MPLAB X IPE", then check for PIC32CX1012BC5048 in the "Device" text box. If it is not there, check the USB connection (step 1).
b. Click Apply.
c. Click Browse to load the HUT.Application.X.production.hex, which is the PIC32CX-BZ2 HUT X.X firmware.
d. Click Program, then wait one minute for the programming to complete.
Figure 3-2. MPLAB X IPE (Programming Complete)

text_image
MPLAB IPE v5.45 File Settings View Tools Window Help Operate Device and Tool Selection Results CRC32: 3DFA6722 Pass Count: 2 Fail Count: 0 Total Count: 2 Family: 32-bit MCUs (PIC32C/SAM) Device: PIC32CX1012BZ25048 Apply Tool: Snap S.No : MTbxxxxxxxxx Connect ? Hex File: \pic32cx-bz_hut_application-dev@3a105071509IHUT_A... Browse Clear selection SQTP File: Click on browse to select a SQTP file Browse Clear selection Output - IPE * The configuration memory will not be included in the program operation because the, "Exclude configuration memory WARNING; Programming configuration values on this device can cause unintended consequences if all of the configur Erasing... The following memory area(s) will be programmed: program memory: start address = 0x1000000, end address = 0x100bfff boot config memory Programming/Verify complete 2021-04-29 14:03:47 +0800 - Programming complete Tool: Snap S.No : MTbxxxxxxxxx Device: PIC32CX1012BZ25048 Environment: NA PIC32CX-BZ-ENG_DFP 1.0.45 Tool Pack Version:Latest- The PIC32CX-BZ2 is programmed with the HUT X.X firmware and ready for the test using the PIC32CX-BZ2 MCHPRT3 tool.
4. Getting Started
This section describes how to use the MCHPRT3 GUI to test or calibrate the PIC32CX-BZ2 with the Bluetooth Low Energy and Zigbee tester.
The following figure illustrates the MCHPRT3 for PIC32CX-BZ2 GUI with the following components:
Figure 4-1. PIC32CX-BZ2 GUI

text_image
PIC32CX BZ2 GUI Ver : DLL Version DLL: COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Get FW Version FW Version Device ID WBZ450 RF Mac Address IB File Calibration GPIO RF BT RF ZB RT Mode Channel TX Mode 2402 MHz BT TX Payload PHY Power Value PRBS9 PHY 1M 12dB START Packet Length MPA/LPA 255 MPA Digital Gain Disable BT RX RX Packet4.1 Getting Started with MCHPRT3
MCHPRT3 Package Features
- RF – RF test for Bluetooth and Zigbee TX/RX
- Calibration – TX Calibration and RX Calibration
- MAC Address – Read/Write Bluetooth Address and Zigbee MAC Address
- IB (Information Block) File – Read/Save IB file to/from buffer and Read/Commit IB buffer to/from DUT
• GPIO – GPIO Test Command
Figure 4-2. MCHPRT3 Block Diagram

flowchart
graph TD
A["MCHPRT 3"] --> B["RF"]
A --> C["MAC ADDRESS"]
A --> D["IB File"]
A --> E["Calibration"]
A --> F["GPIO Test"]
B --> G["BT TX/RX"]
B --> H["Zigbee TX/RX"]
C --> I["IB Buffer with File"]
C --> J["IB Buffer with DUT"]
I --> K["BT Address"]
J --> L["Zigbee MAC Address"]
The following are the steps to launch the MCHPRT3 tool:
- Double click MCHPRT3.exe under direction C:\Microchip\MCHPRT3_Setup_v1.0.0.XXXX; the following screen appears.
Figure 4-3. Start-Up Window of the MCHPRT3 Tool

text_image
MCHPRT3 Ver : Select GUI PIC32CX BZ2 Open- From the "Select GUI" drop-down list, select PIC32CX-BZ2.
- Click Open to launch the PIC32CX-BZ2 window (see the following figure).
Figure 4-4. PIC32CX-BZ2 GUI

text_image
PIC32CX BZ2 GUI Ver : DLL Version DLL: COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Get FW Version FW Version Device ID WBZ450 RF Mac Address IB File Calibration GPIO RF BT RF ZB RT Mode Channel TX Mode 2402 MHz BT TX Payload PHY Power Value PRBS9 PHY 1M 12dB START Packet Length MPA/LPA 255 MPA Digital Gain Disable BT RX RX PacketDescription of each component:
- Buttons on the top
- Connect/Disconnect the PIC32CX-BZ2
- Reset - Reset the PIC32CX-BZ2
- Cal. VCO - VCO calibration
- BUCK PWM - Switch the power mode into DC-DC (buck) mode
- PMU MLDO - Switch the power mode into MLDO mode
- Get FW Version – Obtain the firmware version from the sample
- Device ID - Select the appropriate part number that is connecting to the tool
- For connecting the WBZ451 module/PIC32CX1012BZ25048, select WBZ451
- For connecting the WBZ450 module/PIC32CX1012BZ25032, select WBZ450
- Enable PKOB4 - Only needed to check if the user is using the WBZ450 Curiosity Board
- RF for Bluetooth and Zigbee – Settings of RF mode, channel and TX parameter for RF test
- BT - TX setting of payload, PHY (data rate), MPA/LPA (PA setting), Packet length and MPA/LPA power step (Power Level). RX - number of RX packet
- Zigbee - TX settings of packet type, MPA/LPA (PA setting), power level, delay time between each packet and packet number. RX - setting of RX data rate and number of RX packet
- Calibration – Complete TX and RX calibration flow. The user can save calibration info to file or commit to NVM type Flash or OTP
- TX Calibration - Perform TX calibration flow to adjust transmitted power and output frequency to target
- RX Calibration - Perform RX calibration flow to obtain IRR, RSSI to corresponding received power and so on
- MAC Address – Read/write address
– BT address and Zigbee MAC address
• IB (Information Block) File
- Read IB file to IB buffer/save IB buffer to IB file
- Read DUT to IB buffer/commit IB buffer to DUT
- GPIO – Test GPIO for selected Port, Pin, In/Out and Level
- Start GPIO - Initialize GPIO for test
- GPIO Command - Execute GPIO test command for selected port, pin, in/out and level
- Stop GPIO - Stop GPIO test
4.2 Getting Started with MCHPRT3 PIC32CX-BZ2 GUI
Program the sample before use of the MCHPRT3 tool. For more details on the HUT code programming process, refer to 3. MPLAB X IDE HUT Code Programming Process.
To run an RF test on the PIC32 WBZ451 Curiosity Board, perform the following procedure:
- Connect the Micro USB in the Curiosity Board to the PC.
- Check whether the jumper for the current measurement was inserted or not.
- Run MCHPRT3.exe.
- From the "Select GUI" drop-down list, select PIC32CX-BZ2.
- Click Open to launch the PIC32CX-BZ2 window.
- Select the respective "COM PORT" (check device manager in PC). A different USB-to-UART serial converter requires the corresponding driver; install accordingly.
- Baud Rate - 115200 (default value)
- Click Connect.
- Click Reset to reset the device. The PIC32 WBZ451 Curiosity Board is ready for RF Test, Calibration and MAC Address Programming.
Figure 4-5. PIC32 WBZ451 Curiosity Board USB Connection

Figure 4-6. Current measurement jumper on PIC32 WBZ451 Curiosity Board

text_image
RGB-LED + PWR - I-MEAS G09385C61 USR-BT R14 R15 R16 R17 R18 R19 R20 R21 R22 R23 R24 R25 R26 R27 R28 R29 R30 R31 R32 R33 R34 R35 U6 U5 USB-LED D5 RESET C28 TP19 TP20 TP21 C30 Y1 C5 TPS U3 R5C6-J36DBG HDR4.3 MCHPRT3 PIC32CX-BZ2 GUI Demonstration
4.3.1 Bluetooth RF Test Demonstration
In this demonstration, the user can transmit Bluetooth Low Energy packets, enter RX mode and Test mode with the PIC32CX-BZ2 by using the MCHPRT3.
Perform the following steps for the demonstration of the Bluetooth RF TX modulation test:
-
Set up the connection between the PIC32 WBZ451 Curiosity Board and PC. For more details, refer to the 4.1. Getting Started with MCHPRT3.
-
In the RF BT tab, perform the following steps:
a. From the "RF Modes" drop-down list, select TX Mode.
b. From the "Channel" drop-down list, select 2402 MHz for channel 37.
c. From the "Payload" drop-down list, select PRBS9 (default value).
d. From the "PHY" drop-down list, select the Data Rate (1M,2M, S=2 and S=8), for example, select PHY 1M.
e. From the "Power Value" drop-down list, select the Output Power, for example, select 12dB.
f. From the "Packet Length" drop-down list, select the Packet Length (0-255), for example, 255 (default value).
g. To enable the selection of MPA/LPA, Disable on Power must be selected. Power is recommended to use for setting the output power level. MPA/LPA is disabled by default.
h. From the "MPA/LPA" drop-down list, select MPA or LPA, for example, select MPA.
i. From the "Digital Gain" drop-down list, select Disable (default value).
3. Click START to transmit the Bluetooth Low Energy packet.
Figure 4-7. MCHPRT3 PIC32CX-BZ2 GUI for Bluetooth RF TX Modulation Test Demonstration

text_image
PIC32CX BZ2 GUI Ver : DLL Version DLL COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Get FW Version FW Version Device ID WBZ451 RF Mac Address IB File Calibration GPIO RF BT RF ZB RT Mode Channel TX Mode 2402 MHz BT TX Payload PHY Power Value PRBS9 PHY 1M 12dB Packet Length MPA/LPA 255 MPA Digital Gain Disable BT RX RX Packet STARTPerform the following steps for the demonstration of the Bluetooth RF RX mode:
-
Set up the connection between the PIC32 WBZ451 Curiosity Board and PC. For more details, refer to 4.1. Getting Started with MCHPRT3.
-
In the RF BT tab, perform the following steps:
a. From the "RF mode" drop-down list, select RX Mode.
b. From the "Channel" drop-down list, select 2402 MHz for channel 37.
- Click START to receive the Bluetooth Low Energy packet. The number of received packets is shown in the drop-down list, "RX Packet".
Figure 4-8. MCHPRT3 PIC32CX-BZ2 GUI for Bluetooth RF RX mode Demonstration

text_image
PIC32CX BZ2 GUI Ver : DLL Version DLL: COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Get FW Version FW Version Device ID WBZ451 RF Mac Address IB File Calibration GPIO RF BT RF ZB RT Mode Channel RX Mode 2402 MHz BT TX Payload PHY Power Value PRBS9 PHY 1M 12dB Packet Length MPA/LPA 255 MPA Digital Gain Disable BT RX RX Packet STARTPerform the following steps for the demonstration of the Bluetooth Low Energy Test mode:
-
For the Bluetooth Low Energy Test mode, the sample must contain the following connection:
-
HCI_TXD (PA5 from the module)
- HCI_RXD (PA6 from the module)
- VDD (connect with external power supply)
-
Ground
-
Use the USB-to-UART serial converter to make the connection between the sample and PC by connecting the HCI_TXD, HCI_RXD and ground with the converter.
- Power the sample with 3.3V supply.
- Select the respective COM PORT (the COM port with the converter) in MCHPRT3.
- In the RF BT tab, perform the following steps:
a. From the "RF mode" drop-down list, select Test Mode.
- Click START to enter the Bluetooth test mode, and Click Disconnect in the GUI. Disconnect the UART interface from the DUT while keeping the power supply, and connect it with the Bluetooth tester.
Figure 4-9. MCHPRT3 PIC32CX-BZ2 GUI for Bluetooth Test Mode Connecting with Bluetooth Tester Demonstration

text_image
PIC32CX BZ2 GUI Ver : DLL Version DLL: COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Get FW Version FW Version Device ID WBZ451 RF Mac Address IB File Calibration GPIO RF BT RF ZB Test Mode Channel BT TX Payload PHY Power Value PRBS9 PHY 1M 12dB Packet Length MPA/LPA 255 MPA Digital Gain Disable BT RX RX Packet STARTPerform the following steps for the demonstration of the Bluetooth Low Energy adaptivity frequency hopping (AFH) packet transmission:
- Set up the connection between the PIC32 WBZ451 Curiosity Board and PC. For more details, refer to 4.1. Getting Started with MCHPRT3.
- In the RF BT tab, perform the following steps:
a. From the "RF mode" drop-down list, select AFH Mode.
b. From the "Payload" drop-down list, select PRBS9 (default value).
c. From the "PHY" drop-down list, select the Data Rate (1M,2M, S=2 and S=8), for example, select PHY 1M.
d. From the "RF mode" drop-down list, select the Output Power, for example, select 12dB.
e. From the "Packet Length" drop-down list, select the Packet Length (0-255), for example, 255 (default value).
f. To enable the selection of MPA/LPA, Disable on Power must be selected. Power is recommended to use for setting the output power level. MPA/LPA is disabled by default.
g. From the "MPA/LPA" drop-down list, select MPA or LPA, for example, select MPA.
h. From the "Digital Gain" drop-down list, select Disable (default value).
- Click START to transmit the Bluetooth Low Energy packet with adaptivity frequency hopping.
Figure 4-10. MCHPRT3 PIC32CX-BZ2 GUI for Bluetooth Adaptivity Frequency Hopping (AFH) TX Test Demonstration

text_image
PIC32CX BZ2 GUI Ver : DLL Version DLL: COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Get FW Version FW Version Device ID WBZ451 RF Mac Address IB File Calibration GPIO RF BT RF ZB BT TX Payload PHY Power Value AFH Mode 2402 MHz PRBS9 PHY 1M 12dB START Packet Length MPA/LPA 255 MPA Digital Gain Disable BT RX RX Packet4.3.2 Zigbee RF Test Demonstration
In this demonstration, the user can transmit Zigbee packets, enter RX mode and CW mode with the PIC32CX-BZ2 by using the MCHPRT3.
Perform the following steps for the demonstration of Zigbee packet transmission:
- Set up the connection between the PIC32 WBZ451 Curiosity Board and PC. For more details, refer to 4.1. Getting Started with MCHPRT3.
- In the RF ZB tab, perform the following steps:
a. From the "RF Modes" drop-down list, select TX Mode.
b. From the "Channel" drop-down list, select 2405 MHz for channel 11.
c. From the "Packet Type" drop-down list, select Packet Type as General (default value) or Smallest.
d. From the "MPA/LPA" drop-down list, select MPA or LPA, for example, select MPA.
e. From the "Power Level" drop-down list, select Disable (the maximum power level is the default value).
f. From the "Delay Time" drop-down list, select the Packet Delay Time (00-250) (the default value is 10).
g. From the "Packet Number" drop-down list, select the Number of Transmitting Packet (00-250) (the default value is 00, Continuous Packet Transmission).
h. From the "Digital Gain" drop-down list, select Disable (default value).
3. Click START to transmit the Zigbee packet.
Note: The "Data Rate" is fixed at 250 Kbps, and the "Delay Time" is 10.
Figure 4-11. MCHPRT3 PIC32CX-BZ2 GUI for Zigbee RF TX Modulation Test Demonstration

text_image
PIC32CX BZ2 GUI Ver : DLL Version DLL: COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Get FW Version FW Version Device ID WBZ451 RF Mac Address IB File Calibration GPIO RF BT RF ZB RF Mode Channel ZB TX Packet Type MPA/LPA Power Level TX Mode 2405 MHz General MPA Disable Data Rate Delay Time Packet Number Digital Gain 250kbps 10 00 (Contrir) Disable ZB RX RX Packet ZB CERT Get Value Times ED Value LQI Value 10 CCA Mode CCA Value TXtoRX Status Mode 0Perform the following steps for the demonstration of the Zigbee RX mode:
- Set up the connection between the PIC32 WBZ451 Curiosity Board and PC. For more details, refer to 4.1. Getting Started with MCHPRT3.
- In the RF ZB tab, perform the following steps:
a. From the "RF Modes" drop-down list, select RX Mode.
b. From the "Channel" drop-down list, select 2405 MHz for channel 11.
c. From the "RX Data Rate" drop-down list, select Data Rate (250K, 500K, 1M and 2M), for example, select 250K.
- Click START to receive the Zigbee packet. The total number of received packets are available under the "RX Packet" drop-down list.
Figure 4-12. MCHPRT3 PIC32CX-BZ2 GUI for Zigbee RF RX Mode Demonstration

text_image
PIC32CX BZ2 GUI Ver : DLL Version DLL: COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Get FW Version FW Version Device ID WBZ451 RF Mac Address IB File Calibration GPIO RF BT RF ZB RF Mode Channel RX Mode 2405 MHz Data Rate 250kbps ZB TX Packet Type MPA/LPA Power Level General MPA Disable START Delay Time Packet Number Digital Gain 10 00 (Contin Disable ZB RX RX Packet ZB CERT Get Value Times ED Value LQI Value 10 CCA Mode CCA Value TXtoRX Status Mode 0Perform the following steps for the demonstration of the Zigbee CW mode to transmit CW tone:
- Set up the connection between the PIC32 WBZ451 Curiosity Board and PC. For more details, refer to 4.1. Getting Started with MCHPRT3.
- In the RF ZB tab, perform the following steps:
a. From the "RF mode" drop-down list, select CW Mode.
b. From the "Channel" drop-down list, select 2405 MHz for channel 11.
c. From the "MPA/LPA" drop-down list, select MPA or LPA, for example, select MPA.
d. From the "Power Level" drop-down list, select Disable (the maximum power level is the default value).
- Click START to transmit the CW tone.
Figure 4-13. MCHPRT3 PIC32CX-BZ2 GUI for Zigbee CW Mode Demonstration

text_image
PIC32CX BZ2 GUI Ver : DLL Version DLL: COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Get FW Version FW Version Device ID WBZ451 RF Mac Address IB File Calibration GPIO RF BT RF ZB RF Mode Channel CW Mode 2405 MHz Data Rate 250kbps ZB TX Packet Type MPA/LPA Power Level General MPA Disable Delay Time Packet Number Digital Gain 10 00 (Contrin Disable ZB RX RX Packet ZB CERT Get Value Times ED Value LQI Value 10 CCA Mode CCA Value TXtoRX Status Mode 0ED Mode, LQI Mode, CCA Mode, TX to RX mode and RX to TX mode as well as the area of ZB CERT are used in Zigbee PHY certification.
Figure 4-14. MCHPRT3 PIC32CX-BZ2 GUI for Zigbee PHY Test

text_image
PIC32CX BZ2 GUI Ver : DLL Version DLL: COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Get FW Version FW Version Device ID WBZ451 RF Mac Address IB File Calibration GPIO RF BT RF ZB RF Mode Channel ZB TX Packet Type MPA/LPA Power Level CW Mode 2405 MHz General MPA Disable TX Mode RX Rate Delay Time Packet Number Digital Gain CW Mode 250kbps 10 00 (Contin) Disable ED Mode LQI Mode CCA Mode TX to RX Mode RX to TX Mode ZB RX RX Packet ZB CERT Get Value Times ED Value LQI Value 10 CCA Mode CCA Value TXtoRX Status Mode 04.3.3 Calibration Flow Demonstration
In this demonstration, the user can calibrate TX parameters and RX parameters of the PIC32CX-BZ2 using a PC with the installed MCHPRT3 tool.
Perform the following steps for the demonstration of the calibration flow (see the following figure):
- Set up the connection between the PIC32 WBZ451 Curiosity Board and PC. For more details, refer to 4.1. Getting Started with MCHPRT3.
- Connect the u.FL connector on the PIC32CX-BZ2 to Bluetooth/Zigbee tester (IQxel or others) to measure the RF power from the PIC32CX-BZ2.
- Check the cable loss between the PIC32CX-BZ2 u.FL connector to the Bluetooth/Zigbee tester.
- MLDO is the preferred mode of calibration. Click PMU MLDO to use the MLDO mode to perform calibration.
- Enter Cable loss, and select Save IB type (Flash/OTP) and DUT Mode (MPA+LPA/LPA only).

OTP is limited in memory of 4k, and it can only be calibrated for 10 to 15 times.
-
Click Start Cal. to start the new calibration.
-
Click VTA Cal in Cal. step 1. VTA and wait for done.
- Click Freq. Start in Cal. step 2. Freq., the DUT transmits the Bluetooth Low Energy packet at 2440 MHz.
-
Check the carrier frequency at the tester and click Freq. decrease or Freq. increase to change the carrier frequency.
-
Once the carrier frequency is close to 2440 MHz, click Freq. Done.
-
Click MPA Start in Cal. step 3. RF Power, read the power level in the tester, then enter it in the tool.
- Click MPA Power Tune in Cal. step 3. RF Power; repeat steps 11 and 12 until the power level reaches the target power, 8 dBm ± 0.5 dB.
-
Click LPA Start in Cal. step 3. RF Power, read the power level in the tester, then enter it in the tool.
-
Click LPA Power Tune in Cal. step 3. RF Power, repeat steps 13 and 14 until the power level reaches the target power, 4 dBm ± 0.5 dB.
-
If it is LPA only in the DUT Mode, the LPA target power would be 5.5 dBm ± 0.5 dB.
-
Click LOFT/TXIQ/FLT Calibration in Cal. step 4. LOFT/TXIQ/FLT, then wait for done.
-
Click IRR Cal. Init. in Cal. step 5. IRR.
-
Generate 2440 MHz CW tone at -75 dBm by using the tester, then feed it into DUT and click IRR -75 Loop Test 1.
-
Generate 2436 MHz CW tone at -50 dBm by using the tester, then click IRR -50 Loop test 1.
-
Repeat the steps 18 and 19, clicking IRR -75 Loop Test 2 – 4 and IRR -50 Loop test 2 – 4.
-
Click IRR Cal. Done.
-
Click Temp. SAR Cal in Cal. step 6. Temp. SAR and wait for done.
-
Click ED Cal. Init., generate 2440 MHz CW tone at -70 dBm by using the tester ED Cal. Trim in Cal. step 7. ED.
-
Click ED Cal. Done.
-
Click Save Cal. Data in Cal. step 8. Save data to save the calibration data into the file and the DUT.
Figure 4-15. MCHPRT3 PIC32CX-BZ2 GUI for Calibration Flow Demonstration

text_image
PIC32CX BZ2 GUI Ver : DLL Version DLL: COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Get FW Version FW Version Device ID WBZ451 RF Mac Address IB File Calibration GPIO Cal. step 0. Condition Cable loss Save IB Type DUT Mode Start Cal. Flash MPA + LPA Erase IB Flash Cal. Flow Status Please press 'Start Cal.' to start calibration Cal. step 1. VTA VTA Cal Cal. step 2. Freq. Freq. Start Freq. Decrease Freq. Increase Freq. Done Cal. step 3. RF Power MPA Start MPA Power Tune LPA Start LPA Power Tune Cal. step 4. LOFT/TXIQ/FLT LOFT / TXIQ / FLT Calibration Cal. step 5. IRR IRR Cal. Init IRR Cal. Done IRR -75 Loop Test 1 IRR -75 Loop Test 2 IRR -75 Loop Test 3 IRR -75 Loop Test 4 IRR -50 Loop Test 1 IRR -50 Loop Test 2 IRR -50 Loop Test 3 IRR -50 Loop Test 4 Cal. step 6. Temp. SAR Temp. SAR Cal. step 7. ED ED Cal. Init ED Cal. Trim ED Cal. Done Cal. step 8. Save data Save Cal. DataFigure 4-16. Calibration Setup

flowchart
graph LR
A["PC\nMCHPRT 3 installed"] <-->|UART| B["DUT\nE.g. PIC32 W8Z451 Curiosity Board"]
B <-->|RF Cable| C["Tester\nBT/Zigbee tester, E.g. IQxel"]
4.3.4 Operation on IB (Information Block) File
Figure 4-17. MCHPRT3 PIC32CX-BZ2 GUI for IB (Information Block) File Operation

text_image
PIC32CX BZ2 GUI Ver : DLL Version DLL: COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Get FW Version FW Version Device ID WBZ451 RF Mac Address IB File Calibration GPIO IB Buffer V.S. File Read IB File to IB Buffer Save IB Buffer to IB File IB Buffer V.S. DUT IB Type Flash Read DUT to IB Buffer Commit IB Buffer to DUTThe user can perform the following in the IB File tab:
- Read the IB (1) File to IB Buffer(2)
- Save IB Buffer into the IB File
- From the "IB Type" drop-down list, select Flash (default value).
- Read the IB from DUT into the IB Buffer
- Commit the IB Buffer into DUT – the IB is stored in the Flash
Note:
- Use the Information Block (IB) to store various types of calibration and system configuration information.
- The IB Buffer is a temporary PC location for the Information Block (IB).
4.3.5 MAC Address Programming
In this demonstration, the user can set the Bluetooth Address and Zigbee MAC Address of the PIC32CX-BZ2 using a PC with the MCHPRT3 tool installed.
In the MAC Address tab, perform the following steps for MAC Address programming:
- From the "IB Type" drop-down list, select Flash (default value).
- To read the Bluetooth address from the IB, click Read BT Addr from IB.
- To write the Bluetooth address:
a. Click Write BT Addr to IB Buffer.
b. Click Commit BT Addr IB Buffer to IB.
- To read Zigbee MAC address from IB, click Read ZB Addr from IB.
- To write Zigbee MC address:
a. Click Write ZB Addr to IB Buffer.
b. Click Commit ZB Addr IB Buffer to IB.
Figure 4-18. MCHPRT3 PIC32CX-BZ2 GUI for MAC Address Programming

text_image
PIC32CX BZ2 GUI Ver : DLL Version DLL: COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Get FW Version FW Version Device ID WBZ451 RF Mac Address IB File Calibration GPIO DUT Address IB Type Flash BT Address Read BT Addr from IB Write BT Addr to IB Buffer Commit BT Addr IB Buffer to IB Type (0/1) BT Address 0 12:34:56:78:9A:BC ZB Address Read ZB Addr from IB Write ZB Addr to IB Buffer Commit ZB Addr IB Buffer to IB ZB MAC Address 01:23:45:67:89:AB:CD:EF4.3.6 GPIO Demonstration
In this demonstration, the user can configure or test the GPIO of the PIC32CX-BZ2 using a PC with the installed MCHPRT3 tool.
In the GPIO tab, perform the following steps for GPIO Demonstration (see the following figure):
- Click Start GPIO Test to initiate the GPIO settings for configuration or test.
- Select "Port", "Pin", "In/Out" and "Level" to configure or test the GPIO pins.
- Click Run to apply the GPIO configuration.
- Repeat step 2 and 3 to perform a new GPIO configuration or test.
- Click Stop GPIO Test to stop the GPIO settings for configuration or test.
- Check the checkbox on each item to perform multiple GPIO configurations. Click Run All Select GPIO to apply all the selected GPIO configuration.
Figure 4-19. MCHPRT3 PIC32CX-BZ2 GUI GPIO Demonstration

text_image
PIC32CX BZ2 GUI Ver: DLL Version DLL COM Port Baud Rate 115200 Enable PKOB4 Connect Disconnect SetTimeout Reset Cal VCO BUCK PWM PMU MLDO Device ID WBZ451 RF Mac Address IB File Calibration GPIO Please check the Hardware Connection and GPIO Definition to avoid any conflict before GPIO Test. Start GPIO Test Run All Select GPIO Select All Stop GPIO Test Item 00 Port Port A Pin PA00 In/Out INPUT Level HIGH Run Item 01 Port Port A Pin PA00 In/Out INPUT Level HIGH Run Item 02 Port Port A Pin PA00 In/Out INPUT Level HIGH Run Item 03 Port Port A Pin PA00 In/Out INPUT Level HIGH Run Item 04 Port Port A Pin PA00 In/Out INPUT Level HIGH Run Item 05 Port Port A Pin PA00 In/Out INPUT Level HIGH Run Item 06 Port Port A Pin PA00 In/Out INPUT Level HIGH Run Item 07 Port Port A Pin PA00 In/Out INPUT Level HIGH Run Item 08 Port Port A Pin PA00 In/Out INPUT Level HIGH Run Item 09 Port Port A Pin PA00 In/Out INPUT Level HIGH Run Item 10 Port Port A Pin PA00 In/Out INPUT Level HIGH Run Item 11 Port Port A Pin PA00 In/Out INPUT Level HIGH Run5. Document Revision History
| Revision Date Section Description | ||
| A 08/2022 Document Initial revision |
Microchip Information
The Microchip Website
Microchip provides online support via our website at www.microchip.com/. This website is used to make files and information easily available to customers. Some of the content available includes:
- Product Support – Data sheets and errata, application notes and sample programs, design resources, user's guides and hardware support documents, latest software releases and archived software
- General Technical Support – Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip design partner program member listing
- Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives
Product Change Notification Service
Microchip's product change notification service helps keep customers current on Microchip products. Subscribers will receive email notification whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest.
To register, go to www.microchip.com/pcn and follow the registration instructions.
Customer Support
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
- Local Sales Office
• Embedded Solutions Engineer (ESE)
- Technical Support
Customers should contact their distributor, representative or ESE for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in this document.
Technical support is available through the website at: www.microchip.com/support
Microchip Devices Code Protection Feature
Note the following details of the code protection feature on Microchip products:
- Microchip products meet the specifications contained in their particular Microchip Data Sheet.
- Microchip believes that its family of products is secure when used in the intended manner, within operating specifications, and under normal conditions.
- Microchip values and aggressively protects its intellectual property rights. Attempts to breach the code protection features of Microchip product is strictly prohibited and may violate the Digital Millennium Copyright Act.
- Neither Microchip nor any other semiconductor manufacturer can guarantee the security of its code. Code protection does not mean that we are guaranteeing the product is “unbreakable”. Code protection is constantly evolving. Microchip is committed to continuously improving the code protection features of our products.
Legal Notice
This publication and the information herein may be used only with Microchip products, including to design, test, and integrate Microchip products with your application. Use of this information in any other manner violates these terms. Information regarding device applications is provided only for your convenience and may be superseded
by updates. It is your responsibility to ensure that your application meets with your specifications. Contact your local Microchip sales office for additional support or, obtain additional support at www.microchip.com/en-us/support/design-help/client-support-services.
THIS INFORMATION IS PROVIDED BY MICROCHIP "AS IS". MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE, OR WARRANTIES RELATED TO ITS CONDITION, QUALITY, OR PERFORMANCE.
IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL, OR CONSEQUENTIAL LOSS, DAMAGE, COST, OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE INFORMATION OR ITS USE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY RELATED TO THE INFORMATION OR ITS USE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THE INFORMATION.
Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights unless otherwise stated.
Trademarks
The Microchip name and logo, the Microchip logo, Adaptec, AVR, AVR logo, AVR Freaks, BesTime, BitCloud, CryptoMemory, CryptoRF, dsPIC, flexPWR, HELDO, IGLOO, JukeBlox, KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer, QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
AgileSwitch, APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, Flashtec, Hyper Speed Control, HyperLight Load, Libero, motorBench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus, ProASIC Plus logo, Quiet-Wire, SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub, TimePictra, TimeProvider, TrueTime, and ZL are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, Augmented Switching, BlueSky, BodyCom, Clockstudio, CodeGuard, CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, Espresso T1S, EtherGREEN, GridTime, IdealBridge, In-Circuit Serial Programming, ICSP, INICnet, Intelligent Paralleling, IntelliMOS, Inter-Chip Connectivity, JitterBlocker, Knob-on-Display, KoD, maxCrypto, maxView, memBrain, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, RTAX, RTG4, SAM-ICE, Serial Quad I/O, simpleMAP, SimpliPHY, SmartBuffer, SmartHLS, SMART-I.S., storClad, SQI, SuperSwitcher, SuperSwitcher II, Switchtec, SynchroPHY, Total Endurance, Trusted Time, TSHARC, USBCheck, VariSense, VectorBlox, VeriPHY, ViewSpan, WiperLock, XpressConnect, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.
The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered trademarks of Microchip Technology Inc. in other countries.
GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
All other trademarks mentioned herein are property of their respective companies.
© 2022, Microchip Technology Incorporated and its subsidiaries. All Rights Reserved.
ISBN: 978-1-6683-0915-5
Quality Management System
For information regarding Microchip's Quality Management Systems, please visit www.microchip.com/quality.
Worldwide Sales and Service
AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE
| Corporate Office | Australia - Sydney | India - Bangalore | Austria - Wels |
| 2355 West Chandler Blvd. | Tel: 61-2-9868-6733 | Tel: 91-80-3090-4444 | Tel: 43-7242-2244-39 |
| Chandler, AZ 85224-6199 | China - Beijing | India - New Delhi | Fax: 43-7242-2244-393 |
| Tel: 480-792-7200 | Tel: 86-10-8569-7000 | Tel: 91-11-4160-8631 | Denmark - Copenhagen |
| Fax: 480-792-7277 | China - Chengdu | India - Pune | Tel: 45-4485-5910 |
| Technical Support: | Tel: 86-28-8665-5511 | Tel: 91-20-4121-0141 | Fax: 45-4485-2829 |
| www.microchip.com/support | China - Chongqing | Japan - Osaka | Finland - Espoo |
| Web Address: | Tel: 86-23-8980-9588 | Tel: 81-6-6152-7160 | Tel: 358-9-4520-820 |
| www.microchip.com | China - Dongguan | Japan - Tokyo | France - Paris |
| Atlanta | Tel: 86-769-8702-9880 | Tel: 81-3-6880-3770 | Tel: 33-1-69-53-63-20 |
| Duluth, GA | China - Guangzhou | Korea - Daegu | Fax: 33-1-69-30-90-79 |
| Tel: 678-957-9614 | Tel: 86-20-8755-8029 | Tel: 82-53-744-4301 | Germany - Garching |
| Fax: 678-957-1455 | China - Hangzhou | Korea - Seoul | Tel: 49-8931-9700 |
| Austin, TX | Tel: 86-571-8792-8115 | Tel: 82-2-554-7200 | Germany - Haan |
| Tel: 512-257-3370 | China - Hong Kong SAR | Malaysia - Kuala Lumpur | Tel: 49-2129-3766400 |
| Boston | Tel: 852-2943-5100 | Tel: 60-3-7651-7906 | Germany - Heilbronn |
| Westborough, MA | China - Nanjing | Malaysia - Penang | Tel: 49-7131-72400 |
| Tel: 774-760-0087 | Tel: 86-25-8473-2460 | Tel: 60-4-227-8870 | Germany - Karlsruhe |
| Fax: 774-760-0088 | China - Qingdao | Philippines - Manila | Tel: 49-721-625370 |
| Chicago | Tel: 86-532-8502-7355 | Tel: 63-2-634-9065 | Germany - Munich |
| Itasca, IL | China - Shanghai | Singapore | Tel: 49-89-627-144-0 |
| Tel: 630-285-0071 | Tel: 86-21-3326-8000 | Tel: 65-6334-8870 | Fax: 49-89-627-144-44 |
| Fax: 630-285-0075 | China - Shenyang | Taiwan - Hsin Chu | Germany - Rosenheim |
| Dallas | Tel: 86-24-2334-2829 | Tel: 886-3-577-8366 | Tel: 49-8031-354-560 |
| Addison, TX | China - Shenzhen | Taiwan - Kaohsiung | Israel - Ra'anana |
| Tel: 972-818-7423 | Tel: 86-755-8864-2200 | Tel: 886-7-213-7830 | Tel: 972-9-744-7705 |
| Fax: 972-818-2924 | China - Suzhou | Taiwan - Taipei | Italy - Milan |
| Detroit | Tel: 86-186-6233-1526 | Tel: 886-2-2508-8600 | Tel: 39-0331-742611 |
| Novi, MI | China - Wuhan | Thailand - Bangkok | Fax: 39-0331-466781 |
| Tel: 248-848-4000 | Tel: 86-27-5980-5300 | Tel: 66-2-694-1351 | Italy - Padova |
| Houston, TX | China - Xian | Vietnam - Ho Chi Minh | Tel: 39-049-7625286 |
| Tel: 281-894-5983 | Tel: 86-29-8833-7252 | Tel: 84-28-5448-2100 | Netherlands - Drunen |
| Indianapolis | China - Xiamen | Tel: 31-416-690399 | |
| Noblesville, IN | Tel: 86-592-2388138 | Fax: 31-416-690340 | |
| Tel: 317-773-8323 | China - Zhuhai | Norway - Trondheim | |
| Fax: 317-773-5453 | Tel: 86-756-3210040 | Tel: 47-72884388 | |
| Tel: 317-536-2380 | Poland - Warsaw | ||
| Los Angeles | Tel: 48-22-3325737 | ||
| Mission Viejo, CA | Romania - Bucharest | ||
| Tel: 949-462-9523 | Tel: 40-21-407-87-50 | ||
| Fax: 949-462-9608 | Spain - Madrid | ||
| Tel: 951-273-7800 | Tel: 34-91-708-08-90 | ||
| Raleigh, NC | Fax: 34-91-708-08-91 | ||
| Tel: 919-844-7510 | Sweden - Gothenberg | ||
| New York, NY | Tel: 46-31-704-60-40 | ||
| Tel: 631-435-6000 | Sweden - Stockholm | ||
| San Jose, CA | Tel: 46-8-5090-4654 | ||
| Tel: 408-735-9110 | UK - Wokingham | ||
| Tel: 408-436-4270 | Tel: 44-118-921-5800 | ||
| Canada - Toronto | Fax: 44-118-921-5820 | ||
| Tel: 905-695-1980 | |||
| Fax: 905-695-2078 |