6 Register Configuration
(Ask a Question)The CPRI master module and CPRI slave IP are connected to the Mi-V processor using an AHB interface. The base address of CPRI master is 0x60070000 and the base address of CPRI slave IP is 0x60060000.
The following table lists the register configuration and these registers are configured in the SoftConsole project: mpf_an4949_v2022p3_df\SoftConsole\CPRI_config\main.c.
| Offset | Value | Description |
|---|---|---|
| 0x04 | 0x1F | TX Interface Sequence Number Register Line Rate 5: TX_SEQ_NUM: 0x1f |
| 0x08 | 0x1F | RX Interface Sequence Number Register Line Rate 5: RX_SEQ_NUM: 0x1f |
| 0x0C | 0xBC | TX Framer K character Register TX_Z_0_0_SYNC: 0xBC which is K28.5 character |
| 0x10 | 0xBC | RX Framer K character Register RX_Z_0_0_SYNC: 0xBC which is K28.5 character |
| 0x14 | 0x50 | TX Framer D character Register TX_Z_0_1_SYNC: 0x50 which is D16.2 character |
| 0x18 | 0x50 | RX Framer D character Register RX_Z_0_1_SYNC: 0x50 which is D16.2 character |
| 0x1C | 0x50 | TX Framer D character Register TX_Z_0_Y_SYNC: 0x50 which is D16.2 character |
| 0x20 | 0x50 | RX Framer D character Register RX_Z_0_Y_SYNC: 0x50 which is D16.2 character |
| 0x2C | 0x14 | TX Fast Ethernet pointer register TX_Z_194_0: 0x14 The Fast Ethernet data to be written from this location. |
| 0x24 | 0x01 | TX Protocol Version Register TX_Z_2_0_SYNC: 0x01 The current version of the IP supports only protocol version 1. |
| 0x30 | 0x14 | RX Fast Ethernet pointer register RX_Z_194_0: 0x14 The Fast Ethernet data to be written from this location. |
| 0x100 | 0xF4240 | Start Timer Register Time out value for L1 Sync state machine |
| 0x104 | 0x1FFF | HFN Sync Counter Register Line 5: HFN_COUNT: 1FFF This value indicates the duration of one CPRI Hyperframe for the selected Line rate. |
| 0x00 | 0xF | CPRI Control Register Enables IQ mapper, demapper, and L1 sync state machine and CPRI IP functionality. |
