1
14-1
Section 14 Section 14 Parallel Peripheral Interface (PPI) a - - PowerPoint PPT Presentation
Section 14 Section 14 Parallel Peripheral Interface (PPI) a 14-1 1 ADSP-BF533 Block Diagram L1 Core Instruction Timer 64 Memory Performance Core LD0 32 Monitor Processor L1 Data LD1 32 Memory JTAG/ Debug SD32 Core D0 bus
14-1
14-2
Watchdog And Timers DMA Controller UART0 IRDA Real Time Clock Programmable flags SPORTs SPI EBIU 1KB internal Boot ROM
CORE/SYSTEM BUS INTERFACE
32 Core D1 bus 64 Core I bus Core Timer JTAG/ Debug Performance Monitor Core Processor L1 Instruction Memory L1 Data Memory LD1 32 64 PPI
Peripheral Access Bus (PAB) DMA Access Bus (DAB) External Access Bus (EAB)
Power Management Event Controller 32 DMA Mastered bus
Core DA0 bus 32 32 Core D0 bus Core DA1 bus 32
Core Clock (CCLK) Domain System Clock (SCLK) Domain
LD0 32 16 16 16 16
External Port Bus (EPB) DMA Ext Bus (DEB)
16
DMA Core Bus (DCB)
16 SD32
Data Address Control
14-3
14-4
14-5
14-6
PPI_CONTROL PPI_STATUS PPI_COUNT PPI_DELAY PPI_FRAME
14-7
PPI_CLK PPI_FS1 PPI_DATA PPI_DELAY 1 2 3 N-1 N PPI_COUNT
14-8
PPI_CLK PPI_FS1 PPI_DATA PPI_DELAY 1 2 3 N-1 N PPI_COUNT PPI_FS2 PPI_FS3
14-9
TIMER1 TIMER2
PPI_CONTROL PPI_STATUS PPI_COUNT PPI_DELAY PPI_FRAME
14-10
PPI_CLK PPI_FS1 PPI_DATA PPI_DELAY 1 2 3 N-1 N PPI_COUNT PPI_FS2
14-11
TIMER1 TIMER2
PPI_CONTROL PPI_STATUS PPI_COUNT PPI_DELAY PPI_FRAME
14-12
PPI_CLK PPI_FS1 PPI_DATA PPI_DELAY 1 2 3 N-1 N PPI_COUNT
14-13
PPI_CLK PPI_FS1 PPI_DATA PPI_DELAY 1 2 3 N-1 N PPI_COUNT PPI_FS2 PPI_FS3
14-14
14-15
Line 1 Line 2 Line 3 Line 261 Line 262 Line 263
Line 1 Line 2 Line 3 Line 261 Line 263 t Video 8-16 bit BUS Blank (H)SYNC (V)SYNC (F)IELD CVBS
Video Video Video Blank Blank Blank Line 262 Video Blank
14-16
14-17
14-18
14-19
14-20
F F X Y
8-bit DATA 10-bit DATA
14-21
PPI_CONTROL PPI_STATUS PPI_COUNT PPI_DELAY PPI_FRAME
F F X Y 8 1 8 1 8 1 F F X Y C B Y C R Y C B Y C B Y F F
14-22
PPI_CONTROL PPI_STATUS PPI_COUNT PPI_DELAY PPI_FRAME
14-23
In input mode: 00 = 1 frame sync input 01 = frame capture, FS1, FS2 output 10 = 3 frame syncs 11 = infinite mode, 1 frame sync not repeated In output mode: 00 = 1 sync 01 = 3 syncs
0 = PPI receive mode 1 = PPI transmit mode
In input mode: 00 = Active field only 01 = Entire field 10 = Vertical Blanking only 11 = GP Input mode In output mode: 00, 01, 10 = ITU-656 Output Mode 11 = GP Output Mode
000 = 8-bit 001 = 10-bit . . 110 = 15-bit 111 = 16-bit
00 = Nothing inverted 01 = PPI_CLK inv., PPI_FS1 and PPI_FS2 not inv. 10 = PPI_FS1 and PPI_FS2 inv., PPI_CLK not inverted 11 = PPI_FS1, PPI_FS2, and PPI_CLK inv.
0 = PPI disable 1 = PPI enable
In ITU-656 input mode: 0 = Field 1 1 = Fields 1 and 2 In GP input mode: 0 = External frame sync trigger 1 = PPI self-trigger
0 = Disable 1 = Enable
0 = Skip odd number of elem. 1 = Skip even number of elem.
0 = Disable 1 = Enable 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Addr: 0XFFC0 1000
14-24
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
0 = Field 1 1 = Field 2
0 = No interrupt 1 = FIFO Underrun error interrupt occurred
ITU-656 Mode: 0 = Preamble error detected and corrected 1 = Preamble error detected but not corrected
ITU-656 Mode: 0 = No preamble error detected 1 = Preamble error detected
0 = No interrupt 1 = FIFO Overflow Error interrupt occurred
0 = No interrupt 1 = Frame Track error interrupt occurred Addr: 0XFFC0 1004
14-25
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
In GP input mode: One less than the number of samples to read in to the PPI per line In GP output mode: One less than the number of samples to write out through the PPI per line Addr: 0XFFC0 1008 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Number of PPI clock cycles to delay after assertation of PPI_FS1 before latching in data Addr: 0XFFC0 100C
14-26
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Holds the number of lines expected per frame of data Addr: 0XFFC0 1000