Today I got from our production the first samples of the world-wide first GateMate SoM TEG2000.
For initial testing, I grabbed a TEB0707 4x5 SoM carrier board.
Inserting TEG2000 into TEB0707 motherboard. Checking power supply requirements, aha 5V! Need to adjust the lab supply that was previously set to 12V.
Power on! No smoke, so far so good. One RED Led on TEG2000 is on.
Starting ToolZ, clicking detect! Cool the JTAG ID is reported successfully. The module is not dead.
Do the GateMate programming tools also work? For this, we need to use Zadig first. Replacing the driver for the first instance (channel A) of the FT2232. Executing:
run.bat jtag
the RED led goes off, it seems that it is inverse DONE. So we have the GateMate FPGA configured successfully. The default LED blinky is not blinking as I did not adjust the PIN constraints yet.
Pressing F4 in FAR Commander and looking at the constraints, comparing with the TEG2000 schematic. Aha, the CLK pin happens to be the same, but the LED location is different, adjusting it. What about the reset pin? TEB0707 has a user button that I could use for soft reset, but for LED blinky we do not really need a real reset, a dummy is equally OK. TEG2000 happens to have one I/O pin connected to GND and one I/O pin connected to VCC, so it is ideal to be used as a fake reset. Adjusting the pin-map file for this.
running GateMate tools again. And we have an LED blinking on TEG2000! Amazing!
TEG2000 has 8 I/Os connected through auto direction sense level shifter to fixed function pins of the 4x5 standard. As example FT2232 channel B UART pins are connected to those I/Os. So we could also test UART function. Adding the rxd and txd ports to the blink.vhd file and in the body of the VHDL file:
txd <= rxd;
Done! This if all goes well should implement UART echo so we can verify FT2232 channel B. OK, we need to adjust the pin constraints also for the UART. Done! Running the tools and configuring the FPGA. Starting Putty terminal, and indeed we have an echo! So the pin mapping is correct and the level shifter works as well. Great!
What about starting from SPI flash?
run.bat jtag-flash
Can it be that fast? Clicking master reset button on TEB0707. And the LED blinks again, did it really load from SPI flash? To be sure I turn the power off and on again, and indeed the FPGA is loaded and the user LED blinks.
Now all we need is some documentation! But I can list the main features here:
- Format: Trenz Electronic 4x5 (40 x 50 mm)
- B2B Connectors: 2 x Samtec LSHM
- SPI Flash for booting
- JTAG 3.3V (via level shifter)
- 6 I/Os in fixed 1.8V bank
- 8 I/O with 3.3 I/O voltage (via level shifter)
- 48 IO's in variable VCCIO bank A (1.8V...2.5V)
- 48 IO's in variable VCCIO bank B
- 18 IO's in variable VCCIO bank C
- Gigabit Transceiver pins in the connector, one lane
- User LED, Green
- Status LED's Red
- Power supply DCDC converters
- 100MHz differential oscillator as output to the B2B connector (for GT clocking)
That's it, this is a mini-spec of the module we have. Will soon be available from Trenz Electronic online shop.