MPC563XM Reference Manual, Rev. 1
1098
Freescale Semiconductor
Preliminary—Subject to Change Without Notice
ETRIG port must be selected and set to a known logic level before putting the
CFIFOs into the WAITING FOR TRIGGER state.
The trigger filter bypass control inputs must be set considering the characteristics
of the trigger signal. A particular case to assert the bypass control is when a SoC
internal signal with one clock width pulse is used.
3.
Configure
Section 24.5.2.4, “EQADC External Trigger Digital Filter Register (EQADC_ETDFR)
4.
Configure
Section 24.5.2.3, “EQADC Null Message Send Format Register (EQADC_NMSFR)
5.
Configure
Section 24.5.2.13, “EQADC SSI Control Register (EQADC_SSICR)
with the external device.
6.
Enable the EQADC SSI by programming the ESSIE field in the
Section 24.5.2.1, “EQADC Module
Configuration Register (EQADC_MCR)
.
a.
Write 0b10 to ESSIE field to enable the EQADC SSI. FCK is free running but serial
transmissions are not started.
b.
Wait until the external device becomes stable after reset.
c.
Write 0b11 to ESSIE field to enable the EQADC SSI to start serial transmissions.
7.
Configure the DMAC to transfer data from CQueue0 to CFIFO0 in the EQADC.
8.
Configure
Section 24.5.2.8, “EQADC Interrupt and DMA Control Registers (EQADC_IDCR)
a.
Set CFFS0 to configure the EQADC to generate a DMA request to load commands from
CQueue 0 to the CFIFO0.
b.
Set CFFE0 to enable the EQADC to generate a DMA request to transfer commands from
CQueue0 to CFIFO0; Command transfers from the RAM to the CFIFO0 will start immediately.
c.
Set EOQIE0 to enable the EQADC to generate an interrupt after transferring all of the
commands of CQueue0 through CFIFO0.
9.
Configure
Section 24.5.2.7, “EQADC CFIFO Control Registers (EQADC_CFCR)
a.
Write 0b0001 to the MODE0 field in EQADC_CFCR0 to program CFIFO0 for software
single-scan mode.
b.
Write “1” to SSE0 to assert SSS0 and trigger CFIFO0.
10.
Since CFIFO0 is in single-scan software mode and it is also the highest priority CFIFO, the EQADC
starts to transfer configuration commands to the on-chip ADCs and to the external device.
11.
When all of the configuration commands have been transferred, CF0 in
FIFO and Interrupt Status Registers (EQADC_FISR)
will be set. The EQADC generates a End of
Queue interrupt. The initialization procedure is complete.