SuperMITT

This guidance applies to Windows 11, version 25H2 and later.

The instructions and software for using the SuperMITT are available on Collaborate. If you aren't enrolled in Collaborate, see What is Partner Center?.

Photo of the SuperMITT board with an attached I3C adapter.

Introduction

The SuperMITT is a hardware platform for testing low-level communication buses. It is intended to simulate a Target peripheral on the hardware level. Currently, the low-level buses that can be tested with the SuperMITT are I3C and I2C.

The SuperMITT consists of the main board (MCCI Model 2711) and the I3C/I2C adapter board (Model 2712). These are sold by MCCI and can be purchased as a package as the Model 2710 MCCI Model 2710 SuperMITT I3C/I2C Test Tool.

The Model 2710 is built around the off-the-shelf Efinix Ti60 Development kit. Using the on-board Ti60 FPGA along with custom firmware/FPGA code, reconfiguration to different bus types can happen at the hardware level and allows running tests in real time. The board connects over USB to allow for test logging, Target behavior control, and Target configuration. For testing I3C/I2C, the Model 2712 simplifies hook-up to allow for switching between voltage modes and toggling pull-ups as needed.

Automated tests can be run which handle hardware configuration, bus traffic, and log parsing.

SuperMITT hardware setup

  1. Gather the necessary parts:

    • SuperMITT main board (MCCI Model 2711).
    • I3C/I2C adapter board (MCCI Model 2712).
    • Barrel connector power supply and Type-C USB cable (both included in the MCCI Model 2710 kit).
    • Test PC with SDA, SCL, and GND wires connected to the I3C HostController-Instance and an accessible USB port.
    • An accessible VCC wire at the same voltage as SDA and SCL, if external pull-ups are required.
  2. Ensure the adapter board is connected to main board connector P1.

  3. With the test PC and main board powered off, connect the SCL, SDA, and GND wires from the test PC to adapter board connector J4.

  4. Check the voltage the test PC supplies on SDA and SCL, and configure the boards accordingly:

    • For 3.3 V, set adapter board switch SW1 to 3.3 V mode and main board jumper J6 to 3V3 (3.3 V).
    • For 1.8 V, set adapter board switch SW1 to 1.8 V/1.2 V mode and main board jumper J8 to 1V8 (1.8 V).
    • For 1.2 V, set adapter board switch SW1 to 1.8 V/1.2 V mode and main board jumper J8 to 1V2 (1.2 V).
  5. If external pull-ups aren't required, move the jumper on adapter board header J1 to pins 2 and 3, without the EN label. Don't connect VCC from the test PC to the adapter board.

  6. If external pull-ups are required, connect VCC from the test PC to VCC on adapter board connector J4. The VCC voltage must match SDA and SCL. Move the jumper on adapter board header J1 to pins 1 and 2, labeled EN. The pull-ups are 680 ohms on both SDA and SCL when enabled.

    If the test PC doesn't provide VCC, use an independent voltage source matching the SDA and SCL voltage levels. A VCC supply that shares its source with SDA and SCL on the test PC is strongly recommended.

  7. Connect the barrel connector power supply to main board connector J2. Connect the USB cable to main board connector J1 and the test PC.

  8. Turn on main board switch SW4. The green main board LEDs D15 (FPGA Flashed) and D22 (Power Good) should turn on.

  9. In Device Manager, under Universal Serial Bus devices, verify that SuperMITT appears on the test PC.

  10. To trigger an external logic analyzer or oscilloscope on test failure, use the TRIG pin on adapter board connector J4. This pin goes high to 1.8 V when a test fails.

Note

TRIG also briefly goes high when a test starts. A 2-kilohm or similar pull-down connected to TRIG prevents this.

Photo of the SuperMITT configured for 1.8-volt operation with external pull-ups disabled.

SuperMITT set to 1.8 V mode with external pull-ups disabled.

SuperMITT software setup

  1. On the test PC, enable test signing and turn off Secure Boot.

  2. Install an HLK or VHLK Controller. See VHLK getting started guide. The SuperMITT test software ships with the HLK; the test PC doesn't need to be an HLK client to run end-to-end tests.

  3. Verify that the HLK Controller is accessible from the test PC. In an elevated Command Prompt on the test PC, run the following commands to copy the software and install the WittTest driver. Replace <HLK Controller PC Name> and the user placeholder with the controller and account information. Replace <arch> with amd64 or arm64, as appropriate.

    net use \\<HLK Controller PC Name>\ /u:(user on controller)
    \\<HLK Controller PC Name>\Tests\<arch>\i3c\SuperMittTools\InstallSuperMitt.cmd
    
  4. Verify that the test suite provides the required software: TAEF, SuperMittCmd.exe, i3cendtoendtest.dll, hidi3cendtoendtest.dll, and the WittTest.sys/INF/CAT driver package.

  5. Connect the SuperMITT to the test PC as described in SuperMITT hardware setup.

  6. For every new release of the SuperMITT test suite, run the following command. It checks the firmware version and updates it if necessary.

    SuperMittCmd.exe -update
    

    Note

    If the test PC is in early bring-up or has unreliable USB, perform the update on a stable PC. Move the USB connection to that PC, complete the firmware check or update, and then reconnect USB to the test PC.

ACPI configuration for I2C tests

I2C tests require ACPI declarations of the I2C Targets to load SpbCx. Add the following Target definitions, replacing the angle-bracketed placeholders with the values for your system:

// TP6 400 kHz Fm I2C Target
Device(TP6) {
    Name (_HID, "STK0006")
    Name (_CID, "WITTTest")
    Method(_CRS, 0x0, NotSerialized)
    {
      Name (RBUF, ResourceTemplate ()
      {
        I2CSerialBusV2 (0x12, ControllerInitiated, 400000, AddressingMode7Bit, "<ACPI path to I3C HostController-Device>", <I3C HostController-Instance Id #>,,,)
      })
      Return(RBUF)
    }
} // TP6

// TP7 1 MHz Fm+ I2C Target
Device(TP7) {
    Name (_HID, "STK0007")
    Name (_CID, "WITTTest")
    Method(_CRS, 0x0, NotSerialized)
    {
      Name (RBUF, ResourceTemplate ()
      {
        I2CSerialBusV2 (0x13, ControllerInitiated, 1000000, AddressingMode7Bit, "<ACPI path to I3C HostController-Device>", <I3C HostController-Instance Id #>,,,)
      })
      Return(RBUF)
    }
} // End TP7

Also add the following properties to the I3C HostController-Instance DisCo definition. The example is a template; supply the other required DisCo properties for your system.

// I3C HostController-Instance 0
Name(CTR0, Package(2) {
    ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), // Device Properties UUID
    Package ()
    {
        Package (2) { "mipi-i3c-i2c-devices-present", 1 }, // I2C Targets are present that have a 50 ns Spike Filter

        Package (2) { "mipi-i3c-i2c-modes-supported", 0x03 }, // Fm, Fm+, NO UDR
        Package (2) { "mipi-i3c-reserved-addresses", Package(2) {0x12, 0x13} }, // Static address 0x12 and 0x13 must be reserved
        <Any other required DisCo properties>
    }
}) // End CTR0

SuperMITT automated end-to-end testing

The primary usage of the SuperMITT is for automated testing. This includes configuring the SuperMITT to be different I3C and I2C Targets, logging the bus traffic, and validating end-to-end transfers. The provided SuperMITT End-To-End Tests provide this validation with logging to gain insight into various test scenarios.

Screenshot of an I3C Target enumerated from the SuperMITT while I3cEndToEndTest is running.

Device Manager with I3cEndToEndTest running and an I3C Target enumerated from the SuperMITT.

Screenshot of a HIDI3C Target enumerated from the SuperMITT while HidI3cEndToEndTest is running.

Device Manager with HidI3cEndToEndTest running and a HIDI3C Target enumerated from the SuperMITT.

Run automated end-to-end tests

TAEF is the test runner for the SuperMITT End-to-End I3C tests. It can be used to get information, run, and configure the tests.

To run all the tests, run TAEF with the first parameter being the path to the test DLL.

te.exe i3cendtoendtest.dll
te.exe hidi3cendtoendtest.dll

The current tests available in each module can be viewed by adding the "list" TAEF parameter.

te.exe i3cendtoendtest.dll /list
te.exe hidi3cendtoendtest.dll /list

To run a specific test, use the "name" TAEF parameter. Wildcards * are used for matching multiple tests with substring names.

te.exe i3cendtoendtest.dll /name:<Test name>
te.exe i3cendtoendtest.dll /name:*BasicRead*

Some tests have random elements and are typically seeded based on time. For a repeatable seed, the parameter "random_seed" followed by a uint32 can be used.

te.exe i3cendtoendtest.dll /p:random_seed=<uint32 number>
te.exe i3cendtoendtest.dll /p:random_seed=12345

Note

The tests expect a single HostController-Device to be targeted. There are two methods to do so:

  • Disable all HostController-Devices in UEFI except the HostController-Device that is wired to the SuperMITT.
  • Provide the "WDKDeviceID" parameter when running TAEF with the value being the "Device instance path" from Device Manager for the HostController-Device that is connected to the SuperMITT.

For example:

te.exe i3cendtoendtest.dll /p:WDKDeviceID="PCI\VEN_8086&DEV_E47C&SUBSYS_72708086&REV_01\3&11583659&0&88"

Understanding End-To-End Automated Test Results

ALL tests are expected to be passed on ALL HostController-Instances that implement the features being tested.

If the HostController-Device reports a lack of support for an optional feature, the tests will be skipped automatically. For example, HostController-Devices that implement the MIPI I3C HCI v1.0 specification are not expected to pass the Target Reset Pattern related tests as support was added in HCI v1.1.