[EVM Pre-configuration]
- 20V/3A sink only
- No USB data required
- Charger current is set to 1.28A(max)
[Test Step]
- Plug 20V/3A(60W) USBC adaptor
- Can see PD negotiation completed w/ PD sniffer
- Can measure adaptor output 20V on VBUS test point
- Can read mode register(0x03) = ‘APP’(raw 04 41 50 50)
[Issues]
1. TX PDO is not matched w/ PD sniffer log
-
- PD sniffer log – please refer the below PDO raw for detail
0x51A1
0x0801912C (5V/3A)
0x0002D12C (9V/3A)
0x0003C12C (12V/3A)
0x0004B12C (15V/3A)
0x0006412C (20V/3A)
- Read register TX_SOURCE_CAPS(0x32) - the following is the log of I2C sniffer
-
1F 04 A8
2A 2C 91 01
26 2C D1 02
00 2C B1 04
00 2C 41 06
00 00 00 00
00 00 00 00
00 00 00 00
- number of PDO is not 5
- PDO1, PDO2 are not correct
- Miss PDO3
2. VBUS voltage/ current ADC issue - the following is the raw data of register ADC_RESULTS( 0x6A)
0D 00 00 EB CB 00 00 00 |
- Voltage – byte3/ byte4, which is mapped to PPHV?
- Current – can’t read current ADC value of I_PA_VBUS and I_PB_VBUS, both byte6-7 are 0
3. Add thermistor on ADC - we would like to connect thermistor(10Kohm) to GPIO 0/2/4/5 to monitor system temperature
- do we need add the voltage divider circuit of thermistor, if yes, could u provide a sample~
- how do we read the ADC value(register bit field definition) of GPIO 0/2/4/5 and remap to voltage(xxmV per LSB)??
BR
Peter