Information

1. Read the STATUS register.
2. Set CONTROL[IACK] to acknowledge the interrupt.
3. Set CONTROL[SR] to issue a software reset to the module.
4. Disable the module.
5. Communicate the appropriate charge rate to the external battery charger IC; see
Table 41-13.
41.5.1.4.2 Charging port
As part of the charger detection handshake with any type of USB host, the module waits
until the T
VDPSRC_CON
interval has elapsed before it does the following:
Updates the STATUS register to reflect that a charging port has been detected with
SEQ_RES = 10. See Table 41-18 for field values.
Sets CONTROL[IF].
Generates an interrupt if enabled in CONTROL[IE].
At this point, control has passed to system software via the interrupt. Software should:
1. Read the STATUS register.
2. Set CONTROL[IACK] to acknowledge the interrupt.
3. Issue a command to the USB controller to pullup the USB D+ line.
4. Wait for the module to complete the final phase of the sequence. See Charger type
detection.
41.5.1.4.3 Error in charging port detection
For this error condition, the module does the following:
Updates the STATUS register to reflect the error with SEQ_RES = 00. See Table
41-18 for field values.
Sets CONTROL[IF].
Generates an interrupt if enabled in CONTROL[IE].
Note that in this case the module does not wait for the T
VDPSRC_CON
interval to elapse.
Functional description
K20 Sub-Family Reference Manual, Rev. 2, Feb 2012
944 Freescale Semiconductor, Inc.