Contents
xi
Contents
7.4
MicroWire Interface
7.4.1
MicroWire Registers
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.4.2
Protocol Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.4.3
Example of Protocol Using a Serial EEPROM (XL93LC66)
7.4.4
Example of Protocol Using an LCD Controller (COP472-3)
7.4.5
Example of Protocol Using Autotransmit Mode
. . . . . . . . . . . . . . . . . . . . . . . . .
7.4.6
Example of Autotransmit Mode With DMA Support
. . . . . . . . . . . . . . . . . . . . . .
7.5
32-kHz Timer
7.5.1
Operating System Scalable Clock-Tick Interrupt Function
. . . . . . . . . . . . . . . .
7.5.2
32-kHz Timer Registers
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.6
Pseudonoise Pulse-Width Light Modulator
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.6.1
PWL Functional Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.6.2
PWL Registers
7.7
Pulse-Width Tone
7.7.1
Overview
7.7.2
PWT Features
7.7.3
PWT Registers
7.7.4
PWT Programming
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.8
Inter-Integrated Circuit Controller
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.8.1
I2C Protocol Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.8.2
OMAP5910 I2C (Master/Slave I2C Controller)
. . . . . . . . . . . . . . . . . . . . . . . . . .
7.8.3
Programming
7.8.4
Flowcharts
7.9
LED Pulse Generator
7.9.1
Features
7.9.2
LPG Design
7.9.3
LPG Power Management
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.9.4
LPG Registers
7.10
McBSP2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.10.1 McBSP2 Application Example: Communication Interface
7.11
USB Function Overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.12
MMC/SD Host Controller
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.12.1 MMC/SD Host Controller Features
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.12.2 MMC/SD Host Controller Signals Pads
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.12.3 MMC/SD Host Controller Clocks and Reset
. . . . . . . . . . . . . . . . . . . . . . . . . . .
7.12.4 MMC/SD Host Controller DMA Request
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.12.5 MMC/SD Host Controller Interrupt
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.12.6 MMC/SD Internal Pullups
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.12.7 MMC/SD Registers
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.12.8 Command Flow
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.12.9 DMA Operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.12.10 Local Host (IRQ/Polling) Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.13
Real-Time Clock
7.13.1 Register Descriptions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.13.2 Register Access
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.13.3 Register Descriptions and Mapping
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .