Skip to the content
4 layers104.5 × 91 mmMbed ce ci shield v2, the printed circuit board in 3D

Mbed ce ci shield v2

mbed-ce/mbed-ce-ci-shield-v27

New version of the Mbed OS CE CI Shield -- a shield containing a logic analyzer and components to test features like I2C, SPI, and PWM.

Size
104.5 × 91 mm
Copper layers
4
Thickness
1.58 mm
Parts
176
Nets
214
Pads
709
Tracks, vias
1,882, 257
Pours
6
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
1 Sep 2023
Updated
16 Oct 2026

Overview

Mbed ce ci shield v2 is an open-source printed circuit board by mbed-ce, from the mbed-ce/mbed-ce-ci-shield-v2 repository on GitHub, published under the CERN-OHL-P-2.0 licence. It is a 4-layer board of 104.5 × 91 mm with 176 parts on 214 nets, routed with 1,882 tracks and 257 vias.

It is built around the RP2350A, TJA1051T/3/1 and CY7C65632-48AXCT, with the W25Q80DVSSIG, USBLC6-2SC6 and BD2221G-LBTR among its other parts. Its parts include 61 resistors, 55 capacitors, 21 ICs, 14 connectors and 7 diodes. It belongs with the sensors and measurement boards and the RP2350 boards of this library.

Main components

12

README

README.md

Mbed CE CI Shield v2

CI Shield Board Photo This repository contains version 2 of Mbed OS Community Edition's CI Test Shield board. This PCB is designed to help test the low-level I/O functionality of many different MCUs supported by Mbed OS.

High Level Functionality

This board contains the following hardware:

  • 1x Infineon (Cypress) CY7C65632 4-Port USB 2.0 Hub
    • 2 ports are available externally, 2 ports are connected internally
  • 1x Infineon (Cypress) CY7C65211 USB to SPI/I2C/UART adapter
    • This is connected to a number of different data lines via 4-to-1 multiplexer ICs.
  • 1x Infineon (Cypress) FX2LP USB Microcontroller
    • This is programmed with Sigrok FX2LAFW firmware to turn it into an inexpensive plug-and-play logic analyzer
  • 1x MicroSD card slot
  • 1x 24FC64-I/SN 8KiB EEPROM
  • 1x PWM to ADC loopback
  • 1x Power USB Port (designed to be connected to a power source like a travel charger, data lines not hooked up)
  • 1x Data USB Port (designed to be connected to a test runner machine, potentially a single board computer without too much power)

Note: I swear I'm not sponsored by Infineon or anything, it just so happened that their chips were the best fit for everything I needed on the board. I even tried to use an FT232H in the first rev of the hardware, but I could not for the life of me get it to work.

It can test up to 10 different types of IO:

IO TypeTest Method
USB DeviceThe Mbed target's USB Device port can be connected to one of the shield's downstream USB ports
SPI MasterThe Mbed target can interact with the MicroSD card. The logic analyzer can observe this interaction.
SPI SlaveThe CY7C65211 can initiate SPI transactions which are handled by the MCU. The logic analyzer can observe this interaction.
I2C MasterThe Mbed target can talk to the EEPROM over I2C. The logic analyzer can observe this interaction.
I2C SlaveThe CY7C65211 can initiate I2C transactions which are handled by the MCU. The logic analyzer can observe this interaction.
UARTThe MCU can communicate with the CY7C65211 bidirectionally over UART. The logic analyzer can observe this interaction.
GPIO (incl. interrupts)The shield has 3 sets of "looped back" GPIOs, through which the MCU can send signals to itself. The logic analyzer can observe this interaction.
PWMThe MCU outputs a PWM signal via GPIN1. The logic analyzer measures the frequency and duty cycle.
ADC (AnalogIn)The MCU outputs a PWM signal, which is averaged via an RC filter into a voltage. This voltage is fed into the ADC and the test verifies whether it's read correctly.
DAC (AnalogOut)The DAC outputs an analog signal which is fed into an ADC pin. The test verifies whether the output matches the input.

Board Design Files

The complete schematic PDF can be seen here: https://github.com/mbed-ce/mbed-ce-ci-shield-v2/blob/master/Design%20Files/Rev2/docs/mbed-ce-ci-shield-v2-schematic.pdf

The Logic Analyzer

Input Mapping

Logic analyzer inputs are muxed by the FUNC_SEL[0..2] pins.

Analyzer InputFUNC_SEL = 000FUNC_SEL = 001FUNC_SEL = 010FUNC_SEL = 1xx
D0UART.MCU_TXNCSPI.HW_CSNC
D1UART.RTSI2C.SCLSPI.MISONC
D2UART.CTSI2C.SDASPI.MOSINC
D3UART.MCU_RXNCSPI.SCLKNC
D4SPI.SD_CSSPI.SD_CSSPI.SD_CSSPI.SD_CS
D5GPOUT0GPOUT0GPOUT0GPOUT0
D6GPOUT1/PWMGPOUT1/PWMGPOUT1/PWMGPOUT1/PWM
D7GPOUT2GPOUT2GPOUT2GPOUT2

Board Bringup and Testing

Initial Testing

Before powering on a board, check that the resistance across the 5V rail is at least 10kOhms and the resistance across the 3V3 rail is at least 600 ohms. These rails can be found on the LD1117S33 voltage regulator pins. For ground, use the outside of the double USB-A port (NOT the USB-C ports, their shields are not grounded). If these resistance checks fail, you almost certainly have a short somewhere.

When you first plug in a board, you should see three USB devices enumerate:

  • One "Cypress Semiconductor Corp. Unprogrammed CY7C65632/34 hub HX2VL"
  • One "Cypress Semiconductor Corp. USB-Serial (Single Channel)"
  • One FX2LP in no-EEPROM mode (TODO what is this named in lsusb?)

If these USB devices do not enumerate, double-check the circuitry for the chips that don't enumerate.

Additionally, the current draw of the board should be between ~14mA and ~100mA when no Mbed board is connected. A USB-C power meter (e.g. this one) is highly recommended when testing new boards.

Flashing Logic Analyzer Firmware

To build and flash the logic analyzer firmware, you will need Small Device C Compiler. On Ubuntu, this can be installed with sudo apt install sdcc sdcc-libraries. You will also need the mbed-ce fork of fxload. Lastly, you will need access to a Linux command line environment -- WSL or MSYS2 should work if on Windows.

After installing these (and setting up udev rules for fxload, if on Linux), run the following commands from the repo root:

text
$ cd Firmware
$ python3 fx2lafw_update_serial_number.py 001 <replace 001 with the serial number you want to give this board>
$ cd sigrok-firmware-fx2lafw
$ ./autogen.sh
$ mkdir build
$ cd build
$ ../configure
$ make
$ fxload load_eeprom --ihex-path hw/sigrok-fx2-8ch/fx2lafw-sigrok-fx2-8ch.ihx -t FX2LP --control-byte 0xC2

Finally, unplug and replug the board from power and data.

Note: The python script run in step 2 works by modifying one of the fx2lafw source files to inject a unique serial number into the firmware, as I wasn't able to find any other way to do this.

Flashing USB-Serial Adapter Configuration

To configure the USB-serial adapter (the CY7C65211), you will need to use Mbed CE's cy_serial_bridge library. This can be installed using python3 -m pip install cy_serial_bridge. Then, we can use the following commands to load a configuration and program the serial number.

Note: If you have any other CI shields connected to the computer, you must unplug them before running these commands.

text
$ cy_serial_cli --pid 0x00fb load Firmware/CY7C65211-Configs/mbed_ce_cy7c65211a_cdc_base_config.bin
$ cy_serial_cli reconfigure --set-serno ShieldSN001 <replace 001 with the serial number you want to give this board>
$ cy_serial_cli change-type I2C # Change to I2C initially so it will not drive any lines on the board

Using the Logic Analyzer

The logic analyzer integrated into this board runs firmware from the Sigrok project, and is designed to be used with the sigrok CLI and the PulseView GUI. This provides a complete set of open-source tools for capturing and decoding traffic moving across the board.

Side Note: Sigrok Windows Issues

There is currently no Sigrok/Pulseview release that is compatible with Windows 10 and fx2lafw; neither the nightlies nor the official releases. I have contributed a patch that allows it to work, but to use it, you must install MSYS2 and compile libsigrok, libsigrok-decode, and pulseview from source.

Using the Logic Analyzer via WSL2 on Windows

If you have Windows 11 and WSL2, you can proxy USB devices to WSL using usbipd. I found that this worked perfectly fine for the FX2 logic analyzer on the board. First install usbipd using these instructions. Then, follow the linux instructions which follow.

Using the Logic Analyzer on Linux

First, you need to install the udev rules. Copy the 60-libsigrok.rules and 61-libsigrok-plugdev.rules files from here into /etc/udev/rules.d. Then, make sure your user account is in the plugdev group. Finally, run:

text
$ sudo udevadm control --reload-rules
$ sudo udevadm trigger

If on WSL2 and the first command gives an error, run

text
$ sudo service udev restart

first.

You should now be able to run sigrok without root. Now, you can run:

text
$ sigrok-cli -d fx2lafw --scan

and you should see something like

text
The following devices were found:
fx2lafw:conn=1.4 - sigrok FX2 LA (8ch) with 8 channels: D0 D1 D2 D3 D4 D5 D6 D7

This means your logic analyzer is working!

Building the Design with KiBot

Parts

176
QtyValueFootprintReferences
1910kResistor_SMD:R_1206_3216MetricR15, R22, R23, R24, R26, R31, R35, R36, R38, R43, R45, R56, R57, R58, R59, R60 +3
14100nFCapacitor_SMD:C_1206_3216MetricC1, C3, C4, C6, C7, C10, C11, C16, C23, C24, C32, C38, C39, C46
121uCapacitor_SMD:C_1206_3216MetricC14, C15, C22, C25, C26, C28, C29, C30, C31, C36, C40, C42
11100nFCapacitor_SMD:C_0603_1608MetricC27, C35, C41, C44, C45, C47, C48, C49, C50, C52, C57
92.2uFCapacitor_SMD:C_1206_3216MetricC2, C5, C9, C12, C13, C19, C21, C33, C34
9NetTie_2NetTie:NetTie-2_SMD_Pad0.5mmNT1, NT2, NT3, NT4, NT5, NT6, NT7, NT9, NT10
8100kResistor_SMD:R_1206_3216MetricR4, R5, R6, R7, R8, R9, R10, R16
61Resistor_SMD:R_1206_3216MetricR46, R47, R48, R49, R50, R51
61x2Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ9, J10, J11, J12, J13, J14
6300@100MHzResistor_SMD:R_1206_3216MetricFB1, FB2, FB3, FB4, FB5, FB6
51kResistor_SMD:R_1206_3216MetricR27, R28, R30, R37, R62
44.7μFCapacitor_SMD:C_0603_1608MetricC53, C54, C56, C58
45.1kResistor_SMD:R_1206_3216MetricR2, R3, R11, R12
4USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U3, U4, U5, U8
310uCapacitor_SMD:C_1206_3216MetricC17, C37, C43
3300Resistor_SMD:R_1206_3216MetricR19, R20, R21
21.1kResistor_SMD:R_1206_3216MetricR33, R34
2100uCapacitor_THT:CP_Radial_D8.0mm_P3.50mmC18, C20
2120Resistor_SMD:R_1206_3216MetricR32, R44
21x8Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ4, J5
227.4Resistor_SMD:R_0603_1608MetricR53, R55
2270Resistor_SMD:R_1206_3216MetricR17, R18
233Resistor_SMD:R_1206_3216MetricR52, R54
24.7kResistor_SMD:R_1206_3216MetricR14, R25
2AA3528CGSKColorLEDs:AA3528D1, D2
2AA3528SURSKColorLEDs:AA3528D5, D6
2AA3528SYSKColorLEDs:AA3528D3, D4
2BD2221G-LBTRPackage_TO_SOT_SMD:SOT-23-5U6, U7
2SN74CB3Q3253PWRPackage_SO:TSSOP-16_4.4x5mm_P0.65mmU11, U12
2TJA1051T-3Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU18, U19
2USB4105-GF-Aproject libraries:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal-ExtraHoleClearanceJ1, J3
11.5kResistor_SMD:R_1206_3216MetricR29
112.000MHzOscillator:Oscillator_SMD_Abracon_ASV-4Pin_7.0x5.1mmX1
11x10Connector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_VerticalJ7
11x6Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ6
124FC64-I/SNPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU15
13.3uproject libraries:abracon_aota-b201610s3r3-101-tL1
1649Resistor_SMD:R_1206_3216MetricR1
174AHC1G04Package_TO_SOT_SMD:SOT-23-5U14
1820Resistor_SMD:R_1206_3216MetricR41
19.1kResistor_SMD:R_1206_3216MetricR13
1AP22913W6-7Package_TO_SOT_SMD:SOT-23-6U22
1BAT54WPackage_TO_SOT_SMD:SOT-323_SC-70D7
1CY7C65211Aproject libraries:QFN-24-1EP_4x4mm_P0.5mm_EP2.65x2.65mm-LengthenedPadsU10
1CY7C65632-48AXCTPackage_QFP:LQFP-48_7x7mm_P0.5mmU2
1DM3ATConnector_Card:microSD_HC_Hirose_DM3AT-SF-PEJM5J8
1LD1117S33TRPackage_TO_SOT_SMD:SOT-223-3_TabPin2U9
1MCP2515-xSTPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU17
1MbedCELogoproject libraries:Mbed CE LogoLG1
1RP2350Aproject libraries:RP2350AU23
1SN74AXC4T774Package_SO:TSSOP-16_4.4x5mm_P0.65mmU21
1SN74CB3Q3257PWRPackage_SO:TSSOP-16_4.4x5mm_P0.65mmU24
1UJ2-ADH-3-THConnector_USB:USB_A_CUI_UJ2-ADH-TH_Horizontal_StackedJ2
1W25Q80DVSSIGPackage_SO:SOIC-8_5.3x5.3mm_P1.27mmU1

Similar boards

  • 4 layers244.5 × 91 mmHackerDAQ Main Unit, the printed circuit board in 3D

    HackerDAQ Main Unit

    multiplemonomials/HackerDAQ

    A Data Acquisition System for Hackers

    190 parts2
  • 4 layers82 × 55 mmSpark, the printed circuit board in 3D

    Spark

    ratmuds/spark

    The PCB files for this project. The gerber and other PCBA files are in the production folder.

    202 parts1
  • 4 layers100 × 70 mmSummerSchool 25, the printed circuit board in 3D

    SummerSchool 25

    konrad-bode/SummerSchool_25

    This repository contains the KiCad hardware design for the HeiChips 2025 SummerSchool FPGA Carrier Board, designed to interface with the custom tapeout FPGA chip from the HeiChips 2025 Tapeout Repository.

    112 parts
  • 6 layers147 × 90 mmBitaxeNajaDuo, the printed circuit board in 3D

    BitaxeNajaDuo

    bitaxeorg/naja-duo

    Dual BM1373 open-source Bitcoin miner

    235 parts7CERN-OHL-S-2.0
  • 6 layers150 × 105 mmGimlet mgmt bringup, the printed circuit board in 3D

    Gimlet mgmt bringup

    oxidecomputer/hw-gimletlet

    More full-featured breakout board for the STM32H7, including many expansion headers for daughter boards. In active use for Hubris development and as a Swiss Army Knife around the lab

    322 parts4MPL-2.0
  • 6 layers85 × 85 mmController Board, the printed circuit board in 3D

    Controller Board

    MichalVarsanyi/VoxLink

    VoxLink is a high-speed solution that allows interfacing of up to 100 sensors using a single high-speed host device.

    298 parts1MIT
  • 4 layers100 × 80 mmAQUILA TX PCB FIXED, the printed circuit board in 3D

    AQUILA TX PCB FIXED

    tharun-28102006/AQUILA

    FPGA-based sonar waveform generation and DAC streaming, with SystemVerilog RTL and Python simulation and validation models

    60 parts1
  • 6 layers76 × 101 mmBitaxeAva, the printed circuit board in 3D

    BitaxeAva

    bitaxeorg/bitaxeAva

    Quad Canann A3197

    162 partsCERN-OHL-S-2.0

Questions

How big is the Mbed ce ci shield v2 PCB?

It measures 104.5 × 91 mm and has 4 copper layers, 1.58 mm thick.

What parts does the Mbed ce ci shield v2 use?

176 parts, built around the RP2350A, TJA1051T/3/1, CY7C65632-48AXCT and W25Q80DVSSIG. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Mbed ce ci shield v2 KiCad files?

From the mbed-ce/mbed-ce-ci-shield-v2 repository on GitHub, at the commit this page was made from: the board is kicad_project/mbed-ce-ci-shield-v2.kicad_pcb and its schematic kicad_project/ArduinoConnector.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Mbed ce ci shield v2 design in my own project?

Its repository publishes it under the CERN-OHL-P-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).