Microchip Technology MPAF User manual

MPAF User Manual

2
Content
1. Environment Introduction.......................................................................................................4
1.1 HW Environment for Audio Product: .................................................................................................................4
1.2 HW Environment for Data Product:...................................................................................................................5
1.3 HW Environment for Bluetooth dongle:.............................................................................................................6
1.4 HW Environment for NFC Reader:....................................................................................................................6
1.5 Other HW Environment.....................................................................................................................................6
1.6 Software Environment.......................................................................................................................................6
2. Environment Configuration....................................................................................................8
2.1 Log / Com Port..................................................................................................................................................8
2.2 Product / Solution..............................................................................................................................................9
2.3 LOAD / SAVE / APPLY / EXIT...........................................................................................................................9
3. Test Item Configuration –For Audio Product .......................................................................9
3.1 Item - 20050 Initialization ................................................................................................................................10
3.2 Item - 20100 Connect DUT.............................................................................................................................10
3.3 Item –21100 Battery Test (Option) .................................................................................................................14
3.4 Item –21200 TSSI Test (Option).....................................................................................................................14
3.5 Item –22200 Button Test (Option) ..................................................................................................................14
3.6 Item –23300 HFP SPK And MIC Test (Option) ..............................................................................................17
3.7 Item –25550 Patch EEPROM (Option) ..........................................................................................................18
3.8 Item –25595 Write DUT Device Name (Option).............................................................................................19
3.9 Item –25600 Write DUT Device Address (Option) .........................................................................................20
3.10 Item –28800 Read From NFC Write To DUT (Option)...................................................................................21
3.11 Item –29000 Disconnect DUT........................................................................................................................22
4. Test Item Configuration –For Data Product........................................................................24
4.1 Item - 20050 Initialization ................................................................................................................................24
4.2 Item - 20100 Connect DUT.............................................................................................................................24
4.3 Item –21150 Battery Voltage Test (Option) ....................................................................................................27
4.4 Item –21250 RSSI Test (Option) ....................................................................................................................27
4.5 Item –21300 PTS Test (Option)......................................................................................................................28
4.6 Item –22300 ADC Test (Option) .....................................................................................................................28
4.7 Item –22400 GPIO Input / Output Test (Option).............................................................................................35
4.8 Item –22500 PWM Test (Option)....................................................................................................................40
4.9 Item –22600 Transparent Data (Option) ........................................................................................................43
4.10 Item –25500 Reference EEPROM (Option)...................................................................................................44

3
4.11 Item –25595 Write DUT Device Name (Option).............................................................................................44
4.12 Item –25820 Check The Customer UI Footprint (Option)..............................................................................46
4.13 Item –28200 Write Flash UI (Option) .............................................................................................................46
4.14 Item –28595 Write DUT Device Name (Option).............................................................................................47
4.15 Item –29000 Disconnect DUT........................................................................................................................48
5. Run Test .................................................................................................................................49
5.1 Main Run UI Layout Description .....................................................................................................................49
5.2 Scan Bluetooth Device UI ...............................................................................................................................51
5.3 Barcode Input UI .............................................................................................................................................52
5.4 NFC Detect UI.................................................................................................................................................54
5.5 Button Test UI..................................................................................................................................................57
5.6 HFP SPK And MIC Test...................................................................................................................................58
5.7 GPIO Input / Output Test.................................................................................................................................58
5.8 PWM Test........................................................................................................................................................58
6. Example –For Audio Product ..............................................................................................59
6.1 Example 1: Change DUT Device Name And Device Address ........................................................................59
6.2 Example 2: Test Button, Microphone And Speaker Assembly Status .............................................................66
6.3 Example 3: Patch DUT Parameters................................................................................................................73
7. Example –For Data Product.................................................................................................76
7.1 Example 1: Transparent Data Transfer ...........................................................................................................76
7.2 Example 2: Change Device Name..................................................................................................................79
8. Q & A ......................................................................................................................................84
8.1 AG Timeout .....................................................................................................................................................84
8.2 Dongle Timeout...............................................................................................................................................84
8.3 Open Log File Fail...........................................................................................................................................84
8.4 Patch File Not Match.......................................................................................................................................85
8.5 Wav File Not Mono..........................................................................................................................................85

4
1. Environment Introduction
MPAF (Mass Production Assembly Function Test Tool) is a tool with controller to execute device test
or configure device parameter through Bluetooth connection through air. There are two HW
environments to use this software, one is for audio product, and another is for data product. The
audio product must support Hand Free Profile (HFP). The data product must support BLEDK3 command
sets.
1.1 HW Environment for Audio Product:
Require Audio Gateway 2.X hardware with least flash code. Need EDGAR II or EDGAR III to connect
Audio Gateway 2.X to PC.
Audio Gateway 2.X
EDGAR_II
EDGAR_III
Connect Audio Gateway 2.X as bellow picture.

5
1.2 HW Environment for Data Product:
Require BM-7x-OTA with latest BLEDK3 flash code. Connect to PC by micro-USB cable
BM-7x-OTA
Micro-USB

6
1.3 HW Environment for Bluetooth dongle:
If you want scan Bluetooth device, the PC must have a Bluetooth dongle with window Bluetooth
stack. Please check PC Device manager exist correct dongle like below:
1.4 HW Environment for NFC Reader:
If you want to use NFC tag to connect device, you must have NFC Reader. MPAD only support ACS
ACR 122 Smart Card reader. Please check PC Device manager exist correct dongle like below:
*NFC tag must NFC Forum Type2 Tag.
1.5 Other HW Environment
OS requirements: MS Windows 7 SP1
Port : COM port which supports baud rate of 115200
1.6 Software Environment
Application folder contain as bellow

7
Configuration Screen

8
Run Test Screen
2. Environment Configuration
2.1 Log / Com Port
Log Folder
Press to open folder browser dialog to select folder path. Please do not include space during
the folder path. The user must have read/write permission on this folder path.
Log SN
This number is start of SN number on log content. Increased by each DUT test.
COM Port
Please select com port to connect AG. List show all com port on pc.

9
2.2 Product / Solution
Product Name
The editable Bluetooth device product name, e.g. IS1685S_305_SPK_V5.1_MPAF
Solution
The solution name of Bluetooth IC/Module, which defined by Microchip.
2.3 LOAD / SAVE / APPLY / EXIT
LOAD: Load configuration from *.mpaf file.
SAVE: Save configuration to *.mpaf file.
APPLY: check configuration and change to test screen.
EXIT: exit MPAF.
3. Test Item Configuration –For Audio Product
Support Test Item
Supported test items but it’s “Un-selected”. If you want to test these items use “ADD”to add to MP
Test Item field.
MP Test Item
Also called selected test items, these items will be testing on DUT.
ADD - - >
Add selected test item to MP Test Item field.
DEL < - -
Del selected test item from MP Test Item field.

10
3.1 Item - 20050 Initialization
Check Interface Exist Timeout
This parameter is for check AG. If AG not response after this setting time, program will show as
bellow message box, please go back to check AG is connected already.
3.2 Item - 20100 Connect DUT
3.2.1Connect Mode
Select Connect Mode
Connect DUT mode select, default mode is BARCODE, support mode SCAN, BARCODE, LINKBACK,
NFC, FIXED. User must configuration detail parameters on reference tab. LINKBACK mode do not
need configuration detail parameter.
Connect Time Out
Program waiting DUT connected time, default time is 12 second.
3.2.2SCAN

11
*.Note
Need a Bluetooth dongle on PC or built-in Bluetooth module on NB.
Support only built-in Bluetooth stack.
Make sure only one Bluetooth stack is installed on PC to prevent software conflict.
Please remove other Bluetooth stack before installation.
Scan Limit Range
If you want to scan device with Bluetooth device address range, enable this function. Default is
disable, all address can be scan.
Scan Filter Start
Scan limit range start address, scan result device’s Bluetooth address will more than or equal this
setting.
Scan Filter Stop
Scan limit range stop address, scan result device’s Bluetooth address will less than or equal this
setting.
Scan Limit Name
If you want to scan device with Bluetooth device name, enable this function. Default is disable, all
device can be scan.
Scan Filter Name
Scan limit filter name, scan result device’s name will only show what device’s name include this
filter name.
3.2.3BARCODE

12
Barcode Format
001167000000 is default format sample. Another format is with coon, like 00:11:67:00:00:00
Barcode Search Type
How to find Bluetooth address on your barcode, “Index” type is position of all barcode input, start
with zero. “Key” type is prefix of Bluetooth address on all barcode input word.
Barcode Keyword
Only work on Barcode search type equal to “Key”. Program use this setting to get Bluetooth
address.
If barcode content is “MAC 001167123456, BMxx, 20180913”, the barcode keyword is “MAC
“(include space char). Like below picture. Note the barcode format of this barcode content is
“001167000000”.
If barcode content is “BDADDR->00:11:67:12:34:56, BMxx, 20180913”, the barcode keyword is
“BDADDR-> “. Note the barcode format of this barcode content is “00:11:67:00:00:00”.

13
Barcode Index
Only work on Barcode search type equal to “Index”. Program use this setting to get Bluetooth
address.
Barcode Prefix
Barcode input address will add on this setting on begin of barcode input result.
3.2.4NFC
NFC Reader Model
Only support ACS ACR 122 type reader
NFC Tag Type
Only support TYPE2.
NFC Reader Detect Timeout
If during this setting, NFC Reader not detect Type 2 Tag, show message box as bellow
Retry
Enable allow user press “RETRY” button to detect tag again. Default is disable.
NFC Auto Run
Auto begin detecting when press “APPLY” button.

14
3.2.5FIXED
Bluetooth Device Address
DUT Bluetooth device address.
3.3 Item –21100 Battery Test (Option)
Battery Min Level
Handset reports battery level during connection. If this level small than configuration that be set
ted here. It is recommended configure this parameter to “Normal:6” for no audio test item. It is
recommended configure this parameter to “Full:9” for audio test item and EEPROM reference
items.
3.4 Item –21200 TSSI Test (Option)
TSSI Min Level
Transmit signal strength indicator (TSSI). This value is to ensure connection quality during testing.
3.5 Item –22200 Button Test (Option)
3.5.1Parameters

15
This item is special test mode for button test, not function test.
Timeout (Sec.)
All button must test pass during this time.
Retry
Enable allow retry to retest button.
3.5.2BTN0-BTN2
BTN 0 Enable
Enable to test this button.
BTN 0 Name
Show on test screen. Button function name is depending on DUT.
BTN 1 Enable
Enable to test this button.
BTN 1 Name

16
Show on test screen. Button function name is depending on DUT.
BTN 2 Enable
Enable to test this button.
BTN 2 Name
Show on test screen. Button function name is depending on DUT.
3.5.3BTN3-BTN5
BTN 3 Enable
Enable to test this button.
BTN 3 Name
Show on test screen. Button function name is depending on DUT.
BTN 4 Enable
Enable to test this button.
BTN 4 Name
Show on test screen. Button function name is depending on DUT.
BTN 5 Enable
Enable to test this button.
BTN 5 Name

17
Show on test screen. Button function name is depending on DUT.
3.5.4BTN6
BTN 6 Enable
Enable to test this button.
BTN 6 Name
Show on test screen. Button function name is depending on DUT.
3.6 Item –23300 HFP SPK And MIC Test (Option)
Select Sound Source
Internal: PC play wave file to DUT MIC_IN, AG loop back to DUT SPK_OUT
External: Other Player play sound to DUT MIC_IN, AG loop back to DUT SPK_OUT
Use internal sound source environment show as bellow:

18
Use external sound source environment show as bellow:
Select Sound Card
If sound source is internal, must select a sound card to play wave file to DUT.
Sound Card Volume
If sound source is internal, program control volume to DUT
Select Wave File
Wave file format must sample rate:44khz, resolution:16bits, channel: mono
3.7 Item –25550 Patch EEPROM (Option)
*this item will modify EEPROM value, please use carefully.
Select IPF File
Select Patch File for Write To DUT.

19
Verify Only
This function is not allowed user change. Because patch data may contain information that is
changed dynamic by device.
3.8 Item –25595 Write DUT Device Name (Option)
*. Note
Combine device name will follow bellow rule:
If Prefix =SHS
Serial Number Length = 1
Serial Number Start = 5
Device Name: SHS5 ~ SHS9
Serial Number Length = 2
Serial Number Start = 5
Device Name: SHS05 ~ SHS99
Customer Prefix
This string will use to combine actual write device name.
Serial Number Length
This number means length of serial number after customer prefix.
Serial Number Start
This number means start of serial number of write device name.
Enable Second Name
Enable this function to write second device name.

20
Second Customer Prefix
This string will use to combine actual write device name.
3.9 Item –25600 Write DUT Device Address (Option)
3.9.1 TYPE
Address Type
you can select “RANGE” for write device address by tab “RANGE” configuration or select
“BARCODE” write device address by tab “BARCODE” configuration.
3.9.2RANGE
Start Address
Device address start address
Stop Address
Device address stop address
3.9.3BARCODE
Table of contents
Other Microchip Technology Transmitter manuals
Popular Transmitter manuals by other brands

Marmitek
Marmitek Audio Anywhere 625 user manual

Drivecon
Drivecon PWR III Series Operation & installation manual

Lightware
Lightware UMX-TPS-TX120 quick start guide

Vaisala
Vaisala CARBOCAP GMT220 SERIES user guide

Community Controls
Community Controls TRAFIR315LMD21K Firefly manual

EMS
EMS 7940 IRIS+ Installation and programming instructions

Shure
Shure P4T user guide

SMAR
SMAR LD303 Operation and maintenance instruction manual

Becker
Becker CentronicPLUS EC541A PLUS Assembly and operating instructions

ACME
ACME F-200-01 user manual

Metal Samples
Metal Samples CORR VELOX MS2801E Operator's manual

Honeywell
Honeywell ADEMCO 5801 Installation and setup guide