40.6 Peripheral Dependencies

Peripheral

Name

Base

Address

NVIC IRQ

Index:Source

MCLK

AXI/APB

Clk Index

GCLK

Peripheral Channel

Index : Clock

PAC

Peripheral Identifier

(PAC.WRCTRL)

Power

Domain

SDHC00x458A 0000 211 : LINE or TIMERAHB: MCLK.CLKMSK2[5]

APB: MCLK.CLKMSK2[6]

GCLK_SDHC0_CORE: GCLK.PCHCTRL[58]

GCLK_SDHC0_SLOW: GCLK.PCHCTRL[59]

60 : INTFLAGB[28]VDDREG
SDHC10x460A 0000212 : LINE or TIMERAHB: MCLK.CLKMSK2[7]

APB: MCLK.CLKMSK2[8]

GCLK_SDHC1_CORE: GCLK.PCHCTRL[60]

GCLK_SDHC1_SLOW: GCLK.PCHCTRL[61]

61 : INTFLAGB[29]VDDREG

I/O Lines

In order to use the I/O lines, the I/O pins must be configured using the IO Pin Controller (PORT).

Clocks

The peripheral is using two generic clocks and one bus clock.

The clock for the SDHC bus interface (CLK AHB SDHC) is enabled and disabled by the Main Clock Controller. The default state of CLK AHB SDHC can be found in the Peripheral Clock Masking section.

The two generic clocks are:

  • The core clock GCLK SDHCx is required to clock the SDHC core.
  • The slow clock GCLK SDHCx SLOW is only required for certain functions. When this clock is required, GCLK SDHCx must be enabled.

These clocks must be configured and enabled in the Generic Clock Controller (GCLK) before using the SDHC. The generic clocks are asynchronous to the user interface clock (CLK SDHCx AHB). Due to this asynchronicity, writing to certain registers will require synchronization between the clock domains.

DMA

The SDHC has a built-in Direct Memory Access (DMA) and will read/write data to/from the system RAM when a SDHC transaction takes place. No CPU or DMA Controller (DMAC) resources are required.

Interrupts

The interrupt request line is connected to the Interrupt Controller. In order to use interrupt requests of this peripheral, the Interrupt Controller (NVIC) must be configured first.