Embedded Solutions
Page 15
Channel Address Map
Function
Offset from Channel Base Address
#define CHAN_CNTRL
0x00000000 // 0 General control register
#define CHAN_STATUS
0x00000004 // 1 Interrupt status port
#define CHAN_INT_CLEAR
0x00000004 // 1 Interrupt clear port
#define CHAN_WR_DMA_PNTR 0x00000008 // 2 Write DMA dpr physical PCI address register
#define CHAN_TX_FIFO_COUNT 0x00000008 // 2 Tx FIFO count read port
#define CHAN_RD_DMA_PNTR 0x0000000C // 3 Read DMA dpr physical PCI address register
#define CHAN_RX_FIFO_COUNT 0x0000000C // 3 Rx FIFO count read port
#define CHAN_FIFO
0x00000010 // 4 FIFO offset for single word access R/W
#define CHAN_TX_AMT
0x00000014 // 5 Tx almost empty count register - used for Urgent
and pulsed interrupt
#define CHAN_RX_AFL
0x00000018 // 6 Rx almost full count register
#define CHAN_READY_CNT
0x00000024 // 9 Amount of data in pipeline before Tx can start
#define CHAN_FRAME_REF
0x00000028 // 10 Count representing time between frame start
triggers
#define CHAN_LINE_LENGTH
0x0000002C // 11 Number of pixels in a line
#define CHAN_IDLE_LENGTH
0x00000030 // 12 Number of idles at end of line
#define CHAN_FRAME_LENGTH 0x00000034 // 13 Number of lines in a frame
#define CHAN_TX_PreAmblePat 0x00000038 // 14 PreAmble Control Word
#define CHAN_TX_PreAmbleLen 0x0000003C // 15 PreAmble number of Pixels
#define CHAN_TX_SyncPat
0x00000040 // 16 Sync Control Word
#define CHAN_TX_SyncLen
0x00000044 // 17 Sync Number of Pixels
#define CHAN_TX_IdlePat
0x00000048 // 18 Idle Control Word
#define CHAN_TX_DataPat
0x0000004C // 19 Data Control Word
Figure 5 PcieBiSerialDb37BA22 Channel Address Map