SAM3SD8B Atmel Corporation, SAM3SD8B Datasheet - Page 514

no-image

SAM3SD8B

Manufacturer Part Number
SAM3SD8B
Description
Manufacturer
Atmel Corporation
Datasheets
Figure 27-13. Parallel Capture Mode Waveforms (DSIZE=2, ALWYS=0, HALFS=1, FRSTS=1)
27.5.13.3
27.5.13.4
514
514
RDATA (PIO_PCRHR)
Read of PIO_PCISR
DRDY (PIO_PCISR)
Without PDC
With PDC
PIODC[7:0]
PIODCEN1
PIODCEN2
PIODCCLK
SAM3S8/SD8
SAM3S8/SD8
MCK
Restrictions
Programming Sequence
0x01
• Configuration fields DSIZE, ALWYS, HALFS and FRSTS in PIO_PCMR
• Frequency of PIO controller clock must be strictly superior to 2 times the frequency of the
1. Write PIO_PCIDR and PIO_PCIER
2. Write PIO_PCMR
3. Write PIO_PCMR to set the PCEN bit to 1 in order to enable the parallel capture mode
4. Wait for a data ready by polling the DRDY flag in PIO_PCISR
5. Check OVRE flag in PIO_PCISR.
6. Read the data in PIO_PCRHR
7. If new data are expected go to step 4.
8. Write PIO_PCMR to set the PCEN bit to 0 in order to disable the parallel capture mode
1. Write PIO_PCIDR and PIO_PCIER
2. Configure PDC transfer in PDC registers.
Capture Mode Register”
this time (PCEN = 0 in PIO_PCMR).
clock of the device which generates the parallel data.
and
capture mode interrupt mask.
ALWYS, HALFS and FRSTS in order to configure the parallel capture mode WITHOUT
enabling the parallel capture mode.
WITHOUT changing the previous configuration.
Interrupt Status Register”
WITHOUT changing the previous configuration.
and
capture mode interrupt mask.
0x12
“PIO Parallel Capture Interrupt Enable Register”
“PIO Parallel Capture Interrupt Enable Register”
0x23
(“PIO Parallel Capture Mode Register”
0x34
) can be changed ONLY if the parallel capture mode is disabled at
) or by waiting the corresponding interrupt.
0x45
(“PIO Parallel Capture Reception Holding Register”
(“PIO Parallel Capture Interrupt Disable Register”
(“PIO Parallel Capture Interrupt Disable Register”
0x56
0x67
) in order to configure the parallel
) in order to configure the parallel
0x7856_3412
0x78
) to set the fields DSIZE,
(“PIO Parallel Capture
0x89
(“PIO Parallel
11090A–ATARM–10-Feb-12
11090A–ATARM–10-Feb-12
).

Related parts for SAM3SD8B