bring-up and firmware notes

first power-up

Every rail and power-good has a labelled test point; the table with expected readings is in the hardware reference.

  1. unpowered: measure each rail test point to a GND loop on the ohms range. Nothing should read below about 10 R. The 1V0 core rail reads lowest, since the FPGA core loads it.
  2. power from a bench supply at 12 V with the current limit at 0.5 A, through the barrel jack or the DIN. Expect roughly 150-300 mA at 12 V with an unconfigured FPGA (estimate, not yet measured).
  3. check the rails in sequence order. Each stage enables the next, so the first missing rail is the fault:
steprail (test point)enabled by
112VIN, 12Vinput; 12V is after the fuse, reverse-polarity FET and current shunt
25V, 3V3M12V through the 100k/15k EN divider (5V starts at about 9.4 V input)
31V0PG5V
41V8, MGTAVCCPG1V0; the MGTAVCC LDO is enabled from 1V8
53V3, 1V35, MGTAVTTPG1V8; MGTAVTT is RC-delayed after MGTAVCC (DS181 order)
6VTT, VREF3V3
7VADJfirmware: VADJ_EN on the IO expander, after reading the mezzanine EEPROM
  1. with all rails good, the 3V3 LED is on. INIT goes high once the FPGA has cleared its configuration memory. DONE stays low until a bitstream is loaded over SelectMAP or JTAG.
  2. raise the current limit to 2 A before configuring the FPGA or plugging in SFPs or a mezzanine.

STM32

reached from VOS1 by setting ODEN in SYSCFG_PWRCR. VOS0 (480 MHz) needs a suffix-6 part.

dropped for layout; the FPGA should OR its interrupt sources onto these two and expose a cause/status register over FMC. FPGA_DONE is PJ4 (moved from PK1).

(DFM=0 with FSEL) is not possible on this board. W25Q01JV: check the status register handling in the driver, it differs a little from Macronix parts.

Ethernet MAC address

address 0xFA-0xFF, and program it into the ETH MAC address registers. It is factory-written and read-only.

0x50-0x53 are left for a VITA module's EEPROM.

FPGA configuration (slave SelectMAP, M[2:0]=110)

  1. drive PROGRAM_B low, release, wait for INIT_B high.
  2. hold RDWR_B low and CSI_B low for the whole load. If RDWR_B is high while CSI_B is low the FPGA drives the data bus, and toggling RDWR_B with CSI_B low aborts.
  3. clock the bitstream on FMC D0-D15 with CCLK (STM32 GPIO). Speed is not critical.
  4. wait for DONE high, then release CSI_B/RDWR_B. The FMC pins become user IO.

JTAG stays available at all times on the 2x7 and 1x6 headers.

DDR3 (MIG)

byte (DQ8-15, UDQS, UDM) and T1 the lower byte. DQ bits are reordered within each byte, and address/command nets are reordered among the address/command balls, paired so routed lengths come out nearly equal. ODT is on IO_0 (nearer the DRAM) and RESET_N on IO_25. DQS, CK and DM keep their byte-group pins, so the MIG rules still hold. Use the plan in pinout.md for the XDC, not the original MIG default.

mezzanine

then drive MEZZ_PG_C2M high.