Changes

Jump to: navigation, search

Processing system peripherals (BoraLite)

7,164 bytes added, 12:55, 16 October 2019
Created page with "{{InfoBoxTop}} {{Applies To BoraLite}} {{InfoBoxBottom}} == Introduction == Bora modules implement a number of peripheral interfaces through the J1 connector. The following..."
{{InfoBoxTop}}
{{Applies To BoraLite}}
{{InfoBoxBottom}}

== Introduction ==

Bora modules implement a number of peripheral interfaces through the J1 connector. The following notes apply to those interfaces:
* Some interfaces/signals are available only with/without certain configuration options of the BORA Lite module.
* The peripherals described in the following sections represent the default configuration for the BORA Lite SOM, which match with the features provided by the electronics implemented on the module. As an example, the Zynq device provides two USB 2.0 controllers, but the Bora SOM provides one USB OTG port, with transceiver connected to one of the controllers and signals routed to the module connectors. Therefore, only one USB port will be described in details.

== Notes on pin assignment ==

For detailed information on MIO and EMIO configuration, please refer to section 2.5.1 /“I/O Peripheral (IOP) Interface Routing”) of the Zynq-7000 Technical Reference Manual.
On the Bora SOM, the MIO module is configured for providing a standard set of peripherals (eg, Ethernet, USB, …); some pins of the EMIO are also used to implement some functions (eg: I2C, specific I/Os). Plese refer to the following sections for detailed information.

== PS interfaces ==

The 54 pins of the MIO module are assigned as reported in the following table:

{| class="wikitable"
|-
!MIO Pins
!Function
|-
|MIO[0:14]
|Quad-SPI and NAND flash
|-
|MIO[15]
|EX_WDT_REARM (watchdog WDI)<br>Optionally, it can act as SWDT reset out
|-
|MIO[16:27]
|Gigabit Ethernet
|-
|MIO[28:39]
|USB On-The-Go
|-
|MIO[40:45]
|SD/SDIO/MMC
|-
|MIO[46:47]
|I²C0
|-
|MIO[48:49]
|UART1
|-
|MIO[50]
|USB0 PHY reset
|-
|MIO[51]
|Ethernet PHY reset
|-
|MIO[52]
|Ethernet Management Data Clock input
|-
|MIO[53]
|Ethernet Management Data Input/Output
|-
|}

=== Gigabit Ethernet ===
On-board Ethernet PHY (Micrel KSZ9031RNX) provides interface signals required to implement the 10/100/1000 Mbps Ethernet port. The transceiver is connected to the Gigabit Ethernet Controller (GEM) through RGMII interface on MIO bank 1, pins PS_MIO[16:27]. For further details (eg: connection and selection of the magnetics), please refer to the Micrel KSZ9031RNX datasheet. The following table describes the interface signals:

{| class="wikitable"
|-
!Pin name
!Conn. pin
!Function
!Notes
|-
|ETH_TXRX0_P || J1.19 || Media Dependent Interface[0], positive pin || -
|-
|ETH_TXRX0_M || J1.21 || Media Dependent Interface[0], negative pin || -
|-
|ETH_TXRX1_P || J1.23 || Media Dependent Interface[1], positive pin || -
|-
|ETH_TXRX1_M || J1.25 || Media Dependent Interface[1], negative pin || -
|-
|ETH_TXRX2_P || J1.27 || Media Dependent Interface[2], positive pin || -
|-
|ETH_TXRX2_M || J1.29 || Media Dependent Interface[2], negative pin || -
|-
|ETH_TXRX3_P || J1.31 || Media Dependent Interface[3], positive pin || -
|-
|ETH_TXRX3_M || J1.33 || Media Dependent Interface[3], negative pin || -
|-
|ETH_LED1 || J1.13 || Activity LED || -
|-
|ETH_LED2 || J1.15 || Link LED || -
|-
|}

=== USB ===
BORA Lite provides one USB 2.0 (Full Speed, up to 480 Mbps) port with on-board PHY (SMSC USB3317) and support to the On-The-Go (OTG) specifications. The transceiver is connected to the USB1 controller (MIO bank 1, pins PS_MIO[28:39]). The following table describes the interface signals:

{| class="wikitable"
|-
!Pin name
!Conn. pin
!Function
!Notes
|-
|USBP1 || J1.200 || D+ pin of the USB cable || -
|-
|USBM1 || J1.202 || D- pin of the USB cable || -
|-
|USBOTG_CPEN || J1.194 || External 5 volt supply enable || This pin is used to enable the external Vbus power supply
|-
|OTG_VBUS || J1.196 || VBUS pin of the USB cable || -
|-
|OTG_ID || J1.198 || ID pin of the USB cable || For non-OTG applications this pin can be floated. For an A-device ID is grounded. For a B-device ID is floated.
|-
|}

=== Quad-SPI ===
Quad-SPI is used to access multi-bit serial flash memory devices for high throughput and low pin count applications. The controller operates in one of three modes: I/O mode, linear addressing mode, and legacy SPI mode. The following table describes the interface signals:


{| class="wikitable"
|-
!Pin name
!Conn. pin
!Function
!Notes
|-
|SPI0_CS0 || J1.44 || Chip select 0 || MIO bank 0, pin 1
|-
|SPI0_DQ0 || J1.46 || 1-bit: Master Output<br>2-bit: I/O0<br>4-bit: I/O0 || MIO bank 0, pin 2
|-
|SPI0_DQ1 || J1.48 || 1-bit: Master Input<br>2-bit: I/O1<br>4-bit: I/O1 || MIO bank 0, pin 3
|-
|SPI0_DQ2 || J1.50 || 1-bit: Write protect<br>2-bit: Write protect<br>4-bit: I/O0 || MIO bank 0, pin 4
|-
|SPI0_DQ3 || J1.52 || 1-bit: Hold<br>2-bit: Hold<br>4-bit: I/O3 || MIO bank 0, pin 5
|-
|SPI0_SCLK || J1.54 || Serial clock || MIO bank 0, pin 6
|-
|}

=== I²C0 ===
This I²C module is a bus controller that can function as a master or a slave in a multi-master design. It supports an extremely wide clock frequency range up to 400 Kb/s. I²C0 is internally connected to the following devices:
* [[EEPROM (BoraLite)|EEPROM]]: Microchip 24AA32AT(Address: 0xA0)
* [[RTC (Bora)|RTC]]: Maxim Integrated DS3232 (Address: 0x68)

The following table describes the interface signals:

{| class="wikitable"
|-
!Pin name
!Conn. pin
!Function
!Notes
|-
|PS_MIO46_501 || J1.32 || I2C clock || -
|-
|PS_MIO47_501 || J1.28 || I2C data || -
|-
|}

=== SD/SDIO ===
The SD/SDIO controller controller is compatible with the standard SD Host Controller Specification Version 2.0
Part A2. The core also supports up to seven functions in SD1, SD4, but does not support SPI mode. It does support SD high-speed (SDHS) and SD High Capacity (SDHC) card standards. The SD/SDIO controller also supports MMC3.31.

The following table describes the interface signals:

{| class="wikitable"
|-
!Pin name
!Conn. pin
!Function
!Notes
|-
|PS_SD0_CLOCK || J1.37 || SD/SDIO/MMC clock || -
|-
|PS_SD0_CMD || J1.39 || SD/SDIO/MMC command || -
|-
|PS_SD0_DAT0 || J1.40 || SD/SDIO/MMC data 0 || -
|-
|PS_SD0_DAT1 || J1.38 || SD/SDIO/MMC data 1 || -
|-
|PS_SD0_DAT2 || J1.36 || SD/SDIO/MMC data 2 || -
|-
|PS_SD0_DAT3 || J1.34 || SD/SDIO/MMC data 3 || -
|-
|}

=== UART1 ===
The UART controller is a full-duplex asynchronous receiver and transmitter that supports a wide range of programmable baud rates and I/O signal formats. UART1 port is routed to the SOM connectors as a 2-wire interface. The following table describes the interface signals:

{| class="wikitable"
|-
!Pin name
!Conn. pin
!Function
!Notes
|-
|PS_UART1_RX || J1.24 || UART Receive line || -
|-
|PS_UART1_TX || J1.26 || UART Transmit line || -
|-
|}

=== JTAG ===
The Zynq-7000 family of AP SoC devices provides debug access via a standard JTAG (IEEE 1149.1) debug interface. This JTAG port grants access to the device chain composed of both the CPU core and the FPGA part. The following table describes the interface signals:

{| class="wikitable"
|-
!Pin name
!Conn. pin
!Function
!Notes
|-
|JTAG_TCK || J2.2 || JTAG TCK || -
|-
|JTAG_TMS || J2.3 || JTAG TMS || -
|-
|JTAG_TDO || J2.4 || JTAG TDO || -
|-
|JTAG_TDI || J2.5 || JTAG TDI || -
|-
|}

More information about the JTAG connector at the [[On_board_JTAG_connector_(BoraLite)|this page]]
8,221
edits

Navigation menu