Versions Compared

Key

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

...

Page properties
hiddentrue
idComments

Template Revision 1.8 9 - on construction

Design Name always "TE Series Name" + optional CPLD Name + "CPLD"

...

HTML
<!-- tables have all same width (web max 1200px and pdf full page(640px), flexible width or fix width on menu for single column can be used as before) -->
<style>
.wrapped{
  width: 100% !important;
  max-width: 1200px !important;
 }
</style>


scroll-only-inline
Online version of this manual and other related documents can be found at https://wiki.trenz-electronic.de/display/PD/SC-CPLD-Firmware
scroll-pdf-ignore

Table of contents

Table of Contents
outlinetrue

Overview

Firmware for system controller TEI0022 Intel MAX 10 with designator U41: 10M08SAU169C8G

Feature Summary

...

  • Fan Controlcontrol
  • FMC Voltage Control
  • JTAG Controlcontrol
  • LED Controlcontrol
  • UART
  • User Button
  • Power Management
  • button
  • Power management
    • Power regulator mode control
    • FMC Power control
  • Reset management
  • Configuration sheme controlReset Management

Firmware Revision and supported PCB Revision

See Document Change History

Product Specification

Port Description

JTAGSEL0 / JTAGSEL0F9_MAX10JTAGSEL1 / JTAGSEL1E9_MAX10G2_MAX10F6_MAX10FTDI_JTAG_TMS/CS / FTDI_TMSG1 JTAG TCKJ6J1M10FTDI_JTAG_TDI/DO / FTDI_TDOF5HPS_TCK / HPS_TCKK1HPS_TDI / HPS_TDIM4HPS_TMS / HPS_TMSM7HPS JTAG TMS_TCK / FPGA_TCKK2 JTAG TCKFPGA_TDO / FPGA_TDIL2FPGA_TMS / FPGA_TMSJ2M8 JTAG TCKFMCTDI / TDIM9FMC_TMS / FMC_TMSM11J5Reset ButtonHPSRST#_BO / HPS_RSTn_BOK6HPS_WARM_RST#_SW / HPS_WARM_RSTn_SWK5C1 UART TXDCPUGPIO_4 / CPU_GPIO4H4D13MODE_VCC / MODE_DCDC_VCCD9_MAX10MODE / MODE_DCDC_5VA11_MAX10E10_MAX10MODE_DDR_HPS / MODE_DCDC_HPSF10_MAX10 DDR Power DCDC Mode SelectionA8_MAX10PG_VCC / PG_VCCB11_MAX10PG_+2.5V / PG_2V5C11_MAX102.5 V Power GoodPG_+1.8V / PG_1V8D11_MAX10B12A10EN_+2.5V / EN_2V5A122.5 V Power EnableEN_+1.8V / EN_1V8D12+1.8 V Power Enable / LED_VCC Power LedEN_+3.3V / EN_3V3B13EN_+0.9V / EN_0V9F1+0.9 V Power Enable+1.8 V / LED_1V8H2EN_DDR_HPS / ENF13 Power EnableEN_DDR_FPGA / EN_DDR_FPGAE13J7C12EN_FMC / EN_FMCE1C10_MAX10C13_MAX10FMC_PG_C2M / FMC_PG_C2MK7POK_FMC / POK_FMCE3Power Good for FMC Voltage at U43VDD_FPGA / PG_VDD_FPGAE12FPGA VDD DDR Power GoodVDD_HPS / PG_VDD_HPSG10C9E6D6 DDR VTT Power Good LedLEDDDR_ / LED_VDD_DDR_HPSH3 DDR VDD Power Good LedLEDDDR_HPS / LED_VTT_DDRoutG4 DDR VTT Power Good LedJTAGEN /E5EN_+5.0V / EN_5V0A7B10B9A6B6A4MAX10A3C4CONF_DONE /C5 /BDBUS6 /A5CLK_MAX10 /H6ETH_RST /G5H5M2M1N3N2L3J9H10FPGAJ13H9H8G13N4N6N8N7M12M13K8J8N12
Name / opt. VHD NameDirectionPinBank PowerDescription
BOOTSEL2 / BOOTSEL2outL10+3.3VBoot Select Bit 2HPS boot select pin 2
CPU_GPIO_0inN10+3.3VSelect JTAG ConnectionVoltage selection via software for FMC_VADJ (U43 → VS0 pin)
CPU_GPIO_1inN9+3.3VSelect JTAG ConnectionFTDI_JTAG_TC/SK / FTDI_TCKinVoltage selection via software for FMC_VADJ (U43 → VS1 pin)
CPU_GPIO_2inN11+3.3VFTDI JTAG TCKFTDI_JTAG_TDO/DI / FTDI_TDIinVoltage selection via software for FMC_VADJ (U43 → VS2 pin)
CPU_GPIO_3inL1+3.3VFMC power enable control via software
CPU_GPIO_4inH4+3.3VFTDI JTAG TDIFan control via software
BDBUS0inD1+3.3V_MAX10FTDI HPS_TDO / HPS_TDOinUART TXD pin
BDBUS1outC1+3.3VHPS JTAG TDOFPGA_TDI / FPGA_TDOin_MAX10FTDI UART RXD pin
EN_0V9outF1+3.3VFPGA JTAG TDOFMC_TDO / FMC_TDOin_MAX10+0.9V power enable
EN_1V8outD12+3.3VFMC JTAG TDO_MAX10+1.8V power enable
EN_2V5outA12+3.3V_MAX10

FTDI JTAG TDO

+2.5V power enable
EN_3V3outB13+3.3VHPS JTAG TCK_MAX10+3.3V power enable
EN_5V0outA7+3.3VHPS JTAG TDI_MAX10+5.0V power enable
EN_DDR_FPGAoutE13+3.3V_MAX10FPGA DDR power enable
EN_DDR_HPSoutF13+3.3V_MAX10HPS DDR power enable
EN_FMCoutE1+3.3VFPGA JTAG TDI_MAX10FMC_VADJ power enable
EN_FMC_3V3outC13+3.3VFPGA JTAG TMSFMC_TCK/ FMC_TCKout_MAX10+3.3V FMC power enable
EN_FMC_12VoutC12+3.3V_MAX10FMC JTAG TDI+12.0V FMC power enable
EN_VCCoutA10+3.3VFMC JTAG TMSHPS_RST#_SW / HPS_RSTn_SWin_MAX10VCC power enable
FAN_ENoutD13+3.3V_MAX10Fan control
FMC_PG_C2MoutK7in+3.3VBrown Out DetectionFMC power good signal to FMC connector
FMC_PRSNT_M2CninJ7+3.3VWarm Reset Button
FPGA_RST#_SW / FPGA_RSTn_SWinB4+3.3V_MAX10FPGA Reset Button
HPS_RST# / HPS_RSTnoutL11+3.3VHPS Reset
HPS_WARM_RST# / HPS_WARM_RSTnoutM3+3.3VHPS Warm Reset
FPGA_RST# / FPGA_RSTnoutL13VDD_DDR_FPGAFPGA Reset
VID0_SW / VID0_SWinF8+3.3V_MAX10Power Selection Pin 0 for FMC Voltage
VID1_SW / VID1_SWinE8+3.3V_MAX10Power Selection Pin 1 for FMC Voltage
VID2_SW / VID2_SWinD8+3.3V_MAX10Power Selection Pin 2 for FMC Voltage
CPU_GPIO_0 / CPU_GPIO0inN10+3.3VCPU GPIO 0 (used for automatic power selection for FMC Voltage)
CPU_GPIO_1 / CPU_GPIO1inN9+3.3VCPU GPIO 1 (used for automatic power selection for FMC Voltage)
CPU_GPIO_2 / CPU_GPIO2inN11+3.3VCPU GPIO 2 (used for automatic power selection for FMC Voltage)
VID0 / VID0outB2+3.3V_MAX10Power Selection Pin 0 for FMC Voltage at U43
VID1 / VID1outC2+3.3V_MAX10Power Selection Pin 1 for FMC Voltage at U43
VID2 / VID2outF4+3.3V_MAX10Power Selection Pin 2 for FMC Voltage at U43
PWR_SEL / PWR_SELoutE4+3.3V_MAX10Power Selection for Cyclone V FMC VCCPD at U37
USER_BTN_SW / USER_BTN_SWinB3+3.3V_MAX10User Button
USER_BTN_FPGA / USER_BTN_FPGAoutG12VDD_DDR_FPGAFPGA User Button
BDBUS0 / FTDI_RXDinD1+3.3V_MAX10FTDI UART RXD
FPGA_GPIO_1 / FPGA_IO1inJ10VDD_DDR_FPGAFPGA IO 1
FPGA_GPIO_0 / FPGA_IO0outK11VDD_DDR_FPGAFPGA IO 0
FMC card detection from FMC connector / currently_not_used
FPGA_GPIO_0outK11VDD_DDR_FPGAFPGA IO (FPGA pin AG10) / FPGA UART RXD
FPGA_GPIO_1inJ10VDD_DDR_FPGAFPGA IO (FPGA pin AH9) / FPGA UART TXD
FPGA_RSTnoutL13VDD_DDR_FPGAFPGA reset
FPGA_RSTn_SWinB4+3.3V_MAX10FPGA reset button
FMC_TCKoutM8+3.3VFMC JTAG TCK
FMC_TDIoutM9+3.3VFMC JTAG TDI
FMC_TDOinM10+3.3VFMC JTAG TDO
FMC_TMSoutM11+3.3VFMC JTAG TMS
FPGA_TCKoutK2+3.3VHPS JTAG TCK
FPGA_TDIoutJ1+3.3VFPGA JTAG TDI
FPGA_TDOinL2+3.3VFPGA JTAG TDO
FPGA_TMSoutJ2+3.3VFPGA JTAG TMS
FTDI_JTAG_TCKinG2+3.3V_MAX10FTDI JTAG TCK
FTDI_JTAG_TDIinF5BDBUS1 / FTDI_TXDout+3.3V_MAX10

FTDI

JTAG TDI

FTDI_inJTAG_TDOoutF6+3.3VCPU GPIO 4 (used for fan control)FAN_EN / FAN_ENout_MAX10FTDI JTAG TDO
FTDI_JTAG_TMSinG1+3.3V_MAX10Fan ControlFTDI JTAG TMS
HPS_TCKoutK1+3.3VVCC DCDC Mode SelectionHPS JTAG TCK
HPS_TDIoutM4+3.3V+5.0 V DCDC Mode SelectionMODE_DDR_FPGA / MODE_DCDC_FPGAoutHPS JTAG TDI
HPS_TDOinJ6+3.3VFPGA DDR Power DCDC Mode SelectionHPS JTAG TDO
HPS_TMSoutM7+3.3VHPS JTAG TMS
HPS_RSTnoutL11PG_+5.0V / PG_5V0in+3.3V+5.0 V Power GoodHPS reset
HPS_RSTn_BOinK6+3.3VVCC Power GoodBrown Out detection
HPS_RSTn_SWinJ5+3.3VReset button
HPS_WARM_RSTnoutM3+3.3VHPS warm reset
HPS_WARM_RSTn_SWinK5+3.3VHPS warm reset button
JTAGSEL0+1.8 V Power GoodPG_+3.3V / PG_3V3inF9+3.3V_MAX10+3.3 V Power GoodEN_VCC / EN_VCCoutSelect JTAG connection
JTAGSEL1inE9+3.3V_MAX10VCC Power EnableSelect JTAG connection
LED_1V8outH2+3.3V_MAX10+1.8V power led
LED_FMC_VADJoutC9+3.3V_MAX10FMC_VADJ power good led
LED_VCCoutF12+3.3V_MAX10VCC power good led
LED_VDD_DDR_FPGAoutE6+3.3V_MAX10+3.3 V Power EnableFPGA DDR VDD power good led
LED_VDD_DDR_HPSoutH3+3.3V_MAX10HPS DDR VDD power good led
LED_VTT_DDR_FPGAoutD6+3.3V_MAX10+1.8 V Power LedFPGA DDR VTT power good led
LED_VTT_DDR_HPSoutG4+3.3V_MAX10HPS DDR VTT power good led
MODEoutA11+3.3V_MAX10FPGA DDR Power Enable
CPU_GPIO_3 / CPU_GPIO3inL1+3.3VCPU GPIO 3 (used for FMC Power Enable)
+5.0V voltage regulator mode selection
MODE_DDR_FPGAoutE10FMC_PRSNT_M2C# / FMC_PRSNT_M2Cnin+3.3VFMC Card Detection from FMC ConnectorEN_FMC_+12.0V / EN_FMC_12Vout_MAX10Voltage regulator mode selection for FPGA DDR power 
MODE_DDR_HPSoutF10+3.3V_MAX10+12.0 V FMC Power EnableVoltage regulator mode selection for HPS DDR power
MODE_VCCoutD9+3.3V_MAX10Power Enable for FMC Voltage at U43PWR_SWT_EN / PWR_VCCPD_ENoutVCC voltage regulator mode selection
MSEL0outN5+3.3VConfiguration mode selection pin 0
MSEL1outN3+3.3VPower Enable for Cyclone V VCCPD VoltageEN_FMC_+3.3V / EN_FMC_3V3outConfiguration mode selection pin 1
MSEL2outN2+3.3VConfiguration mode selection pin 2
MSEL3outN4+3.3V+3.3 V FMC Power EnableConfiguration mode selection pin 3
MSEL4outN6+3.3VFMC Power Good Signal to FMC ConnectorConfiguration mode selection pin 4
PG_1V8inD11+3.3V_MAX10+1.8V power good signal
PG_2V5inC11+3.3V_MAX10+2.5V power good signal
PG_3V3inB12+3.3V_MAX10HPS VDD DDR Power GoodLED_FMC_VADJ / LED_FMC_VADJout+3.3V power good signal
PG_5V0inA8+3.3V_MAX10Power Good Led for FMC Voltage at U43LED_VDD_DDR_FPGA / LED_VDD_DDR_FPGAout+5.0V power good signal
PG_VCCinB11+3.3V_MAX10FPGA DDR VDD Power Good LedLED_VTT_DDR_FPGA / LED_VTT_DDR_FPGAoutVCC power good signal
PG_VDD_FPGAinE12+3.3V_MAX10FPGA VDD DDR power good signal
PG_VDD_HPSoutinG10+3.3V_MAX10HPS VDD DDR power good signal
PG_VTT_FPGAinB10+3.3V_MAX10FPGA VTT DDR power good signal
PG_VTT_HPSinB5+3.3V_MAX10HPS VTT DDR power good signal
POK_FMCinE3+3.3V_MAX10Select JTAG ConnectionFMC_VADJ power good signal
PWR_SELoutE4+3.3V_MAX10+5.0 V Power EnablePG_VTT_FPGA / PG_VTT_FPGAin

Power selection pin for FMC_VCCPD voltage at U37 (Cyclone V - Bank 8A VCCPD voltage)

PWR_SWT_ENoutC10+3.3V_MAX10FPGA VTT DDR Power Good
PG_VTT_HPS / PG_VTT_HPSin/outB5+3.3V_MAX10HPS VTT DDR Power Good
STATUS /-H1+3.3V_MAX10/ currently_not_used

Power enable pin for FMC_VCCPD voltage at U37

USER_BTN_FPGAoutG12VDD_DDR_FPGAFPGA user button pin
USER_BTN_SWinB3BDBUS2 /-B1+3.3V_MAX10/ currently_not_usedBCBUS2 /-A9user button
VID0_SWinF8+3.3V_MAX10/ currently_not_usedDEVCLRn /-Dip switch S8A for FMC_VADJ voltage selection
VID1_SWinE8+3.3V_MAX10/ currently_not_usedBDBUS7 /-Dip switch S8B for FMC_VADJ voltage selection
VID2_SWinD8+3.3V_MAX10/ currently_not_usedBCBUS1 /-Dip switch S8C for FMC_VADJ voltage selection
VID0outB2+3.3V_MAX10/ currently_not_usedBDBUS5 /-Voltage selection pin 0 (VS0) for FMC_VADJ voltage at U43
VID1outC2+3.3V_/ currently_not_usedBDBUS4 /-MAX10Voltage selection pin 1 (VS0) for FMC_VADJ voltage at U43
VID2outF4+3.3V_MAX10/ currently_not_usednSTATUS /-Voltage selection pin 2 (VS0) for FMC_VADJ voltage at U43
JTAGENinE5+3.3V_MAX10/ currently_not_usedenable/disable JTAG access to system controller MAX10
BDBUS2-B1+3.3V_MAX10/ currently_not_used
BDBUS3-A2+3.3V_MAX10/ currently_not_used
BDBUS4-A3+3.3V_MAX10/ currently_not_used
BDBUS5-A4+3.3V_MAX10/ currently_not_used
BDBUS6-A5+3.3V_MAX10/ currently_not_usedUSB
_RSTBDBUS7-A6+3.3V_MAX10/ currently_not_usedUSER_BTN_HPS
/CLK_MAX10-H6+3.3VSI5338A → CLK2A pin / currently_not_used
nCONFIG_I /CLKSEL0-N8+3.3V/ currently_not_usedMSEL1 /
CLKSEL1-N7+3.3V/ currently_not_usedMSEL2 /
CONF_DONE_I-L5+3.3VCyclone V CONF_DONE pin / currently_not_usedUSB
_HUB_RST /DEVCLRn-B9+3.3V_MAX10Device-wide reset for MAX 10 / currently_not_used
FPGA_GPIO_9 /ETH_RST-K10VDD_DDR_FPGAG5+3.3VEthernet phy reset / currently_not_usedFPGA_
GPIO_3 /FMC_SCL-L12VDD_DDR_FPGAN12+3.3VFMC I²C interface / currently_not_usedFPGA_
GPIO_2 /FMC_SDA-K12VDD_DDR_FPGAM13+3.3VFMC I²C interface / currently_not_usedFPGA_
GPIO_11 /FMC_TRST#-J12VDD_DDR_FPGAM12+3.3VFMC JTAG test reset / currently_not_used
FPGA_GPIO_8 /2-K12VDD_DDR_FPGAFPGA IO (FPGA pin AF11) / currently_not_used
FPGA_GPIO_12 /3-L12VDD_DDR_FPGAFPGA IO (FPGA pin AG11) / currently_not_used
FPGA_GPIO_10 /4-G13VDD_DDR_FPGAFPGA IO (FPGA pin AA13) / currently_not_used
FPGA_GPIO_5 /-H13VDD_DDR_FPGAFPGA IO (FPGA pin AB13) / currently_not_used
FPGA_GPIO_7 /6-H8VDD_DDR_FPGAFPGA IO (FPGA pin AK2) / currently_not_used
FPGA_GPIO_6 /7-H9VDD_DDR_FPGAFPGA IO (FPGA pin AK3) / currently_not_used
FPGA_GPIO_4 /8-J9VDD_DDR_FPGAFPGA IO (FPGA pin AJ4) / currently_not_used
nSTATUS_I /FPGA_GPIO_9-L4+3.3VK10VDD_DDR_FPGAFPGA IO (FPGA pin AK4) / currently_not_used
CONFFPGA_DONEGPIO_I /10-L5+3.3VJ13VDD_DDR_FPGAFPGA IO (FPGA pin AE13) / currently_not_used
HPS_TRST# /FPGA_GPIO_11-M5+3.3VJ12VDD_DDR_FPGAFPGA IO (FPGA pin AF13) / currently_not_usedMSEL0 /
FPGA_GPIO_12-N5+3.3VH10VDD_DDR_FPGAFPGA IO (FPGA pin AD14) / currently_not_used
MSEL3 HPS_SPI_SS/BOOTSEL0-K8+3.3VHPS boot select pin 0 / currently_not_usedMSEL4 /
HPS_TRST#-M5+3.3VHPS JTAG test reset / currently_not_usedCLKSEL0 /
nCONFIG_I-M1+3.3VCyclone V nCONFIG pin / currently_not_usedCLKSEL1 /
nSTATUS_I-L4+3.3VCyclone V nSTATUS pin/ currently_not_used
FMCQSPI_TRST# CS/BOOTSEL1-J8+3.3VHPS boot select pin 1 / currently_not_used
FMC_SDA /STATUS-H1+3.3V_MAX10status led / currently_not_used
HPSUSB_SPIHUB_SS/BOOTSEL0RST-L3+3.3VUSB hub (U33) reset / currently_not_used
QSPIUSB_CS/BOOTSEL1RST-H5+3.3VUSB phy (U8) reset / currently_not_used
FMC_SCL /USER_BTN_HPS-M2+3.3V/ currently_not_used

Functional Description

DCDC Mode Control

The mode signals are connected to "1".

SignalStateDescription

MODE_DCDC_VCC,

MODE_DCDC_5V

1

Forced Continous Mode
0Discontinous Mode

MODE_DCDC_FPGA,

MODE_DCDC_HPS

1Pulse-Skipping Mode for VDD
0Forced Continous Mode for VDD

Fan Control

Can be enabled/disabled through the Intel Cyclone V HPS "CPU_GPIO4".

FMC Voltage Control

The power is enabled if signal "CPU_GPIO3" is set to "1" and there is an FMC card. Then, the +12.0 V level is enabled. After that, the adjustable voltage is enabled. Finally, the +3.3 V level is enabled. Then, the signal "FMC_PG_C2M" is asserted.

JTAG Control

The FTDI JTAG is connected to the Intel MAX10, the Intel Cyclone V HPS and Fabric and to the FMC Connector according to the following table.

JTAG_SEL0JTAG_SEL1JTAGENJTAG Connection
XX1 - (ON)Intel MAX10
0 - (ON)0 - (ON)0 - (OFF)Cyclone V HPS
0 - (ON)1 - (OFF)0 - (OFF)Cyclone V FPGA
1 - (OFF)0 - (ON)0 - (OFF)FMC

LED Control

The leds signals their power good status.

UART

The second channel of the JTAG FTDI interface delievers an UART connection to the Intel Cyclone V fabric.

User Button

The User Button is connected to the FPGA.

Power Management

The power sequencing is handled inside the system controller according to the next figure.

...

S8-CS8-BS8-AVoltageSetting
ONONON3.3 VManual
ONONOFF2.5 VManual
ONOFFON1.8 VManual
ONOFFOFF1.5 VManual
OFFONON1.25 VManual
OFFONOFF1.2 VManual
OFFOFFON0.8 VManual
OFFOFFOFFCPU-dependentCPU

Reset Management

The reset buttons are connected via the system controller to the according reset locations. That means that, if the reset button S1 or the brown-out detection is asserted, the Cyclone V should be reseted. If the warm reset button S3 is asserted, the Cyclone V should be warm reseted. If the FPGA reset button S4 is asserted, the FPGA could be reseted.

Appx. A: Change History and Legal Notices

Revision Changes

CPLD REV01 to REV02

  • Changed pin connections
  • Changed JTAG connection
  • Changed reset connection
  • Changed FMC Vadj Voltage selection
  • Changed power sequencing

Document Change History

To get content of older revision  got to "Change History"  of this page and select older document revision number.

...

DateDocument RevisionCPLD Firmware RevisionSupported PCB RevisionAuthorsDescription

Page info
modified-date
modified-date
dateFormatyyyy-MM-dd

Page info
current-version
current-version
prefixv.



Page info
modified-user
modified-user

Work in progress
2020-02-19REV02REV02

Page info
created-user
created-user

Initial release

All

Page info
modified-users
modified-users


Legal Notices

Include Page
IN:Legal Notices
IN:Legal Notices

...