Page History
...
Value (CR1[11:8]) | NOSEQ |
---|---|
0001 | PHY_LED0 |
0010 | PHY_LED1 |
0011 | PHY_LED2 |
0100 | MIO7 |
0101 | RTC_INT |
0110 | OFF |
0111 | ON |
1000 | XIO6 |
1001 | uio_unidir |
1010 | Undefined |
Default | PHY_LED0 |
SC Pins to the FPGA
...
Addr | R/W | Register name | Descripion |
---|---|---|---|
0 | RO | ||
1 | RO | ||
2 | RO | ID1 | PHY Identifier Register 1 |
3 | RO | ID2 | PHY Identifier Register 2 |
4 | RW | ? | Auto-Negotiation advertisement register |
5 | RW | CR1 | Control Register 1: LED's |
6 | RW | CR2 | Control Register 2; XIO Control |
7 | RW | CR3 | Control Register 3; Reset, Interrupt |
8 | RO | SR1 | Status Register |
9 | RO | MAChi | Highest bytes of primary MAC Address |
0xA | RO | MACmi | Middle bytes of primary MAC Address |
0xB | RO | MAClo | Lowest bytes of primary MAC Address |
0xC | RO | CR4 | reserved do not use |
0xD | RW | MMD_CR | MMD Control Register |
0xE | RW | MMD_AD | MMD Address/Data |
0xF | - | reserved do no use | |
other | - | reserved do not use |
Register CR1
CR1Description | related function |
---|---|
15: | Enable Extra_Enable |
14 | WD_HIT generation |
13 | Undefined |
12 | -Undefined |
11:8 | NOSEQ Mux |
7:4 | LED1 Mux |
3:0 | LED2 Mux |
Register CR2
CR2Description | related function |
---|---|
15:12 | XCLK Mux |
11:8 | XIO6 Mux |
7:4 | XIO5 Mux |
3:0 | XIO4 Mux |
...
CR3 bit | related function | related port/signal |
---|---|---|
0 | MEMS interrupt 1 | INT1 |
1 | MEMS interrupt 2 | INT2 |
2 | Real time clock interrupt | RTC_RST |
3 | Interrupt output pin of ethernet transceiver | PHY_LED2 |
4 | Reset for high speed USB transceiver | OTG_RST |
5 | Reset for ethernet transceiver / Reset for serial for unio mac read core | ETH_RST |
6 | Reset for MMC | MMC_RST |
7 | Enable for ETH clock | EN_ETH_CLK |
15:8 | Enable for watch dog timer / Extra enable | if 0xA5 → WDT enable if 0xE5 → Extra enable |
Register CR4
CR4 bits | related function | Description |
---|---|---|
7:0 | WDT time | if CR4[7:0]=0x00 → WDT time=0x07 |
The mapping of CPLD IOs (XIO4,XIO5,XIO6 and XCLK) that are connected directly with FPGA, can be changed using CR2 register.
...
Value (CR2[3:0]) | XIO4 |
---|---|
0001 | MIO7 |
0010 | SHA_IO |
0011 | MAC_IO |
1000 | uio_unidir |
0110 | 'Z' |
0111 | Undefined |
Default | PHY_LED0 |
Signal XIO5
Value (CR2[7:4]) | XIO5 | Description |
---|---|---|
0001 | MIO14 | RX pin of UART0 (FPGA Zynq PS) |
0010 | Undefined | |
0011 | RTC_INT | |
1000 | uio_unidir | |
0110 | 'Z' | |
0111 | Undefined | |
Default | PHY_LED1 |
Signal XIO6
Value (CR2[11:8]) | XIO6 | Description |
---|---|---|
0001 | MIO15 | TX pin of UART0 (FPGA Zynq PS) |
0010 | Undefined | |
0011 | osc_clk | This pin is directly connected to on-chip oscillator signal. (24.18MHZ) |
1000 | uio_unidir | |
0110 | 'Z' | |
0111 | INTR | INTR signal can be depending on CR3 register value connected to one of the following interrupt signals: INT1, INT2, RTC_INT, PHY_LED2 |
Default | PHY_LED2 |
...
Value (CR2[15:12]) | XCLK | Description |
---|---|---|
0001 | RTC_INT | |
0010 | osc_clk | This pin is directly connected to on-chip oscillator signal. (24.18MHZ) |
0011 | Undefined | |
1000 | Undefined | |
0110 | Undefined | |
0111 | Undefined | |
Default | CLK_125MHZ | This pin is connected to output clock pin of ethernet transceiver chip. |
...
This LED can not be controlled by the SC. If green LED3 does not light up at least for short time at power then there is major problem with power supplies, FPGA core and aux voltages may be missing.
LED Status Codes
# | LED1 Green | LED2 Red | LED3 Green | Status | Description |
---|---|---|---|---|---|
1 | OFF | OFF | ON | Fatal power error | This combination after power up is only possible in no sequencing compatibility mode were 3.3Vout is supplied externally. The 1.0V and 1.8V DC-DC supplies are forced on (NOSEQ=1), and the SC is not able to start (3.3Vin below 2.1V). This should never happen if the external power supplies are OK. |
2 | OFF | ON | OFF | VIN missing (or EN1 low) | 3.3Vin is present, but the DC-DC supplies are not powered or 3.3Vin is below 3.05V. If the LEDs stay on in this state then 3.3Vout is not turned on, and the Zynq is kept in the POR state. |
3 | OFF | 1/2 Blink Fast 4 Hz | ON | OK | Boot mode selected is SPI Flash. This status remains after boot also if the LED settings are not changed and user is not controlling MIO7 and FPGA is not loaded. |
4 | OFF | 1/2 Blink Slow 1 Hz | ON | OK | Boot mode selected is SD Card. This status remains after boot also if the LED settings are not changed and user is not controlling MIO7 and FPGA is not loaded. |
5 | MIO7 or user function | Blink or user function | OFF | OK | LED3 goes off when the FPGA is configured. NOTE: The FPGA design can control this LED too using STARTUPE2, so it may remain ON or be flashing when the FPGA is configured. |
6 | ON | Slow blink 0.5Hz, 1/8 on, 7/8 off | OFF | Powerdown | EN1 input to the module is low. If sequencing is enabled in this mode, then all power supplies on the module are OFF. |
7 | ON | Slow blink 0.5Hz, 1/8 on, 7/8 off | ON | EN1 input to the module is low. Sequencing is disabled module is in reset state. | |
8 | ON | ON | ON | Reset | Powered, RESIN input is active low or Bank B34 Supply Voltage is missing. |
Functional Description
JTAG
...
PHY at address 0x1A is the System Controller. OUI 0x7201 should be decoded as Model TE0720-01. Model 0x01 is Assembly option. Rev 0x00 is the firmware major revision for the System Controller (Rev 0 is the initial version).
Bit Decoding
Reg Addr | Bits | U-BOOT ENV Variable | Description |
---|---|---|---|
2 | 15:0 | board | upper bits of SoM Model |
3 | 15:10 | board | lower bits of SoM Model |
4 | 15:14 | board | FPGA Speed Grade (1, 2 or 3) |
4 | 13:12 | board | FPGA Temperature Range (0=Commercial, 1=Extended, 2=Industrial, 3=Automotive) |
4 | 11:8 | - | Assembly Variant |
4 | 7:0 | scver | SC Firmware Revision Minor number |
Customized u-boot reads and decodes the model and assembly variant information and stores in readable format in environment variables.
...