Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Most registers and functions are available via ETH PHY Management interface (MIO pins 52 and 53).

AddrR/WRegister nameDescripion
0RO

1RO

2ROID1PHY Identifier Register 1
3ROID2PHY Identifier Register 2
4RW?Auto-Negotiation advertisement register
5RWCR1Control Register 1: LED's
6RWCR2Control Register 2; XIO Control
7RWCR3Control Register 3; Reset, Interrupt
8ROSR1Status Register
9ROMAChiHighest bytes of primary MAC Address
0xAROMACmiMiddle bytes of primary MAC Address
0xBROMACloLowest bytes of primary MAC Address
0xCROCR4reserved do not use
0xDRWMMD_CRMMD Control Register
0xERWMMD_ADMMD Address/Data
0xF-
reserved do no use
other-
reserved do not use


Register CR1

CR1Description
15:12-
11:8NOSEQ Mux
7:4LED1 Mux
3:0LED2 Mux


Register CR2

CR2Description
15:12XCLK Mux
11:8XIO6 Mux
7:4XIO5 Mux
3:0XIO4 Mux


Register CR3

CR3 bitrelated functionrelated port/signal
0MEMS interrupt 1INT1
1MEMS interrupt 2INT2
2Real time clock interruptRTC_RST
3Interrupt output pin of ethernet transceiverPHY_LED2
4Reset for high speed USB transceiverOTG_RST
5Reset for ethernet transceiver / Reset for serial for  unio mac read coreETH_RST
6Reset for MMCMMC_RST
7Enable for ETH clockEN_ETH_CLK
15:8Enable for watch dog timer / Extra enable

if 0xE5  → WDT enable

if 0xA5 → Extra enable


The mapping of CPLD IOs (XIO4,XIO5,XIO6 and XCLK) that are connected directly with FPGA, can be changed using CR2 register.  

Signal XIO4

Value (CR2[3:0])XIO4
0001

MIO7

0010

SHA_IO

0011MAC_IO
1000uio_unidir
0110'Z'
0111Undefined
DefaultPHY_LED0


Signal XIO5

Value (CR2[7:4])XIO5
0001

MIO14

RX pin of UART0 (FPGA Zynq PS)
0010Undefined
0011RTC_INT
1000uio_unidir
0110'Z'
0111Undefined
DefaultPHY_LED1


Signal XIO6

Value (CR2[11:8])XIO6Description
0001

MIO15

TX pin of UART0 (FPGA Zynq PS)
0010Undefined
0011osc_clkThis pin is directly connected to on-chip oscillator signal. (24.18MHZ)
1000uio_unidir
0110'Z'
0111INTRINTR signal can be depending on CR3 register value connected to one of the following interrupt signals: INT1, INT2, RTC_INT, PHY_LED2
DefaultPHY_LED2


Signal XCLK

Value (CR2[15:12])XCLKDescription
0001RTC_INT
0010osc_clkThis pin is directly connected to on-chip oscillator signal. (24.18MHZ)
0011Undefined
1000Undefined
0110Undefined
0111Undefined
DefaultCLK_125MHZThis pin is connected to output clock pin of ethernet transceiver chip.


Signal SHA_IO

Value XIO4[3:0]Value XIO5SHA_IO
0010'0''0'
else'Z'


Signal MAC_IO

Value XIO4[3:0]MAC_IO
0011'0'
elseConnected to internal MAC read block


Signals MIO14 and MIO15

Value (CR2[7:4])MIO14Value (CR2[11:8])MIO15Description
1001XIO5_in1001XIO6_inXIO5_in and XIO6_in are equal to XIO5 and XIO6 respectively if VCCIO34 voltage equal to 1.8V.
else'Z'else'Z'


Status register bits mapping:

SR1Description
0

INT1

1INT2
2RTC_INT
3PHY_LED2
7BOOTMODE_LATCHED
8BOOTMODE_IN2
9BOOTMODE_IN
10NOSEQ
11NOSEQ_LATCHED
12WD_EVENT
13PG_1V5
14EXTRA_ENABLED or WDOG_ENABLED
15mac_valid


The subsystem I2C to GPIO port mapping is according the following table:

I2C to GPIOPin nameCPLD PinDirectionFPGA PinDescription
sda_in (SDA)X7M1from FPGAN22
sda_outX5J1to FPGAP22If X7 is High. If X7 is Low, this pin will be disconnected.
sclk (SCL)X1F1from FPGAL16
GPIO_input

Mapping the GPIO_input bits to various ports or signals

GPIO_outputNot used


GPIO_input bitConnected to:
0

PHY_LED0

1PHY_LED1
2MIO7
3NOSEQ
4RESIN_g
5EN1_g
6BOOTMODE_LATCHED
7BOOTMODE_IN
8INT1
9INT2
10RTC_INT
11PHY_LED2
12'0'
13'0'


Value (uio_sm_cnt[8:5])uio_io_data
0000

MIO7

0001RTC_INT
0010INT1
0100INT2
0011PHY_LED0
0100PHY_LED1
0101PHY_LED2
0110BOOTMODE_IN
0111MIO14
1000MIO15
1001XIO4
1010XIO5
1011XIO6
1100WD_HIT
1101'0'
1110'0'


Value (uio_sm_cnt[2:1])uio_unidirDescription
01'0'
10

uio_io_data / uio_id_data

If uio_sm_cnt(4) Low --→  uio_id_data

On-board LEDs

There are 3 on-board LEDs, with two of them connected to the System Management Controller and one to the Zynq PL (Done pin).

NameColorConnected to:Default mapping:
LED1GreenSCPL MIO[7]
LED2RedSCBoot Mode Blink (Fast → SPI, Slow→ SD Card)
LED3GreenZynq PLFPGA Done - Active Low

LED1 Green

This LED is mapped to MIO7 after power up. After the Zynq PS has booted it can change the mapping of this LED. If SC can not enable power to the Zynq then this LED will remain under SC control. It is available to the user only after the power supplies have stabilized and the POR reset to the Zynq is released. If watch dog timer is activated this LED will be assigned to the 7th bit of the counter of watch dog timer.

Value (CR1[3:0])LED1 (Green)
0001

PHY_LED0

0010

PHY_LED1

0011

PHY_LED2

0100

MIO7

0101

RTC_INT

0110

OFF

0111

ON

1000XIO4
1001Not MIO14
1010Not MIO14/Not MIO15
DefaultMIO7


LED1(Green)ConditionDescription
WD_counter(7)WDOG_ENABLED = '1'
ONPOR_B_i = '0'POR_B_i is '0' if one of the following signals is '0' --->   EN1 or RESIN or PG_ALL or PORDONE
Variableelse

Mapping depending on the CR1[3:0] value


LED2 Red

This LED is used to show various signal or port states. The function of this LED can be changed by CR1 register.

Value (CR1[7:4])LED2 (Red)
0001PHY_LED0
0010PHY_LED1
0011PHY_LED2
0100MIO7
0101RTC_INT
0110OFF
0111ON
1000XIO5
1001Not MIO15
1010Not MIO14/Not MIO15
Defaultmodeblink


LED2(Red)ConditionDescription
powerblinkEN1_g = '0'EN1_g is delayed EN1.
ONPOR_B_i = '0'
Variableelse

Mapping depending on the CR1[7:4] value


LED3 Green (FPGA Done)

This green LED is connected to the FPGA Done pin which has an active low state. As soon as the Zynq is powered and the 3.3V I/O voltage is enabled, this LED will illuminate. This indicates that the Zynq PL is not configured. Once the Zynq PL has been configured the LED will go off.

...

JTAG signals routed directly through the CPLD to FPGA. Access between CPLD and FPGA can be multiplexed via JTAGENB pin of CPLD (B9) (logical one for CPLD, logical zero for FPGA). This pin is connected to B2B (JM1-pin 89) directly. On the carrier board can be this pin enabled or disabled with a dip switch.

CPLD JTAGENB (B2B JM1-89)Description
0FPGA access
1CPLD access

Power

...

Appx. A: Change History and Legal Notices

...