Versions Compared

Key

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

...

SC is connected directly to the following B2B Pins.

NameModeDefault functionAlternativeDescription
EN1input, weak pull-upPower EnableIOHigh enables the DC-DC converters and on-board supplies. Not used if NOSEQ=1
PGOODoutput, open drainPower goodSCL or IOForced low until all on-board power supplies are working properly.
Attention: During CPLD programming, this pins is high impedance
MODEinput, weak pull-upBoot modeSDA or IOForce low for boot from the SD Card. Latched at power on only, not on soft reset!
RESINinput, weak pull-upReset inputIOActive Low Reset input, default mapping forces POR_B reset to Zynq PS
NOSEQinput, weak pull-downPower sequencing ControlOutputForces the 1.0V and 1.8V DC-DC converters always ON when high. Can be used as an I/O after boot.
JTAGSELinputJTAG Chain selectnone, fixedkeep GND or pulled low for FPGA JTAG access.

NOSEQ Pin

This is a dedicated input that forces the module's 1.0V and 1.8V supplies to be enabled if high. This pin has a weak pull-down on the module. If left open the module will power up in normal power sequencing enabled mode. This pin is 3.3V tolerant. This pin is also connected to the System Management Controller. The SC can read the status of this pin (that is it can detect if the module is in power sequencing enabled mode). The SC can also use this pin as output after normal power on sequence. Please check the SC description for the function. SC rev 0.02 maps Ethernet PHY LED0 to NOSEQ by default (the mapping can be changed by software after boot).

...

NOSEQ can be used as an output after boot. NOSEQ must be low when 3.3V power is applied to the module. Common usage is an LED connected between NOSEQ and GND.

SC pins to the FPGA

Schematic net nameDefault functionDirectionSC pinFPGA pinDescription
XCLKETH PHY Clock to FPGAto FPGAK1K19 
X1I2C Clock from FPGAfrom FPGAF1L16SCL from EMIO I2Cx
X7I2C Data from FPGAfrom FPGAM1N22SDA from EMIO I2Cx
X5I2C Data to FPGAto FPGAJ1P22SDA to EMIO I2Cx
X2ETH PHY LED1to FPGAC2M15 
X4ETH PHY LED2to FPGAD1P16 
X3Interruptto FPGAB1N15RTC, MEMS Interrupt or PHY LED3
X0  --not used on TE0720-02
PUDC   K16normally not used tied to fixed level by SC

 

 

It is recommended to use Vivado IP Core available for 2014.2 and later versions.

...

At power up the System Management Controller starts with default settings.

Pin/FunctionUsed as/Mapped to Notes
ETH PHY LED0XIO to FPGA 
ETH PHY LED1XIO to FPGA 
ETH PHY LED2Not used 
ETH PHY CONFIGTied logic lowPHY Address set to 0
ETH CLK125MHzPass through FPGA B34 SRCC pin 
ETH Clock EnableTied logic high 
ETH PHY ResetInternal RESET 
MIO7LED1 
MEMS/RTC I2CXIO to FPGA 
RTC Interrupt 
MEMS Interrupt 1  
MEMS Interrupt 2- 
eMMC ResetInternal RESET 
USB PHY ResetInternal RESET 
FPGA PUDCTied logic low  
FPGA PROG_BTied logic high 
Zynq Cascaded JTAG Enabled (pulled low)  
Zynq boot mode SPI or SD, depending on bootmode pin  
Zynq SRSTTied logic high  
Zynq PORInternal POR/Reset 
PLLNot used 
LED2System Status LED 
LED1MIO7 
NOSEQ InputNOSEQ at power, LED out after boot 
Power Good 1.5V  
Power Good VTT  
MODE Input  


I2C AddressFunction 
0x20Status reg 1 
0x21Status reg 2 

LED Control Status

The TE0720 on-board LED devices can be remapped to different functions.

Input port bitMapped to
0Ethernet PHY LED0 output
1Ethernet PHY LED1 output
2Ethernet PHY LED2 output
3PS MIO7
4Returns RESIN pin level
5Returns EN1 pin level
6Returns NOSEQ pin level
7Returns MODE pin level


LED1 and LED2 function can be changed from the default behaviour using output port bits (3..0)

 D3D2D1D0 LED1 function as
 0000Default (MIO7)
 0001ETH PHY LED0 
 0010ETH PHY LED1 
 0011ETH PHY LED2
 0100MIO7
 0101Undefined
 0110OFF
 0111ON 
1xxxUndefined


SC Demystified

System Controller (SC for short) was designed to allow ZYNQ PS system to access module special functions as early as possible without reducing the number of MIO pins that are fully user configurable.

...

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 AddrBitsu-boot ENV VariableDescription
215:0boardupper bits of SoM Model
315:10boardlower bits of SoM Model
415:14boardFPGA Speed Grade (1, 2 or 3)
413:12boardFPGA Temperature Range (0=Commercial, 1=Extended, 2=Industrial, 3=Automotive)
411:8-Assembly Variant
47:0scverSC Firmware Revision Minor number

Customized u-boot reads and decodes the model and assembly variant information and stores in readable format in environment variables.

zynq-uboot> printenv board
board=TE0720-01-2IF
zynq-uboot>

Reading MAC Address

With u-boot command mii read:

...

Customized u-boot does read MAC Address and stores it in environment variables as required, as a result, proper MAC address is used both in u-boot as also in Linux. Setting up MAC Address for Linux involves dynamic rewrite of FDT, this is done with u-boot script that starts Linux.

SC Registers

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

AddrR/WRegister nameDescripion
0RO  
1RO  
2ROID1Identifier Register 1
3ROID2Identifier Register 2
4ROID3Identifier Register 3
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
0xCCR4 reserved do not use
0xDRWMMD_CRMMD Control Register
0xERWMMD_ADMMD Address/Data
0xF- reserved do no use
other- reserved do not use

 

Register CR1

BitDescription
15:12-
11:8Noseq MUX
7:4LED2 MUX
3:0LED1 MUX


ValueLED1LED2NOSEQ 
DefaultMIO7Mode BlinkPHY_LED0 
0001PHY_LED0PHY_LED0PHY_LED0 
0010PHY_LED1PHY_LED1PHY_LED1 
0011PHY_LED2PHY_LED2PHY_LED2 
0100MIO7MIO7MIO7 
0101RTC_INTRTC_INTRTC_INT 
0110OFFOFFOFF 
0111ONONON 
1000MIO14/MIO15MIO14/MIO15 REV 05, UART activity
1001MIO14MIO15 REV 05
1010   REV 05

 

 

Register CR2

BitDescription
15:12XCLK select
11:8XIO6 select
7:4XIO5 select
3:0XIO4 select

 

Signal XIO4

XIO4 selectSignal out value
"0001"MIO7
"0010"SHA_IO
"0011"MAC_IO
"0110"'Z' (Configured as input)
all othersPHY_LED0

 

Signal XIO5

XIO5 selectSignal out value
"0101"RTC_INT
"0110"'Z' (Configured as input)
all othersPHY_LED1

 

Signal XIO6

XIO6 selectSignal out value
"0110"'Z' (Configured as input)
"0111"INTR
all othersPHY_LED2

 

Signal XCLK

XCLK SelectSignal out value
"0001"RTC_INT
"0010"Internal Oscillator Out ~24.18 MHz
all others125 MHz

 

Signal SHA_IO

XIO4 selectSignal out value
"0010"XIO5
all others'Z' (Configured as input)

 

Signal MAC_IO

XIO4 SelectSignal out value
"0011"XIO5
all othersConnected to internal MAC read block

 

 

System Controller version 0.02 does not support extended address space - registers 0xD and 0xE are read-write accessible but do not have any function. In feature revision extended address will be used to control SC PLL and other features.

BitDescription
0enable INT1
1enable INT2
2enable RTC_INT
3enable PHY_LED2

CR3 bit description

Interrupt can be selected instead of PHY_LED2 on XIO6 pin, by setting CR2 bits 11 downto 8 to "0111"

...