
Preliminary
www.ti.com
Low-Level Programming Models
9.3
Low-Level Programming Models
9.3.1 Surrounding Modules Global Initialization
This section identifies the requirements of initializing the surrounding modules when the module has to
be used for the first time after a device reset. This initialization of surrounding modules is based on the
integration and environment of the SD/SDIO modules.
Table 9-11. Global Init for Surrounding Modules
Surrounding Modules
Comments
PRCM
Module interface and functional clocks must be enabled. For more information, see Power, Reset,
and Clock Management (PRCM) chapter
Control module
Module-specific pad muxing and configuration must be set in the control module. See Control
Module chapter.
(optional) MPU INTC (or DSP
MPU INTC configuration must be done to enable the interrupts from the SD module. See Interrupt
INTC)
Controller chapter
(optional) sDMA (or dDMA)
DMA configuration must be done to enable the module DMA channel requests. See SDMA
chapter
(optional) Interconnect
For more information about the interconnect configuration, see Interconnect chapter
NOTE:
The MPU/DSP interrupt controller and the sDMA/dDMA configurations are necessary, if
the interrupt and DMA based communication modes are used.
9.3.2 SD/SDIO Controller Initialization Flow
The next sections outline the four steps to initialize the SD/SDIO controller:
•
Initialize Clocks
•
Software reset of the controller
•
Set module's hardware capabilities
•
Set module's Idle and Wake-Up modes
9.3.2.1
Enable OCP and CLKADPI Clocks
Prior to any SD register access one must enable the SD OCP clock and CLKADPI clock in PRCM
module registers. Refer to the Power, Reset, and Clock Management chapter.
957
SPRUGX9 – 15 April 2011
Secure Digital (SD)/—Secure Digital I/O (SDIO) Card Interface
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...