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).
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.
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.
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.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.1 Connect Mode Select Connect Mode Connect DUT mode select, default mode is BARCODE, support mode SCAN, BARCODE, LINKBACK,...
Page 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.
Page 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”.
Page 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.4 NFC NFC Reader Model Only support ACS ACR 122 type reader NFC Tag Type Only support TYPE2.
3.2.5 FIXED 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”...
Page 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.2 BTN0-BTN2 BTN 0 Enable Enable to test this button. BTN 0 Name Show on test screen.
Page 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.3 BTN3-BTN5 BTN 3 Enable Enable to test this button. BTN 3 Name Show on test screen.
Show on test screen. Button function name is depending on DUT. 3.5.4 BTN6 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 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 –...
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...
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”...
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”.
NFC Reader Model Only support ACS ACR 122 type reader NFC Tag Type Only support TYPE2. NFC Reader Detect Timeout Check NFC Tag timeout. Retry Enable allow user press “RETRY” button to detect tag again. Default is disable. 3.10.2 Data BD_ADDR Write To DUT Enable this function will read Bluetooth device address from NFC tag and write to DUT.
Page 23
Back to Factory Default Enable this function to make device to factory default. This function will erase link key and reset VGM and VGS setting. It depends on DUT implement this function. Waiting Factory Default Complete * This parameter not all solution supports. If product’s power source is adapter, must enable this function to make sure factory default function is execute complete.
4. Test Item Configuration – For Data Product Support Test Item Support item for solution. Item will change when solution change. MP Test Item Remained test item for current solution. ADD - - > Add support test item to MP test item. DEL <...
Page 25
Select Connect Mode Connect DUT mode select, default mode is BARCODE, support mode SCAN, BARCODE, FIXED. User must configuration detail parameters on reference tab. Default is FIXED. Connect Time Out Program waiting DUT connected time, default time is 12 second. Connect Need Pin Code If connect procedure must with input pin code.
Page 26
Scan limit range stop address, scan result device’s Bluetooth address will less than or equal this setting. 4.2.3 BARCODE 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.
4.2.5 PIN_CODE Pin Code Source Please choose pin code source. Mode description as below: Fixed: All DUT use same pin code to connect. Input: Need user input pin before run test. Pin Code When choose fixed pin code source type, please input pin code on this field. 4.3 Item –...
Read device RSSI value. This value is to ensure connection quality during testing. 4.5 Item – 21300 PTS Test (Option) Max Value If device PTS value more than this value, the test will show fail. Min Value If device PTS value small than this value, the test will show fail. 4.6 Item –...
Page 29
Channel 0 (P0_0) Min Value (mV) If device channel 0 ADC value small than this value, the test will show fail. Channel 1 (P0_1) Enable or Disable this channel Channel 1 (P0_1) Max Value (mV) If device channel 1 ADC value more than this value, the test will show fail. Channel 1 (P0_1) Min Value (mV) If device channel 1 ADC value small than this value, the test will show fail.
Page 30
If device channel 3 ADC value more than this value, the test will show fail. Channel 3 (P0_3) Min Value (mV) If device channel 3 ADC value small than this value, the test will show fail. 4.6.3 Channel 4 and Channel 5 Channel 4 (P0_4) Enable or Disable this channel, default is Disable Channel 4 (P0_4) Max Value (mV)
Page 31
Channel 6 (P0_6) Enable or Disable this channel, default is Disable Channel 6 (P0_6) Max Value (mV) If device channel 6 ADC value more than this value, the test will show fail. Channel 6 (P0_6) Min Value (mV) If device channel 6 ADC value small than this value, the test will show fail. Channel 7 (P0_7) Enable or Disable this channel Channel 7 (P0_7) Max Value (mV)
Page 32
Channel 8 (P1_0) Enable or Disable this channel, default is Disable Channel 8 (P1_0) Max Value (mV) If device channel 8 ADC value more than this value, the test will show fail. Channel 8 (P1_0) Min Value (mV) If device channel 8 ADC value small than this value, the test will show fail. Channel 9 (P1_1) Enable or Disable this channel Channel 9 (P1_1) Max Value (mV)
Page 33
Channel 10 (P1_2) Enable or Disable this channel, default is Disable Channel 10 (P1_2) Max Value (mV) If device channel 10 ADC value more than this value, the test will show fail. Channel 10 (P1_2) Min Value (mV) If device channel 10 ADC value small than this value, the test will show fail. Channel 11 (P1_3) Enable or Disable this channel Channel 11 (P1_3) Max Value (mV)
Page 34
Channel 12 (P1_4) Enable or Disable this channel, default is Disable Channel 12 (P1_4) Max Value (mV) If device channel 12 ADC value more than this value, the test will show fail. Channel 12 (P1_4) Min Value (mV) If device channel 12 ADC value small than this value, the test will show fail. Channel 13 (P1_5) Enable or Disable this channel Channel 13 (P1_5) Max Value (mV)
Channel 14 (P2_7) Enable or Disable this channel, default is Disable Channel 14 (P2_7) Max Value (mV) If device channel 14 ADC value more than this value, the test will show fail. Channel 14 (P2_7) Min Value (mV) If device channel 14 ADC value small than this value, the test will show fail. Channel 15 (P2_5) Enable or Disable this channel Channel 15 (P2_5) Max Value (mV)
Page 36
Output_High: configure pin to output mode and output high level to pin. 4.7.1 Port 0 P00 Setting Configure P00 function. P01 Setting Configure P01 function. P02 Setting Configure P02 function. P03 Setting Configure P03 function. P04 Setting Configure P04 function. P05 Setting Configure P05 function.
Configure P33 function. P34 Setting Configure P34 function. P35 Setting Configure P35 function. P36 Setting Configure P36 function. P37 Setting Configure P37 function. 4.8 Item – 22500 PWM Test (Option) The usable pin is depending on device HW and FW. It supports 4 channel configurations. There are 3 type setting descriptions as bellow: Ignore: no configure channel function.
Page 41
Clock Source Configure channel Clock to 32K Hz, 1024K Hz, 16M Hz. Top Value The clock count max value. Compare Value The clock count arranges this value will change output level. This value must small top value. Output Inverse Normal: Outputs level no change. Inverse: output level will inverse. 4.8.2 Channel 2(P2_2) Enable Channel 2 (P2_2) Configure channel function.
Page 42
4.8.3 Channel 3(P2_3) Enable Channel 3 (P2_3) Configure channel function. Clock Source Configure channel Clock to 32K Hz, 1024K Hz, 16M Hz. Top Value The clock count max value. Compare Value The clock count arranges this value will change output level. This value must small top value. Output Inverse Normal: Outputs level no change.
Enable Channel 4 (P2_5) Configure channel function. Clock Source Configure channel Clock to 32K Hz, 1024K Hz, 16M Hz. Top Value The clock count max value. Compare Value The clock count arranges this value will change output level. This value must small top value. Output Inverse Normal: Outputs level no change.
This parameter default is “Send Only”. If you select “Send And Verify”, DUT must loopback data to DUT UART TX. the MPAF will receive data to compare with send data. Verify Wait Timeout MPAF will receive the DUT data, if the data not receive during this parameter. 4.10 Item – 25500 Reference EEPROM (Option) File path Select reference EEPROM bin file for write item 25595 reference advertising data use.
Page 45
Customer Prefix This string will use to combine actual write device name. Add On Mode SN Mode: auto increase by serial number and append customer prefix. BD ADDR Mode: append BD ADDR to customer prefix. Serial Number Length This number means length of serial number after customer prefix. This parameter is useable only for SN Mode.
Serial Number Start = 5 Device Name : SHS05 ~ SHS99 *.Note 2 This item will replace UI file device name and merge UI file advertising data with new name. This item is need a UI file from item 25500. 4.12 Item –...
Application UI Hex File Path Select UI Hex File for Write To DUT. Checksum Of hex File The UI Hex file’s check sum. Operation Mode Write And Verify: write the UI to DUT and read the UI from DUT, then compare both. Verify Only: Read the UI from DUT, then compare with Hex file.
This number means length of serial number after customer prefix. This parameter is useable only for SN Mode. Serial Number Start This number means start of serial number of write device name. This parameter is useable only for SN Mode. BD ADDR Add On Length This number means how many BD ADDR append to customer prefix.
device when test pass. 4.15.2 Misc. Allow Air Patch Service Control If Turn off device is disable, this parameter not useable. Ingore: ignore this parameter Disable: disable air patch service control. if this function enable, device can’t connect with dongle. 5.
Page 50
Show user product name that configuration at before step 2.2. Solution Name Show current solution name that configuration at before step 2.2. Old Device Name Show current DUT device name. New Device Name If user adds item 25595 to MP test item, this field will show new device name. UI Customer Version This is reserve for customer to show what version of their UI.
Show scan Bluetooth device address and device name. If result is empty, means no Bluetooth device find. If you want to connect device, please select it on list and dual click it. If Bluetooth scan no response more 10 sec than scan Time, MPAF will show this error message, please re-plug Bluetooth dongle.
User must configuration item 20100 connect mode to BARCODE Mode. User can use barcode reader to scan BD_ADDR or key board to input BD_ADDR. MPAF will check format and parser input to get Bluetooth device address. User configuration parser rule on before step 2.6.3.
Page 53
User must configuration item 25600 “Address Type” to “BARCODE” Mode. User can use barcode reader to scan BD_ADDR or key board to input BD_ADDR. MPAF will check format and parser input to get Bluetooth device address. User configuration parser rule on before step 2.13.3.
5.4.1 Connect BD_ADDR NFC Detect UI User must configuration item 20100 connect mode to NFC Mode. Count down time MPAF will count down the time that configuration before at step 2.6.4. NFC tag must connect before this value count to zero. Format Correct as bellow:...
Page 55
User must configuration item 28800. Count down time MPAF will count down the time that configuration before at step 2.14.1. NFC tag must connect before this value count to zero. Format Correct as bellow: depend on 2.14.2 Data configuration content. May be only BD_ADDR or...
Page 56
Format not correct as bellow: First type is tag not detect. Second type is tag content is not support format or content not correct match rule.
5.5 Button Test UI User must configuration item 22200. If button enable on item configuration. This test dialog will show. Test Result Test Rresult If all button test result is pass, dialog will close. If not show “FAIL” on test result field.
button not test finish button press down button press release 5.6 HFP SPK And MIC Test User must configuration item 23300. During test will show this message box to ask user test result. If the DUT speaker have sound that select in item 23300. Please press “PASS” button. Test will go n next test.
6. Example – For Audio Product 6.1 Example 1: Change DUT Device Name And Device Address You can use MPAF to change DUT device name and address. The procedure as bellow: 6.1.1 Configure log folder and AG com port Please select the log folder for log file output. you must have write access on the folder. Your AG must connect PC with com port, please select the com port on com port setting.
Page 60
If you know DUT name include string “SPK”, you can use limit name to get better scan result, like bellow picture: you can limit them both to get better scan result, like bellow picture: 6.1.4 Add Item 25595 to MP Test Item If you want to change DUT device name.
Page 61
SPK_01 ~ SPK10, configure Customer Prefix to “SPK_”, Serial Number Length to 2, Serial Number start to 1, like bellow picture: device name are “SPK_01”, “SPK_02”, ”SPK_03”, ”SPK_04”, ”SPK05”, ”SPK_06”, ”SPK_07”, ”SPK_08”, “SPK_09”, ”SPK_10” 6.1.5 Add Item 25600 to MP Test Item If you want to change DUT device address.
Page 62
6.1.7 Press APPLY to check configure and AG Press APPLY button, like bellow picture: MPAF will check configure setting. If configure is not correct. MPAF show error message box. Ex 1: device name serial number start more than serial number max, will show like bellow picture:...
Page 63
Ex 4: Bluetooth dongle not find, will show like bellow picture: If all configure check pass, will show like bellow picture:...
Page 65
6.1.8 Start Test Power on DUT, and enter pairing mode. Press Scan button to scan DUT. Select DUT on the scan result list and double click mouse left button to start test Start test will show like bellow picture:...
6.2 Example 2: Test Button, Microphone And Speaker Assembly Status You can use MPAF to check assembly status, ex: button, microphone and speaker. Please reference step 6.1.1, 6.1.2, and 6.1.3 to configure basic parameter. In this example will use IS1681S_305_SPK DUT.
Page 68
MPAF, then replug in the sound cable to your sound card speaker out, then reopen MAF. The sound card volume will set total PC volume to value what you setting. MPAF default play sample.wav to DUT. The sample.wav is frequency: 1K Hz, sample rate: 44.1kHz, resolution: 16 bit,...
Page 69
You can use default to turn off DUT after test, like bellow picture: Or change to leave DUT power on, like bellow picture: 6.2.4 Press APPLY to check configure and AG Press APPLY button, like bellow picture: MPAF will check configure setting. If configure is not correct. MPAF show error message box.
Page 70
Ex1: button name string length more than 5, please check BTN 0 Name Ex2: sound card not exist, please check sound card hard ware is correct exist and active. Ex3: wave file not exist, please check wave file path is correct.
Page 71
6.2.5 Start Test When test during item 22200 button test, will show bellow UI, you must press and release test button before count down to 0. Please reference 5.5 to test button assembly status.
Page 72
When test during item 23300 HFP SPK And MIC Test, will show bellow UI, if you not hear any sound, please check sound is not mute. If sound not mute, like this picture: If you can not hear any sound on DUT speaker, please press FAIL, otherwise press PASS. After all test finish, will show bellow picture:...
6.3 Example 3: Patch DUT Parameters You can use MPAF to update DUT Parameters, ex: device name, device address. Please reference step 6.1.1, 6.1.2, and 6.1.3 to configure basic parameter. In this example will use IS1681S_305_SPK DUT. 6.3.1 Add Item 22550 to MP Test Item You must add item 22550 to MP Test Item like bellow picture: Press the “Select”...
Page 74
6.3.4 Start Test When test during item 2550 patch EEPROM test, will show bellow UI, you must check AGREE checkbox and press OK button. If you don’t want to show this message again, please check “NOT ASK AGAIN” check box.
Page 75
After all test finish, will show bellow picture:...
7. Example – For Data Product 7.1 Example 1: Transparent Data Transfer You can use MPAF to transparent data to DUT. The procedure as bellow: 7.1.1 Configure log folder and BM-7x-OTA com port Please select the log folder for log file output. you must have write access on the folder. Your dongle must connect PC with com port, please select the com port on com port setting.
Page 77
Big data transfer select “File” and press “Select” button to select file path. Like below picture or you can reference step 4.9 description. 7.1.5 Disconnect DUT Please enable "Turn Off Device” Option configure to make device auto shutdown after finish test. Like below picture or you can reference step 4.12 description.: 7.1.6 Press APPLY to check configure and BM-7x-OTA Press APPLY button, like bellow picture:...
Page 78
MPAF will check configure setting. If configure is not correct. MPAF show error message box. 7.1.7 Start Test...
After all test finish, will show bellow picture: 7.2 Example 2: Change Device Name You can use MPAF to change device name. The procedure as bellow: 7.2.1 Configure log folder and BM-7x-OTA com port Please select the log folder for log file output. you must have write access on the folder. Your dongle must connect PC with com port, please select the com port on com port setting.
Page 80
7.2.3 Configure Battery Voltage Please select this item to check battery is enough to transfer data to DUT. Like bellow picture or you can reference step 4.3 description. 7.2.4 Configure DUT UI file Change device name need UI file, please configure item 28200: Please configure UI setting.
Page 81
Configure your device name format to want you want. If you want to change 10 devices’ name to Name_01 ~ Name_10, configure Customer Prefix to “Name_”, Serial Number Length to 2, Serial Number start to 1, Add On Mode to SN Mode, like bellow picture: device name are “Name_01”, “Name_02”, ”...
Page 82
MPAF will check configure setting. If configure is not correct. MPAF show error message box. 7.2.8 Start Test...
Page 83
After all test finish, will show bellow picture:...
8. Q & A 8.1 AG Timeout If you see this dialog as bellow, that means the Audio Gateway 2.X not find on your com port. Please check com port configuration and HW environment. 8.2 Dongle Timeout If you see this dialog as bellow, that means the BM-7X-OTA not find on your com port. Please check com port configuration and HW environment.
8.4 Patch File Not Match If you see this dialog as bellow, that means the patch file not match current solution. 8.5 Wav File Not Mono If you see this dialog as bellow, that means the wave file not sample rate:44khz, resolution:16bits,channel:mono.
Need help?
Do you have a question about the MPAF and is the answer not in the manual?
Questions and answers