UM10237_2 © NXP B.V. 2008. All rights reserved.
User manual Rev. 02 — 19 December 2008 403 o f 792
NXP Semiconductors UM10237
Chapter 15: LPC24XX USB OTG controller
7.7 OTG Timer Register (OTGTmr - 0xFFE0 C114)
7.8 OTG Clock Control Register (OTGClkCtrl - 0xFFE0 CFF4)

This register controls the clocking of the OTG controller. Whenever software wants to

access the registers, the corresponding clock control bit needs to be set. The software

does not have to repeat this exercise for every register access, provided that the

corresponding OTGClkCtrl bits are already set.

Fig 57. Port selection for PORT_FUNC bit 0 = 0 and PORT_FUNC bit 1 = 0.
Table 366. Port function truth table
PORT_FUNC[0] = 0 PORT_FUNC[0] = 1
PORT_FUNC[1] = 0 U1 = device (OTG)
U2 = host
U1 = host (OTG)
U2 = host
PORT_FUNC[1] = 1 reserved U1 = host
U2 = device
DEVICE
CONTROLLER
HOST
CONTROLLER
OTGStCtrl
PORT_FUNC[1] = 0PORT_FUNC[0] = 0
U1
U2
port2
port1
port1
Table 367. OTG Timer register (OTGTmr - address 0xFFE0 C114) bit description
Bit Symbol Description Reset
Value
15:0 TIMEOUT_CNT The TMR interrupt is set when TMR_CNT reaches this value. 0xFFFF
31:16 - Reserved, user software should not wri te ones to reserved
bits. The value read from a reserved bit is not defined. NA
Table 368. OTG_ clock_control register (OTG_clock_control - address 0xFFE0 CFF4) bit
description
Bit Symbol Value Description Reset
Value
0 HOST_CLK_EN Host clock enable 0
0 Disable the Host clo ck.
1 Enable the Host clock.