This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ24297: BQ24297 BC1.2 Compliance test

Part Number: BQ24297

Hi Sir,

My customer use BQ24297 to do BC1.2 compliance and fail.

Pls reference attached file.

TEXAS BC 1.2 test FAIL.pptx

Dead.txt
Packet-Master USB-PET Report on Product
Copyright � 2010-2015 MQP Electronics Ltd.
Scripts OTG 2.0 Rel:1.4.1.0, BC 1.2 Rel:1.2.1.7
Test run on Friday, June 22, 2018 10:48:44
__________________________________________

Opening script: CT_PD_DBP.mpet
Compile successful

[0.112,693] PD - Dead Battery Provision Test DCP or CDP

[0.112,702] Purpose:    To verify that the UUT complies with requirements of
                        the �Dead Battery Provision � Unconfigured Clause�

[0.112,734] Initial State:  UUT has been fitted with a �Dead Battery�. Special
                            Test Cable A is connected to PD. No VBUS voltage
                            applied. Any mechanical switches on the PD
                            required for it to be able to power up have been
                            operated.

[0.112,769] 1.  PET applies CADP_VBUS max (6.5�F) and a pull-down resistor of
                ROTG_VBUS min (10k) to VBUS and turns on VBUS to 5V. ID pin is
                left floating.
[1.112,828] 2.  Connect 0V via 15k resistor to D+. Connect 0V via 15k resistor
                to D-.
[1.112,839] 3.  Wait TSVLD_CON_PWD max plus a margin (1 sec + .5 sec = 1.5
                sec).
[2.612,840] 4.  Set up a watch-block to monitor the current drawn from VBUS,
                and be triggered if this current exceeds IUNIT (100mA).
[2.612,846] 5.  Check that D+ is below VLGC min (0.8v). If UUT connects at any
                time during the remainder of the test, skip to Step 15. We
                must assume that the dead battery provision is no longer
                required by the UUT.
[2.612,847]
[2.612,847] PD under test should now have detected SDP (development aid).

[2.612,847] 7.  For the next 30 seconds, follow the procedure in steps 8-10.
[2.612,848] 8.  Measure the average current drawn from VBUS, sampling every
                1ms for a period of 1 second. Record whether this value
                exceeds ISUSP (2.5mA).
[2.612,848] 9.  If the value does exceed ISUSP for two consecutive averages,
                then check that D+ is at VDP_SRC (0.5V-0.7V). [DPB3]
[2.612,849] 10. Check that the watch-block has not been triggered. [DPB1]
[3.615,577]     - IB_UNCFG average was 98.30mA - above ISUSP.
[3.615,586]     - IUNIT was not exceeded before connect.
[4.625,566]     - IB_UNCFG average was 98.30mA - above ISUSP.
[4.625,573]     FAIL: Voltage on D+ (0.009V) is not in range for VDP_SRC.
[4.625,582]     - IUNIT was not exceeded before connect.
[5.635,652]     - IB_UNCFG average was 98.30mA - above ISUSP.
[5.635,659]     FAIL: Voltage on D+ (0.008V) is not in range for VDP_SRC.
[5.635,668]     - IUNIT was not exceeded before connect.
[6.645,656]     - IB_UNCFG average was 266.50mA - above ISUSP.
[6.646,675]     - D+ went high. (Hardware debounce started.)
[6.646,680]     FAIL: IUNIT was exceeded before connect.
[6.746,576]     - PD connection now debounced.
[6.746,577]
[6.746,577] Enumerating

[6.746,578] 15. Wait TA_BCON_LDB min (100ms) then issue a bus reset to the
                B-UUT (this time was included in debounce).
[6.746,582] 16. Check that PET can enumerate UUT (at HS if possible), and Set
                Configuration 1.
[6.746,583] 17. For the next 30 seconds, check current drawn does not exceed
                bMaxPower.
[6.746,588]     Resetting UUT
[6.771,795]     Reset complete - Full Speed communications
[6.818,828]     Getting Device Descriptor from address 0
[6.818,890]     Resetting UUT
[6.910,849]     Setting UUT address to 1
[6.932,864]     Getting Device Descriptor from address 1
[6.932,982]     Getting String 0 Descriptor
[6.933,042]     Getting String 1 Descriptor
[6.933,215]     Getting String 2 Descriptor
[6.933,440]     Getting String 3 Descriptor
[6.933,678]     Getting Configuration Descriptor (first 9 bytes)
[6.933,976]     Getting Config Descriptor (all bytes)
[6.934,281]     - bMaxPower required by UUT is 500mA
[6.934,281]     - This correctly does not exceed vendor declared bMaxPower
                (500mA)
[6.934,287]     Setting config to 1
[6.934,956] 17. For the next 30 seconds, check current drawn does not exceed
                bMaxPower.
[6.934,986] NOTE:   Following readings are made on 2A range, so low currents
                    will not be as accurate as usual, and are for information
                    only.
                A margin is allowed so that the PET tolerance will not cause
                failure on a marginal current draw.
[7.943,581]     - VBUS current drawn = 473mA
[8.953,581]     - VBUS current drawn = 475mA
[9.963,581]     - VBUS current drawn = 474mA
[10.973,581]     - VBUS current drawn = 474mA
[11.983,581]     - VBUS current drawn = 474mA
[12.993,581]     - VBUS current drawn = 474mA
[14.003,581]     - VBUS current drawn = 474mA
[15.013,581]     - VBUS current drawn = 475mA
[16.023,581]     - VBUS current drawn = 474mA
[17.033,581]     - VBUS current drawn = 473mA
[18.043,581]     - VBUS current drawn = 473mA
[19.053,581]     - VBUS current drawn = 474mA
[20.063,581]     - VBUS current drawn = 474mA
[21.073,581]     - VBUS current drawn = 473mA
[22.083,581]     - VBUS current drawn = 474mA
[23.093,581]     - VBUS current drawn = 455mA
[24.103,581]     - VBUS current drawn = 452mA
[25.113,581]     - VBUS current drawn = 449mA
[26.123,581]     - VBUS current drawn = 449mA
[27.133,581]     - VBUS current drawn = 453mA
[28.143,581]     - VBUS current drawn = 451mA
[29.153,581]     - VBUS current drawn = 451mA
[30.163,581]     - VBUS current drawn = 449mA
[31.173,581]     - VBUS current drawn = 450mA
[32.183,581]     - VBUS current drawn = 453mA
[33.193,581]     - VBUS current drawn = 452mA
[34.203,581]     - VBUS current drawn = 455mA
[35.213,581]     - VBUS current drawn = 450mA
[36.223,581]     - VBUS current drawn = 456mA
[36.943,858]     Suspending UUT
[36.943,867]
[36.943,867]     - VBUS current watchblock did not detect VBUS current in
                 excess of bMaxPower
[36.943,870] 18. Turn off VBUS and disconnect capacitance and pull-down
                 resistance from VBUS.
[36.943,871] 19. Disconnect 15k pull-down resistors.
[36.943,871] 20. Wait 5 seconds for detachment to be recognized.
[36.943,872]
[36.943,872] End of Test

[36.943,873]     Note: Parameters and behavior such as TSVLD_CON_WKB,
                 TDBP_VDPSRC_CON are verified by vendor declaration.

[36.943,889] FAILED TEST

===End of Script===============================================

Opening script: CT_PD_REP_DBP.mpet
Compile successful

Checklist for Portable Devices (PDs) - Dead Battery Provision.
--------------------------------------------------------------

DBP1: Does PD draw no more than IUNIT when PD is not
      able to connect?
                                                      - NO (FAIL)

DBP2: Does PD reduce current drawn to ISUSP within
      TSVLD_CON_WKB after attach if it is unable to
      connect and be enumerated?
                                                      - Vendor Declaration

DBP3: Does PD enable VDP_SRC within TDBP_ATT_VDPSRC
      of attach and maintain it if it is unable to
      connect?
                                                      - NO (FAIL)

DBP4: Does PD connect within TDBP_ VDPSRC_CON of
      disabling VDP_SRC ?
                                                      - Vendor Declaration

DBP5: Does PD prevent the use of DBP current to
      perform tasks unrelated to battery charging?
                                                      - Vendor Declaration

DBP6: If the PD uses the DBP, can the device normally
      operate stand-alone from internal battery power.
                                                      - Vendor Declaration

DBP7: Can the PD, with a dead battery, pass the
      inrush test?
                                                      - Vendor Declaration

===End of Script===============================================

===End of Test Sequence========================================

----RESULT SUMMARY----
FAIL - CT_PD_DBP.mpet
Pass - CT_PD_REP_DBP.mpet

===End of Report===============================================

good battery.txt
Packet-Master USB-PET Report on Product
Copyright � 2010-2015 MQP Electronics Ltd.
Scripts OTG 2.0 Rel:1.4.1.0, BC 1.2 Rel:1.2.1.7
Test run on Tuesday, June 19, 2018 15:12:44
___________________________________________

Opening script: CT_PD_GOOD_PREP.mpet
Compile successful

[0.046,266] Preparation for PD Tests using Good Battery.
[0.046,267] -------------------------------------------
[0.046,267] Ensure UUT is fitted with a fully charged battery.
[1.399,822] B-UUT Initial Power-up Tests
[1.399,823]
[1.399,823] SETTINGS
[1.399,824] ---------------------------------------------------
[1.399,824] Type of product: OTG Device.
[1.399,827] * SRP as A-device NOT supported
[1.399,830] * HNP NOT supported as A-device
[1.399,833] * HNP Polling NOT supported
[1.399,836] * ADP as A-device NOT supported
[1.399,839] * Sessions NOT supported
[1.399,841] *
[1.399,842] * SRP as B-device NOT supported
[1.399,845] * HNP as B-device NOT supported
[1.399,848] * ADP as B-device NOT supported
[1.399,850] *
[1.399,851] * Secondary Detection NOT supported
[1.399,854] * ACA Detection NOT supported
[1.399,857] * Full functionality at FS supported
[1.399,860] * DCD using current source NOT supported
[1.399,862]
[1.399,863] * TA_WAIT_BCON = 30 sec.
[1.399,863] * TPWRUP_RDY = 30 sec.
[1.399,864] * bMaxPower = 500mA.
[1.399,864] ---------------------------------------------------


[1.399,907] Power-on Sequence for OTG-B UUT or Peripheral Only, with no ADP
            support...
[1.399,908] 2.  Ensure UUT connected using special cable A or suitable
                alternative.
[2.040,146] 3.  Starting with no capacitive loading on VBUS, and VBUS off
[2.040,147] 4.  Switch UUT power on (if not already on), then click OK
[3.096,491] 5.  Applying CADP_VBUS max (6.5�F) and a pull-down resistor of
                ROTG_VBUS min (10k) to VBUS and turning on VBUS.
[3.096,538] 6.  Check that D+ goes high within TPWRUP_RDY (30 sec or as
                specified by vendor)
[6.376,122]     - UUT connected.
[6.376,123] 7.  Turning off VBUS and disconnecting capacitance and pull-down
                resistance from VBUS.
[6.376,170] 8.  Wait 5 seconds to allow disconnection to be detected.
[11.376,170] 9.  Now ready for any other B_UUT test
[11.376,184] PASSED TEST

===End of Script===============================================

Opening script: CT_PD_CMO_FS.mpet
Compile successful

[11.482,414] PD - Common Mode Test Full Speed
             Purpose:    Check that UUT can be enumerated successfully in the
                         presence of a common mode offset voltage of 0.375V.

[11.482,415] Initial State.  Special Test Cable A is connected to PD. VBUS is
                             off, capacitance of 6.5uF is connected to VBUS,
                             data lines switched to PET transceiver.
[12.482,433] 1.  Apply a common mode offset of IMAX_BC x 0.25R + 5mV (a
                 maximum of VGND_OFFSET [0.375V] if IMAX_BC is declared as
                 1500mA) with PET test socket higher than PET transceiver
                 ground.
[12.482,457]     ->Offset used is 375mV.
[12.482,457] 2.  Turn VBUS on to 5V.
[12.482,492] 3.  Wait for UUT to connect
[12.897,128]     - UUT connected.
[12.897,129] 4.  Wait 100ms.
[12.897,129] 5.  Reset and enumerate at Full Speed. Check that enumeration was
                 successful. This is achieved by counting the number of
                 failures to respond to transactions, and comparing this to an
                 arbitrary ceiling. (A good device would never fail to respond
                 in practice.)
[12.897,133]     Resetting UUT
[12.921,347]     Reset complete - Full Speed communications
[12.968,381]     Getting Device Descriptor from address 0
[12.968,710]     Resetting UUT
[13.060,402]     Setting UUT address to 1
[13.082,417]     Getting Device Descriptor from address 1
[13.082,739]     Getting String 0 Descriptor
[13.082,797]     Getting String 1 Descriptor
[13.082,858]     Getting String 2 Descriptor
[13.082,993]     Getting String 3 Descriptor
[13.083,510]     Getting Configuration Descriptor (first 9 bytes)
[13.083,760]     Getting Config Descriptor (all bytes)
[13.084,063]     - bMaxPower required by UUT is 500mA
[13.084,063]     - This correctly does not exceed vendor declared bMaxPower
                 (500mA)
[13.084,069]     Setting config to 1
[13.084,508] 6.  Continue for 10 seconds, without configuring, to perform a
                 number of standard requests, (eg Get Configuration) checking
                 again for failure to respond to transactions. [PD33]
[13.084,510]     Getting Device Descriptor from address 1, multiple times.
[13.371,186]     - Number of transfer attempts = 1000.
[13.371,186]     - Number of successful transfers = 1000.
[13.371,187]     - Number of transfer failures = 0.
[13.371,189]     - All transfers were successful.
[13.371,609]     Suspending UUT
[13.571,636]     Validating offset.
[13.571,637]     - Offset measured as approximately 0.386V.
[13.571,638] 7.  Turn off VBUS and disconnect capacitance and pull-down
                 resistance from VBUS.
[13.571,673] 8.  Remove common mode offset.
[13.571,685] 9.  Wait 8 seconds, ignoring SRP pulse, to allow disconnection to
                 be detected.
[21.571,685]     End of test
[21.571,699] PASSED TEST

===End of Script===============================================

Opening script: CT_PD_CMO_HS.mpet
Compile successful

[21.662,274] PD - Common Mode Test High Speed
             Purpose:    Check that UUT can be enumerated successfully in the
                         presence of a common mode offset voltage of 0.375V.

[21.662,275] Initial State.
             Special Test Cable A is connected to PD. VBUS is off, capacitance
             of 6.5uF is connected to VBUS, data lines switched to PET
             transceiver.
[22.662,293] 1.  Apply a common mode offset of IMAX_BC x 0.25R + 5mV (a
                 maximum of VGND_OFFSET [0.375V] if IMAX_BC is declared as
                 1500mA) with PET test socket higher than PET transceiver
                 ground.
[22.662,317]     ->Offset used is 375mV.
[22.662,317] 2.  Turn VBUS on to 5V.
[22.662,352] 3.  Wait for UUT to connect
[23.165,128]     - UUT connected.
[23.165,129] 4.  Wait 100ms.
[23.165,129] 5.  Reset and enumerate at High Speed. Check that enumeration was
                 successful. This is achieved by counting the number of
                 failures to respond to transactions, and comparing this to an
                 arbitrary ceiling. (A good device would never fail to respond
                 in practice.)
[23.165,133]     Resetting UUT
[23.193,347]     Reset complete - Full Speed communications
[23.240,381]     Getting Device Descriptor from address 0
[23.240,711]     Resetting UUT
[23.332,402]     Setting UUT address to 1
[23.354,417]     Getting Device Descriptor from address 1
[23.354,739]     Getting String 0 Descriptor
[23.354,796]     Getting String 1 Descriptor
[23.354,998]     Getting String 2 Descriptor
[23.355,057]     Getting String 3 Descriptor
[23.355,232]     Getting Configuration Descriptor (first 9 bytes)
[23.355,529]     Getting Config Descriptor (all bytes)
[23.355,833]     - bMaxPower required by UUT is 500mA
[23.355,833]     - This correctly does not exceed vendor declared bMaxPower
                 (500mA)
[23.355,839]     Setting config to 1
[23.356,198] 6.  Continue for 10 seconds, without configuring, to perform a
                 number of standard requests, (eg Get Configuration) checking
                 again for failure to respond to transactions. [PD33]
[23.356,200]     Getting Device Descriptor from address 1, multiple times.
[23.631,418]     - Number of transfer attempts = 1000.
[23.631,418]     - Number of successful transfers = 1000.
[23.631,419]     - Number of transfer failures = 0.
[23.631,421]     - All transfer were successful.
[23.631,601]     Suspending UUT
[23.831,628]     Validating offset.
[23.831,629]     - Offset measured as approximately 0.386V.
[23.831,630] 7.  Turn off VBUS and disconnect capacitance and pull-down
                 resistance from VBUS.
[23.831,665] 8.  Remove common mode offset.
[23.831,677] 9.  Wait 8 seconds, ignoring SRP pulse, to allow disconnection to
                 be detected.
[31.831,677]     End of test
[31.831,691] PASSED TEST

===End of Script===============================================

Opening script: CT_PD_GOOD_REP.mpet
Compile successful

Checklist for Portable Devices (PDs) - (Tests using Good Battery).
------------------------------------------------------------------
PD1-32 questions appear in Weak Battery report.

PD33: If the PD draws more than ICFG_MAX from a CDP,
      does it correctly support LS, FS, HS and chirp
      signaling when the local ground is VGND_OFFSET
      max higher than the remote ground.
                                                      - YES (PASS)

===End of Script===============================================

===End of Test Sequence========================================

----RESULT SUMMARY----
Pass - CT_PD_GOOD_PREP.mpet
Pass - CT_PD_CMO_FS.mpet
Pass - CT_PD_CMO_HS.mpet
Pass - CT_PD_GOOD_REP.mpet

===End of Report===============================================

weak.txt
Packet-Master USB-PET Report on Product
Copyright � 2010-2015 MQP Electronics Ltd.
Scripts OTG 2.0 Rel:1.4.1.0, BC 1.2 Rel:1.2.1.7
Test run on Wednesday, June 20, 2018 17:23:05
_____________________________________________

Opening script: CT_PD_WEAK_PREP.mpet
Compile successful

[0.053,775] Preparation for PD Tests using Weak Battery.
[0.053,776] -------------------------------------------

[0.053,776] Ensure UUT is fitted with a battery just over the Weak Battery
            Threshold.
[1.263,801] B-UUT Initial Power-up Tests
[1.263,802]
[1.263,802] SETTINGS
[1.263,803] ---------------------------------------------------
[1.263,808] Type of product: Peripheral-only.
[1.263,813] * SRP as B-device NOT supported
[1.263,816] * HNP as B-device NOT supported
[1.263,819] * ADP as B-device NOT supported
[1.263,821] *
[1.263,822] * Secondary Detection NOT supported
[1.263,825] * ACA Detection NOT supported
[1.263,828] * Full functionality at FS supported
[1.263,831] * DCD using current source NOT supported
[1.263,833]
[1.263,834] * TA_WAIT_BCON = 30 sec.
[1.263,835] * TPWRUP_RDY = 30 sec.
[1.263,835] * bMaxPower = 500mA.
[1.263,836] ---------------------------------------------------


[1.263,878] Power-on Sequence for OTG-B UUT or Peripheral Only, with no ADP
            support...
[1.263,879] 2.  Ensure UUT connected using special cable A or suitable
                alternative.
[3.331,746] 3.  Starting with no capacitive loading on VBUS, and VBUS off
[3.331,746] 4.  Switch UUT power on (if not already on), then click OK
[6.276,495] 5.  Applying CADP_VBUS max (6.5�F) and a pull-down resistor of
                ROTG_VBUS min (10k) to VBUS and turning on VBUS.
[6.276,541] 6.  Check that D+ goes high within TPWRUP_RDY (30 sec or as
                specified by vendor)
[6.663,707]     - UUT connected.
[6.663,708] 7.  Turning off VBUS and disconnecting capacitance and pull-down
                resistance from VBUS.
[6.663,755] 8.  Wait 5 seconds to allow disconnection to be detected.
[11.663,755] 9.  Now ready for any other B_UUT test
[11.663,769] PASSED TEST

===End of Script===============================================

Opening script: CT_PD_DCD_CS.mpet
Compile successful

[11.743,584] PD - Data Contact Detect Test with Current Source
[11.743,584] Purpose:    Check that IDP_SRC is maintained for TDCD_DBNC after
                         D+ is pulled low,and that TDCD_TIMEOUT is complied
                         with.

[11.743,608] DCD current source not supported, so skip test.
[11.743,637] PASSED TEST

===End of Script===============================================

Opening script: CT_PD_DCD_TO.mpet
Compile successful

[11.882,504] PD - Data Contact Detect Test � No Current Source
[11.882,504] Purpose:    Check that Primary Detection commences within
                         TDCD_TIMEOUT max of VBUS turning on.

[11.882,530]
[11.882,530] DCD using Timeout.

[11.882,559] 1.  PET applies CADP_VBUS max (6.5�F) and a pull-down resistor of
                 ROTG_VBUS min (10k) to VBUS and turns on VBUS to VB_VBUS nom
                 (5V).
[12.882,654] 2.  Start timer when VBUS reaches 0.8V
[12.882,655] 3.  Connect 15k resistors from 0V to D+, and from 0V to D-.
[12.882,667] 4.  Check that D+ goes up to voltage in the range VDP_SRC (0.5 to
                 0.7V) within TDCD_TIMEOUT (0.3 to 0.9 sec) of VBUS going on.
                 [PD7]
[13.153,183]     - D+ has risen above 0.5V.
[13.153,183]     Waiting 1ms then measuring voltage again.
[13.154,188]     - Voltage measured on D+ is 0.596V.
[13.154,192]     - D+ went up to 0.5V after 270.5ms of VBUS reaching 0.8V.
[13.154,192]     FAIL: TDCD_TIMEOUT does not lie in range 0.3s - 0.9s.
[13.154,192]     - Not a valid start of Primary Detection.
[13.154,196] 5.  Disconnect pull-downs on D+ and D-.
[13.154,207] 6.  Disconnect everything from VBUS, and switch VBUS off.
[13.154,270] 7.  Wait 8 seconds, ignoring SRP pulse, to allow disconnection to
                 be detected.
[21.154,299] FAILED TEST - (Does not prevent further tests).

===End of Script===============================================

Opening script: CT_PD_DCP_Det.mpet
Compile successful

[21.239,434] PD - DCP Detection Test
[21.239,434] Purpose:    To validate a correct detection procedure when the
                         UUT encounters a DCP.

[22.239,510] DCD stage

[22.239,510] 1.  PET connects 200R between D+ and D-.
[22.239,516] 2.  PET connects voltage source of 0V via 100k to D-, to prevent
                 false detection of voltage on D+ etc.
[22.239,528] 3.  PET applies CADP_ VBUS max (6.5�F) and a pull-down resistor
                 of ROTG_VBUS min (10k) to VB_VBUS nom (5.0V) and turns on
                 VBUS to 5V. ID pin is left floating.
[22.239,564]
[22.239,564] Primary Detection Stage

[22.239,565] 4.  Wait for D+ to rise above 0.5V
[22.523,191]     - D+ rose above 0.5V
[22.523,193] 5.  Wait 1 ms for D+ to settle.
[22.524,193] 6.  Measure D+ and check voltage is VDP_SRC (0.5 to 0.7V).
[22.524,198]     - D+ voltage (0.598V) is valid, being in range 0.5V to 0.7V
[22.524,201]     - Primary Detection started after 283,629 us
[22.524,204] 7.  Wait for slightly less than TVDPSRC_ON min (38ms).
[22.562,204] 8.  Check that D+ voltage is still VDP_SRC (0.5 to 0.7V)
[22.562,211]     FAIL: D+ voltage (0.027V) is not in range 0.5V to 0.7V
[22.562,213] 9.  Wait for D+ to go below 0.5V, or above 0.8V, or for
                 TSVLD_CON_PWD (1 sec) from VBUS going on to expire.
[22.562,220]     - D+ went below 0.5V.
[22.562,220]     - Apparent duration of TVDPSRC_ON is 39,027 us
[22.562,224]     Secondary detection is declared not to be implemented, so
                 skip to 'Checking Current Draw'.
[22.562,226]
[22.562,226] Checking Current Draw

[22.562,227]     PD under test should now have detected DCP or CDP
                 (development aid).
[22.562,229] 15. Check current drawn does not exceed 1.5A from now on. [PD30]
[22.562,253] 16. Check D+ is held at or above VDP_SRC min (0.5V) for the
                 entire period, starting TSVLD_CON_PWD max (1 sec) after VBUS
                 was applied, that current drawn exceeds ISUSP max (2.5mA).
                 [PD17]
             Note:   The voltage drop in the cable ground will raise the
                     apparent voltage on D+.
[22.562,254] 17. Maintain session for 30 seconds from step 14.
[23.239,627] NOTE:   Following readings are made on 2A range, so low currents
                     will not be as accurate as usual, and are for information
                     only.
                 A margin is allowed so that the PET tolerance will not cause
                 failure on a marginal current draw.
[23.239,631]     - VBUS current drawn = 639mA
[23.239,635]     -   D+ voltage = 3.337V
[23.239,645]     - VBUS current drawn = 639mA
[23.239,654]     -  D+ voltage (3.337V) is above VPD_SRC min.
[24.242,336]     - VBUS current drawn = 634mA
[24.242,345]     -  D+ voltage (3.337V) is above VPD_SRC min.
[25.252,335]     - VBUS current drawn = 654mA
[25.252,344]     -  D+ voltage (3.339V) is above VPD_SRC min.
[26.262,334]     - VBUS current drawn = 654mA
[26.262,343]     -  D+ voltage (3.339V) is above VPD_SRC min.
[27.272,333]     - VBUS current drawn = 634mA
[27.272,342]     -  D+ voltage (3.337V) is above VPD_SRC min.
[28.282,332]     - VBUS current drawn = 638mA
[28.282,341]     -  D+ voltage (3.337V) is above VPD_SRC min.
[29.292,331]     - VBUS current drawn = 654mA
[29.292,340]     -  D+ voltage (3.338V) is above VPD_SRC min.
[30.302,336]     - VBUS current drawn = 631mA
[30.302,345]     -  D+ voltage (3.337V) is above VPD_SRC min.
[31.312,335]     - VBUS current drawn = 657mA
[31.312,344]     -  D+ voltage (3.339V) is above VPD_SRC min.
[32.322,334]     - VBUS current drawn = 654mA
[32.322,343]     -  D+ voltage (3.339V) is above VPD_SRC min.
[33.332,333]     - VBUS current drawn = 648mA
[33.332,342]     -  D+ voltage (3.338V) is above VPD_SRC min.
[34.342,332]     - VBUS current drawn = 636mA
[34.342,341]     -  D+ voltage (3.337V) is above VPD_SRC min.
[35.352,331]     - VBUS current drawn = 623mA
[35.352,340]     -  D+ voltage (3.336V) is above VPD_SRC min.
[36.362,336]     - VBUS current drawn = 630mA
[36.362,345]     -  D+ voltage (3.337V) is above VPD_SRC min.
[37.372,335]     - VBUS current drawn = 632mA
[37.372,344]     -  D+ voltage (3.337V) is above VPD_SRC min.
[38.382,334]     - VBUS current drawn = 637mA
[38.382,343]     -  D+ voltage (3.338V) is above VPD_SRC min.
[39.392,333]     - VBUS current drawn = 624mA
[39.392,342]     -  D+ voltage (3.336V) is above VPD_SRC min.
[40.402,332]     - VBUS current drawn = 626mA
[40.402,341]     -  D+ voltage (3.337V) is above VPD_SRC min.
[41.412,331]     - VBUS current drawn = 637mA
[41.412,340]     -  D+ voltage (3.337V) is above VPD_SRC min.
[42.422,336]     - VBUS current drawn = 647mA
[42.422,345]     -  D+ voltage (3.338V) is above VPD_SRC min.
[43.432,335]     - VBUS current drawn = 633mA
[43.432,344]     -  D+ voltage (3.338V) is above VPD_SRC min.
[44.442,334]     - VBUS current drawn = 637mA
[44.442,343]     -  D+ voltage (3.338V) is above VPD_SRC min.
[45.452,333]     - VBUS current drawn = 622mA
[45.452,342]     -  D+ voltage (3.337V) is above VPD_SRC min.
[46.462,332]     - VBUS current drawn = 628mA
[46.462,341]     -  D+ voltage (3.337V) is above VPD_SRC min.
[47.472,331]     - VBUS current drawn = 641mA
[47.472,340]     -  D+ voltage (3.338V) is above VPD_SRC min.
[48.482,336]     - VBUS current drawn = 653mA
[48.482,345]     -  D+ voltage (3.339V) is above VPD_SRC min.
[49.492,335]     - VBUS current drawn = 633mA
[49.492,344]     -  D+ voltage (3.337V) is above VPD_SRC min.
[50.502,334]     - VBUS current drawn = 633mA
[50.502,343]     -  D+ voltage (3.337V) is above VPD_SRC min.
[51.512,333]     - VBUS current drawn = 628mA
[51.512,342]     -  D+ voltage (3.336V) is above VPD_SRC min.
[52.522,332]     - VBUS current drawn = 629mA
[52.522,341]     -  D+ voltage (3.337V) is above VPD_SRC min.
[53.242,327] 18. Disconnect 200R resistor between D+ and D-.
[53.242,334]     Wait 10ms
[53.252,334] 19. Turn off VBUS and disconnect capacitance and pull-down
                 resistance from VBUS.
[53.252,335] 20. Disconnect voltage source and 100k resistor from D-.
[53.252,373]     - VBUS current watchblock did not detect VBUS current in
                 excess of IDEV_CHG (1.5A)
[53.252,388] 21. Wait 8 seconds, ignoring SRP pulse, to allow disconnection to
                 be detected.
[61.252,404] FAILED TEST - (Does not prevent further tests).

===End of Script===============================================

Opening script: CT_PD_CDP_Det.mpet
Compile successful

[61.373,156] PD - CDP Detection Test
[61.373,156] Purpose:    Check that UUT follows correct procedure to identify
                         a CDP. Also check for correct renegotiation
                         behaviour.

[61.373,227]
[61.373,228] DCD stage

[62.373,246] 1.  Switch data lines to PET test circuit. PET applies a
                 pull-down resistor of ROTG_VBUS min (10k) to VBUS and turns
                 on VBUS to 5V. ID pin is left floating.
[62.373,281] 2.  Connect 0V via 15k resistor to D+.
                 Connect 0V via 15k resistor to D-.
[62.373,293]
[62.373,293] Primary Detection

[62.373,294] 3.  Wait for D+ to rise above 0.5V.
[62.668,729]     - D+ rose above 0.5V
[62.668,729] 4.  Wait 1 ms for D+ to settle.
[62.669,730] 5.  Measure D+ and check voltage is VDP_SRC (0.5 to 0.7V).
[62.669,734]     - D+ voltage (0.596V) is valid, being in range 0.5V to 0.7V
[62.669,737] 6.  Check value of IDM_SINK, as follows: Change voltage on 15k
                 resistor to D- to 0.6V. Wait 1ms, then check voltage at D- is
                 in correct range for a worst case IDM_SINK of 25uA (i.e. that
                 voltage is not greater than 0.225V).
[62.670,753]     - Voltage measured at D- is 0.100V
[62.670,754]     - IDM_SINK is large enough.
[62.670,756] 7.  Change voltage on 15k resistor to D- to 0V.
[62.670,763] 8.  Wait for 17 ms (together with 2ms delay above, this is less
                 than TVDMSRC_EN max).
[62.687,763] 9.  Disconnect 15K resistor from D- and replace with 1K5 from
                 0.7V.
[62.687,793] 10. Wait 1ms for D- to settle.
[62.688,793] 11. Measure voltage on D-. This must be above 0.4V, to prove that
                 IDM_SINK max (175uA) is not exceeded.
[62.688,800]     - IDM_SINK max (175uA) was ok (voltage measured was 0.544V).
[62.688,800] 12. Wait 19ms (together with 20ms delay above, this is less than
                 TVDPSRC_ON min).
[62.707,801] 13. Check that D+ voltage is still VDP_SRC (0.5 to 0.7V) [PD10]
[62.707,807]     FAIL: D+ voltage (0.014V) is not in range 0.5V to 0.7V
[62.707,810] 14. Wait for D+ to go below 0.5V, or above 0.8V, or for
                 TSVLD_CON_PWD (1 sec) from VBUS going on to expire.
[62.707,817]     - D+ went below 0.5V.
[62.707,817]     - Apparent duration of TVDPSRC_ON is 39.0ms.
[62.707,819] 15. Disconnect 1K5 resistor from D- and replace with 15K from 0V.
[62.707,837] 16. Wait 100 us (for D- to fall).
[62.707,938] Secondary detection is declared not to be implemented, so skip to
             'Checking Current Draw'.
[62.707,941]
[62.707,941] Checking Current Draw

[62.707,942] PD under test should now have detected DCP or CDP (development
             aid).
[62.707,943] 27. Switch data lines to transceiver.
[62.707,950] 27. Check current drawn does not exceed IMAX_BC from now on until
                 end of step 31. [PD30]
[62.707,950]
[62.707,950]     IMAX_BC is declared as 1500mA

[62.707,980] 29. Check D+ goes high within 1 sec from VBUS turning on. [PD8]
                 [If secondary detection supported:PD18]
[62.873,330]     - TSVLD_CON_PWD plus 100ms debounce time (501ms) was in spec.
[62.873,333]     Wait for TA_BCON_LDB (100 ms)
[62.873,334] 30. Enumerate UUT (at HS if possible), and Set Configuration 1.
[62.873,339]     Resetting UUT
[62.902,546]     Reset complete - Full Speed communications
[62.949,580]     Getting Device Descriptor from address 0
[62.949,706]     Resetting UUT
[63.041,601]     Setting UUT address to 1
[63.063,616]     Getting Device Descriptor from address 1
[63.063,734]     Getting String 0 Descriptor
[63.063,793]     Getting String 1 Descriptor
[63.063,966]     Getting String 2 Descriptor
[63.064,194]     Getting String 3 Descriptor
[63.064,710]     Getting Configuration Descriptor (first 9 bytes)
[63.064,764]     Getting Config Descriptor (all bytes)
[63.065,166]     - bMaxPower required by UUT is 500mA
[63.065,167]     - This correctly does not exceed vendor declared bMaxPower
                 (500mA)
[63.065,173]     Setting config to 1
[63.065,708] 31. Maintain session for 30 seconds.
[63.065,708] NOTE:   Following readings are made on 2A range, so low currents
                     will not be as accurate as usual, and are for information
                     only.
                 A margin is allowed so that the PET tolerance will not cause
                 failure on a marginal current draw.
[64.072,334]     - VBUS current drawn = 639mA
[65.082,334]     - VBUS current drawn = 624mA
[66.092,334]     - VBUS current drawn = 639mA
[67.102,334]     - VBUS current drawn = 625mA
[68.112,334]     - VBUS current drawn = 650mA
[69.122,334]     - VBUS current drawn = 623mA
[70.132,334]     - VBUS current drawn = 641mA
[71.142,334]     - VBUS current drawn = 655mA
[72.152,334]     - VBUS current drawn = 632mA
[73.162,334]     - VBUS current drawn = 623mA
[74.172,334]     - VBUS current drawn = 637mA
[75.182,334]     - VBUS current drawn = 649mA
[76.192,334]     - VBUS current drawn = 647mA
[77.202,334]     - VBUS current drawn = 628mA
[78.212,334]     - VBUS current drawn = 651mA
[79.222,334]     - VBUS current drawn = 649mA
[80.232,334]     - VBUS current drawn = 627mA
[81.242,334]     - VBUS current drawn = 635mA
[82.252,334]     - VBUS current drawn = 624mA
[83.262,334]     - VBUS current drawn = 650mA
[84.272,334]     - VBUS current drawn = 636mA
[85.282,334]     - VBUS current drawn = 649mA
[86.292,334]     - VBUS current drawn = 624mA
[87.302,334]     - VBUS current drawn = 626mA
[88.312,334]     - VBUS current drawn = 625mA
[89.322,334]     - VBUS current drawn = 653mA
[90.332,334]     - VBUS current drawn = 642mA
[91.342,334]     - VBUS current drawn = 646mA
[92.352,334]     - VBUS current drawn = 627mA
[93.072,609]     Suspending UUT
[94.072,617]     - VBUS current watchblock did not detect VBUS current in
                 excess of IMAX_BC
[94.072,620]
[94.072,620] Checking Renegotiation

[94.072,620] 32. Switch data lines to PET test circuit. Turn off VBUS and
                 disconnect pull-down resistance from VBUS.
[94.072,667] 33. Check that the PD discharges VBUS to less than VBUS_LKG max
                 (0.7V) within TVLD_VLKG max (500ms). [PD28]
[94.117,494]     - VBUS was correctly discharged in 44.8ms (less than 500ms).
[94.117,497] 34. Wait for TVBUS_REAPP min (100ms).
[94.217,497] 35. Apply a pull-down resistor of ROTG_VBUS min (10k) to VBUS and
                 turn on VBUS to 5V.
[94.217,526] 36. Connect 0V via 15k resistor to D+. Connect 0V via 15k
                 resistor to D-.
[94.217,538] Note:   We will emulate an SDP this time to demonstrate that
                     renegotiation was successful.
[94.217,538]
[94.217,539] Renegotiation - Primary Detection

[94.217,539] 37. Wait for D+ to rise above 0.5V.
[94.471,130]     - D+ rose above 0.5V
[94.471,130] 38. Wait 1 ms for D+ to settle.
[94.472,131] 39. Measure D+ and check voltage is VDP_SRC (0.5 to 0.7V). [PD10]
[94.472,135]     - D+ voltage (0.596V) is valid, being in range 0.5V to 0.7V
[94.472,138]
[94.472,139] Renegotiation - Checking Current Draw

[94.472,139] 40. Switch data lines to transceiver.
[94.472,145] 41. Check D+ goes high within TSVLD_CON_PWD (1 sec) from VBUS
                 turning on.
[94.675,330]     - TSVLD_CON_PWD plus 100ms debounce time (458ms) was in spec.
[94.675,333] PD under test should now have detected SDP (development aid).
[94.675,334] 43. Wait for 150ms (D+ debounce time plus 50ms).
[94.725,335] 44. Check that current drawn from VBUS does not exceed IUNIT
                 (100mA).
[94.725,341]     FAIL: Current draw from VBUS is not in spec.
[94.725,341]     - Measured 289.30mA including PET 10k pulldown.
[94.725,342] 45. Turn off VBUS and disconnect pull-down resistance from VBUS.
[94.725,371] 46. Wait 8 seconds, ignoring SRP pulse, for detachment to be
                 detected.
[102.725,388] FAILED TEST - (Does not prevent further tests).

===End of Script===============================================

Opening script: CT_PD_SDP_Det.mpet
Compile successful

[102.832,926] PD - SDP Detection Test
[102.832,926] Purpose:    Check that UUT follows correct procedure to identify
                          a SDP.
[102.832,927]
[102.832,992]
[102.832,992] DCD stage

[102.832,992] 1.  PET applies a pull-down resistor of ROTG_VBUS min (10k) to
                  VBUS and turns on VBUS to 5V. ID pin is left floating.
[103.833,040] 2.  Connect 0V via 15k resistor to D+.
                  Connect 0V via 15k resistor to D-.
[103.833,052]
[103.833,052] Primary Detection

[103.833,052] 3.  Wait for D+ to rise above 0.5V
[104.104,607] 4.  Wait 1 ms for D+ to settle.
[104.105,608] 5.  Measure D+ and check voltage is VDP_SRC (0.5 to 0.7V). [PD10]
[104.105,612]     - D+ voltage (0.596V) is valid, being in range 0.5V to 0.7V
[104.105,616] 6.  Check value of IDM_SINK, as follows: Change voltage on 15k
                  resistor to D- to 0.6V. Wait 20ms, then check voltage at D-
                  is in correct range for a worst case IDM_SINK of 25uA (i.e.
                  that voltage is not greater than 0.225V). [PD10]
[104.125,631]     - Voltage measured at D- is 0.101V
[104.125,632]     - IDM_SINK is large enough.
[104.125,635] 7.  Change voltage on 15k resistor to D- to 0V.
[104.125,641] 8.  Wait for 18ms (together with 20ms delay above, this is less
                  than TVDPSRC_ON min).
[104.143,641] 9.  Check that D+ voltage is still VDP_SRC (0.5 to 0.7V) [PD10]
[104.143,648]     FAIL: D+ voltage (0.013V) is not in range 0.5V to 0.7V
[104.143,650] 10. DO NOT connect 0.6V to D-.
[104.143,651] 11. Wait for D+ to go below 0.5V, or above 0.8V, or for
                  TSVLD_CON_PWD (1 sec) from VBUS going on to expire.
[104.143,657]     - D+ went below 0.5V.
[104.143,658]     - Apparent duration of TVDPSRC_ON is 39,051 us
[104.143,661]     Secondary detection is declared not to be implemented, so
                  skip to 'Checking Current Draw'.
[104.143,663]
[104.143,664] Checking Current Draw

[104.143,664] 13. PD under test should now have detected SDP (development
                  aid).

[104.143,665] 14. Check current drawn does not exceed ICFG_MAX (500mA) from
                  now on. [PD12] [PD31]
[104.143,694] 15. Check D+ goes high within TSVLD_CON_PWD (1 sec) from VBUS
                  turning on.
[104.310,330]     - TSVLD_CON_PWD plus 100ms debounce time (478ms) was in spec.
[104.310,330]     Wait for TA_BCON_LDB (100 ms)
[104.310,331] 16. Enumerate UUT (at HS if possible), and Set Configuration 1.
[104.310,336]     Resetting UUT
[104.338,547]     Reset complete - Full Speed communications
[104.385,580]     Getting Device Descriptor from address 0
[104.385,706]     Resetting UUT
[104.477,601]     Setting UUT address to 1
[104.499,616]     Getting Device Descriptor from address 1
[104.499,734]     Getting String 0 Descriptor
[104.499,961]     Getting String 1 Descriptor
[104.500,195]     Getting String 2 Descriptor
[104.500,252]     Getting String 3 Descriptor
[104.500,432]     Getting Configuration Descriptor (first 9 bytes)
[104.500,668]     Getting Config Descriptor (all bytes)
[104.500,804]     - bMaxPower required by UUT is 500mA
[104.500,805]     - This correctly does not exceed vendor declared bMaxPower
                  (500mA)
[104.500,811]     Setting config to 1
[104.501,168] 17. Maintain session for 30 seconds.
[104.501,168] NOTE:   Following readings are made on 2A range, so low currents
                      will not be as accurate as usual, and are for
                      information only.
                  A margin is allowed so that the PET tolerance will not cause
                  failure on a marginal current draw.
[105.502,334]     - VBUS current drawn = 457mA
[106.512,334]     - VBUS current drawn = 455mA
[107.522,334]     - VBUS current drawn = 455mA
[108.532,334]     - VBUS current drawn = 459mA
[109.542,334]     - VBUS current drawn = 456mA
[110.552,334]     - VBUS current drawn = 455mA
[111.562,334]     - VBUS current drawn = 455mA
[112.572,334]     - VBUS current drawn = 456mA
[113.582,334]     - VBUS current drawn = 455mA
[114.592,334]     - VBUS current drawn = 457mA
[115.602,334]     - VBUS current drawn = 454mA
[116.612,334]     - VBUS current drawn = 457mA
[117.622,334]     - VBUS current drawn = 456mA
[118.632,334]     - VBUS current drawn = 453mA
[119.642,334]     - VBUS current drawn = 458mA
[120.652,334]     - VBUS current drawn = 454mA
[121.662,334]     - VBUS current drawn = 456mA
[122.672,334]     - VBUS current drawn = 459mA
[123.682,334]     - VBUS current drawn = 458mA
[124.692,334]     - VBUS current drawn = 457mA
[125.702,334]     - VBUS current drawn = 456mA
[126.712,334]     - VBUS current drawn = 459mA
[127.722,334]     - VBUS current drawn = 458mA
[128.732,334]     - VBUS current drawn = 456mA
[129.742,334]     - VBUS current drawn = 459mA
[130.752,334]     - VBUS current drawn = 455mA
[131.762,334]     - VBUS current drawn = 457mA
[132.772,334]     - VBUS current drawn = 99mA
[133.782,334]     - VBUS current drawn = 99mA
[134.502,605]     Suspending UUT
[134.502,615] 18. Turn off VBUS and disconnect capacitance and pull-down
                  resistance from VBUS.
[134.502,638] 19. Check that VBUS falls below VBUS_LKG max (0.7V) within
                  TVLD_VLKG max (500ms). [PD28]
[135.002,644]     - Fall time OK.  (0.004V at .5s)
[135.002,650]     - VBUS current watchblock did not detect VBUS current in
                  excess of ICFG_MAX
[135.002,658] 20. Wait 8 seconds, ignoring SRP pulse, to allow disconnection
                  to be detected.
[143.002,674] FAILED TEST - (Does not prevent further tests).

===End of Script===============================================

Opening script: CT_PD_Dock_Det.mpet
Compile successful

[143.117,539] ACA not supported, so automatic pass.
[143.117,552] PASSED TEST

===End of Script===============================================

Opening script: CT_PD_ACA_A_Det.mpet
Compile successful

[143.275,289] ACA not supported, so automatic pass.
[143.275,303] PASSED TEST

===End of Script===============================================

Opening script: CT_PD_ACA_B_Det.mpet
Compile successful

[143.403,015] ACA not supported, so automatic pass.
[143.403,028] PASSED TEST

===End of Script===============================================

Opening script: CT_PD_ACA_C_Det.mpet
Compile successful

[143.565,644] ACA not supported, so automatic pass.
[143.565,658] PASSED TEST

===End of Script===============================================

Opening script: CT_PD_ACA_GND_Det.mpet
Compile successful

[143.714,206] ACA not supported, so automatic pass.
[143.714,220] PASSED TEST

===End of Script===============================================

Opening script: CT_PD_WEAK_REP.mpet
Compile successful

Checklist for Portable Devices (PDs)
(Tests using Battery Just Above Weak Battery Threshold)
-------------------------------------------------------

PD1:  Can the PD detect when VBUS is greater than a
      threshold in the range VOTG_SESS_VLD ?
                                                      - Vendor Declaration

PD2:  Can the PD detect when D+ is greater than a
      threshold in the range VDAT_REF ?
                                                      - Vendor Declaration

PD3:  Can the PD detect when D- is greater than a
      threshold in the range VDAT_REF ?
                                                      - Vendor Declaration

PD4:  Can the PD detect when D- is greater than a
      threshold in the range VLGC ?
                                                      - Vendor Declaration

PD5:  [Optional] Does PD use a current source IDP_SRC
      and pull-down resistor RDM_DWN to detect when
      the  data pins have made contact during an
      attach event?
                                                      - NO (permitted)

PD6:  If yes, does PD commence Primary Detection
      within TDCD_TIMEOUT max after VBUS rises above
      VOTG_SESS_VLD, if pin contact has not been
      detected on D+ or ID pins?
                                                      - NOT APPLICABLE

PD7:  If no, does PD wait a time of TDCD_TIMEOUT
      after the attach event before starting Primary
      Detection?
                                                      - NO (FAIL)

PD8:  Does PD connect within TSVLD_CON_PWD of the
      attach event?
                                                      - YES (PASS)

PD9:  Does PD wait for D+ to stay below VLGC_LOW for
      TDCD_DBNC min before disconnecting IDP_SRC and
      RDM_DWN?
                                                      - NOT TESTED

PD10: Does PD turn on VDP_SRC and IDM_SINK and
      maintain them for TVDPSRC_ON during Primary
      Detection?
                                                      - NO (FAIL)

PD11: Is the design of VDP_SRC such that an external
      device is able to pull D+ to VDP_UP through
      RDP_UP ?
                                                      - NOT TESTED

PD12: Does PD compare D- with VDAT_REF during Primary
      Detection to distinguish between an SDP and a
      Charging Port?
                                                      - NO (FAIL)

PD13: [Optional] Does PD compare D- with VLGC during
      Primary Detection?
                                                      - NO (permitted)

PD14: [Optional] Does PD implement Secondary
      Detection?
                                                      - NO (permitted)

PD15: If the PD supports Secondary Detection, does
      the PD turn on VDM_SRC and IDP_SINK and
      maintain them for TVDMSRC_ON during Secondary
      Detection?
                                                      - NOT APPLICABLE

PD16: If the PD supports Secondary Detection, does
      the PD compare D+ with VDAT_REF during
      Secondary Detection to distinguish between a
      DCP and a CDP?
                                                      - Vendor Declaration

PD17: If the PD does not support Secondary Detection,
      and during Primary Detection has detected that
      it is connected to a DCP or to a CDP, does it
      pull D+ up to VDP_UP through RDP_UP, within
      TSVLD_CON_PWD of attach, and maintain this for
      as long as it draws more than ISUSP?
                                                      - NOT APPLICABLE

PD18: If the PD supports Secondary Detection, and
      during this detects that it is attached to a
      CDP, does it turn off VDP_SRC, VDM_SRC and
      IDP_SINK, and connect within TSVLD_CON_PWD of
      attach?
                                                      - NOT APPLICABLE

PD19: [Optional] Does PD implement ACA Detection?
                                                      - NO (permitted)

PD20: If the PD supports ACA detection, does PD have
      a Micro-AB receptacle?
                                                      - Inspection

PD21: If the PD supports ACA detection, is it able to
      detect being attached to an ACA-Dock when it
      sees the following conditions:
      *   VBUS > VOTG_SESS_VLD
      *   ID at RID_A
      *   D+ at VLGC_HI
      *   VDAT_REF < D- < VLGC
                                                      - NOT APPLICABLE

PD22: If the PD supports ACA detection, is it able to
      detect being attached to an ACA with a FS
      B-device on its accessory port and a charging
      port attached, when it sees the following
      conditions:
      *    ID at RID_A
      *    D- < VDAT_REF
                                                      - NOT APPLICABLE

PD23: If the PD supports ACA detection, is it able to
      detect being attached to an ACA with a LS
      B-device on its accessory port and a charging
      port attached, when it sees the following
      conditions:
      *   ID at RID_A
      *   D- > VLGC
                                                      - Vendor Declaration

PD24: If the PD supports ACA detection, is it able to
      detect being attached to an ACA having a
      charging port attached when it sees the
      following condition:
      *   ID at RID_B
                                                      - NOT APPLICABLE

PD25: If the PD supports ACA detection, is it able to
      detect being attached to an ACA with an
      A-device on its accessory port and a charging
      port attached, when it sees the following
      condition:
      *   ID at RID_C
                                                      - NOT APPLICABLE

PD26: If the PD supports ACA detection, is it able to
      detect being attached to an ACA with an
      B-device on its accessory port and no charging
      port attached, when it sees the following
      condition:
      *   ID at RID_GND
                                                      - NOT APPLICABLE

PD27: If the PD supports ACA detection, does it
      continue to monitor the ID line after doing
      Primary detection, and respond correctly to
      resistance changes?
                                                      - Vendor Declaration

PD28: Does PD discharge VBUS to less than VBUS_LKG
      within TVLD_VLKG whenever VBUS is removed?
                                                      - YES (PASS)

PD29: Does PD wait at least TCP_VDM_EN after
      disconnecting, before restarting the charger
      detection process?
                                                      - Vendor Declaration

PD30: Does PD draw no more than IDEV_CHG max from a
      Charging Port?
                                                      - YES (PASS)

PD31: Does PD draw no more than ICFG_MAX from a SDP?
                                                      - YES (PASS)

PD32: Does PD pull output voltage of a Charging Port
      no lower than VDCP_SHTDWN?
                                                      - Vendor Declaration
PD33 question appears in Good Battery report.

===End of Script===============================================

===End of Test Sequence========================================

----RESULT SUMMARY----
Pass - CT_PD_WEAK_PREP.mpet
Pass - CT_PD_DCD_CS.mpet
FAIL - CT_PD_DCD_TO.mpet
FAIL - CT_PD_DCP_Det.mpet
FAIL - CT_PD_CDP_Det.mpet
FAIL - CT_PD_SDP_Det.mpet
Pass - CT_PD_Dock_Det.mpet
Pass - CT_PD_ACA_A_Det.mpet
Pass - CT_PD_ACA_B_Det.mpet
Pass - CT_PD_ACA_C_Det.mpet
Pass - CT_PD_ACA_GND_Det.mpet
Pass - CT_PD_WEAK_REP.mpet

===End of Report===============================================

1. do you know why test fail?

2. for another question, below E2E link said "when the USB device is connected, the charger will manipulate the lines for up to 1s to perform the detection routine. "

 

why need 1S, does it define in BC1.2 Compliance? I doubt this fail is related with it?!

3. In data sheet (table 2) "0.5 sec timer expired in DCD", how to get 0.5 sec? also from BC1.2 Compliance?

thanks~

Regards,

Driscoll

  • Hey Driscoll,

    1. I noticed in the testing reports that you have classified the charger as "[1.263,831] * DCD using current source NOT supported". This is incorrect. The BQ24297 performs DCD with a current source.

    I would correct this first before continuing. 

    2. The 1s timing is noted as TSVLD_CON_PWD within the BC1.2 Compliance document and the spec itself. Please refer to that for more information. Additionally, there is a separate TDCD_TIMEOUT that applied to Data Contact Detection, also within the spec. This is up to 900ms max, but can be lower.

    3. TDCD_TIMEOUT also applied to this question. The range for this timer is between 300 and 900ms. Please refer to BC1.2 Compliance Plan you attached to your post.

    Regards,

    Joel H

  • Hi Joel,

    About the first item:

    The Allion Lab reply that they took the default setting to test by instrument  MQP. I had asked to test again with enable DCD.

    Do you know any items I should enable as below?

    Regards,

    Driscoll

  • Hi Sir,

    Do you has any suggestion?
    thanks~

    Regards,
    Driscoll
  • Hey Driscoll,

    I am not familiar with this GUI or how to set up this environment.

    I would imagine that from my comment, the "DCD Current Source" needs to be checked for this testing. However, I cannot explicitly speak to the other checkboxes on that GUI. 

    Regards,

    Joel H

  • Hi Joel,

     Here is the Allion re-test with DCD check. Could you have any suggestion on this?

      And Log file for DCD check.    

    Log File (for DCD check)_20180822.zip

     DCD_check: Fail

     Data Contact Detect Test with Current Source

    [1.587,591] 10. Check voltage on D+ is less than 0.375V. This proves that

                                       IDP_SRC and leakage, together, are low enough to provide a low

                                      logic level on D+, even after nearly TDCD_DBNC min (10ms).

                                    0.380V used in actual test script to allow for small tester

                                       leakage.) [PD9]

    [1.587,595]     - Voltage on D+ is 0.594V.

    [1.587,598]     FAIL: Worst-case pulldown is not able to pull D+ low enough.

    …………….

    [4.798,895] 16. Check that D+ goes down to voltage in the range VDP_SRC (0.5

                                            to 0.7V) within TDCD_TIMEOUT (0.3 to 0.9 sec) of VBUS going

                                             on. [PD6]

    [6.574,185]     - D+ went down to 0.7V after 1986.4ms of VBUS reaching 0.8V.

    [6.574,185]     FAIL: TDCD_TIMEOUT does not lie in range 0.3s - 0.9s.

    [6.574,189]     FAIL: Primary Detection was not detected within TSVLD_CON_PWD

                                   max (1 sec).

    [6.574,192] 17. Disconnect everything from VBUS, and switch VBUS off.

    [6.574,255] 18. Wait 8 seconds, ignoring SRP pulse, to allow disconnection to

                                  be detected.

    [14.574,286] FAILED TEST - (Does not prevent further tests).

    Regards,

    Driscoll

  • Hey Driscoll,

    Let me review this data and get back to you.


    Regards,
    Joel H

  • Hey Driscoll,

    So I checked the D+ value on our EVM and saw ~204mV for about 16ms.

    I would ask that you check the line resistance between the D+ connection point for your DUT to the actual charger D+ pin. There is a maximum resistance that can be placed between the D+ pin of the charger and the USB connection point of your PCB.

    Please check this.


    Regards,
    Joel H