

Mbed ce ci shield v2
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
12RP2350A
QFN-60-EP(7x7)Power-on reset (POR)、Undervoltage detection (BOR/LVD/LVR/LVI)、Watchdog reset、Integrated LDO、True random number generator (TRNG)、Hardware ECC check QFN-60-EP(7x7) Microcontrollers (MCU/MPU/SOC) ROHSRaspberry PiMicrocontrollers (MCU/MPU/SOC)TJA1051T/3/1
-- CAN Transceivers ROHSNXP SemiconductorsCAN TransceiversCY7C65632-48AXCT
LQFP-480℃~+70℃ 3.3V、5V 4 Hub I2C、SPI USB 2.0 LQFP-48 USB HUB Controllers ROHSInfineon TechnologiesUSB ConvertersW25Q80DVSSIG
SOIC-8-208mil-40℃~+85℃ 100,000 cycles 104MHz 10uA 2.7V~3.6V 20 Years 8Mbit SPI SOIC-8-208mil NOR FLASH ROHSWinbond ElecNOR FLASHUSBLC6-2SC6
SOT-23-60.35pF、0.8pF 100nA 150W@8/20us 15V 2 5V 6A@8/20us 6V ESD SOT-23-6 ESD and Surge Protection (TVS/ESD) ROHSUMWESD And Surge Protection (TVS/ESD)BD2221G-LBTR
SSOP-5-1.6mm-40℃~+85℃ 1 160mΩ 2.7V~5.5V Active Low High Side Switch SSOP-5-1.6mm Power Distribution Switches ROHSROHM SemiconductorPower Distribution SwitchesSN74CB3Q3253PWRE4
TSSOP-16Output enable high-impedance、Power-off protection TSSOP-16 Signal Switches, Multiplexers, Decoders ROHSTexas InstrumentsSignal Switches, Multiplexers, Decoders24FC64-I/SN
SOIC-8-40℃~+85℃ 1,000,000 cycles 1.7V~5.5V 1MHz 1uA 200 Years 3mA 400ns、900ns 5ms 64Kbit Hardware write protection function、Noise suppression function I2C SOIC-8 EEPROM ROHSMicrochip TechnologyEEPROM74AHC1G04SE
SOT-353-40℃~+125℃ 1 1 1.5V~3.85V 1.9V、2.9V、4.4V 1uA 2V~5.5V 500mV~1.65V 7.5ns@5V,50pF 74AHC 8mA 8mA Noise suppression function Schmitt trigger SOT-353 Inverters ROHSDiodes IncorporatedInvertersLD1117S33TR(MS)
SOT-223-20℃~+125℃@(Ta) 1 1.4V@(1A) 12V 1A 2mA 3.3V Fixed Over Temperature Protection Positive SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSMSKSEMIVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsSN74AXC4T774PW
TSSOP-16-40℃~+125℃ 1 310Mbps 4 650mV~3.6V 650mV~3.6V Bidirectional Level translator Power-off protection、Output enable high-impedance Tri-State TSSOP-16 Translators, Level Shifters ROHSTexas InstrumentsTranslators, Level ShiftersAA3528CGSK
SMD,3.2x2.8mm100mcd 120° 2.1V 20mA 570nm 574nm Emerald Green Water Clear SMD,3.2x2.8mm LED Indication - Discrete ROHSKingbrightLED Indication - Discrete
README
README.mdMbed CE CI Shield v2
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 Type | Test Method |
|---|---|
| USB Device | The Mbed target's USB Device port can be connected to one of the shield's downstream USB ports |
| SPI Master | The Mbed target can interact with the MicroSD card. The logic analyzer can observe this interaction. |
| SPI Slave | The CY7C65211 can initiate SPI transactions which are handled by the MCU. The logic analyzer can observe this interaction. |
| I2C Master | The Mbed target can talk to the EEPROM over I2C. The logic analyzer can observe this interaction. |
| I2C Slave | The CY7C65211 can initiate I2C transactions which are handled by the MCU. The logic analyzer can observe this interaction. |
| UART | The 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. |
| PWM | The 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 Input | FUNC_SEL = 000 | FUNC_SEL = 001 | FUNC_SEL = 010 | FUNC_SEL = 1xx |
|---|---|---|---|---|
| D0 | UART.MCU_TX | NC | SPI.HW_CS | NC |
| D1 | UART.RTS | I2C.SCL | SPI.MISO | NC |
| D2 | UART.CTS | I2C.SDA | SPI.MOSI | NC |
| D3 | UART.MCU_RX | NC | SPI.SCLK | NC |
| D4 | SPI.SD_CS | SPI.SD_CS | SPI.SD_CS | SPI.SD_CS |
| D5 | GPOUT0 | GPOUT0 | GPOUT0 | GPOUT0 |
| D6 | GPOUT1/PWM | GPOUT1/PWM | GPOUT1/PWM | GPOUT1/PWM |
| D7 | GPOUT2 | GPOUT2 | GPOUT2 | GPOUT2 |
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:
$ 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 0xC2Finally, 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.
$ 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 boardUsing 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:
$ sudo udevadm control --reload-rules
$ sudo udevadm triggerIf on WSL2 and the first command gives an error, run
$ sudo service udev restartfirst.
You should now be able to run sigrok without root. Now, you can run:
$ sigrok-cli -d fx2lafw --scanand you should see something like
The following devices were found:
fx2lafw:conn=1.4 - sigrok FX2 LA (8ch) with 8 channels: D0 D1 D2 D3 D4 D5 D6 D7This means your logic analyzer is working!
Building the Design with KiBot
Parts
176| Qty | Value | Footprint | References |
|---|---|---|---|
| 19 | 10k | Resistor_SMD:R_1206_3216Metric | R15, R22, R23, R24, R26, R31, R35, R36, R38, R43, R45, R56, R57, R58, R59, R60 +3 |
| 14 | 100nF | Capacitor_SMD:C_1206_3216Metric | C1, C3, C4, C6, C7, C10, C11, C16, C23, C24, C32, C38, C39, C46 |
| 12 | 1u | Capacitor_SMD:C_1206_3216Metric | C14, C15, C22, C25, C26, C28, C29, C30, C31, C36, C40, C42 |
| 11 | 100nF | Capacitor_SMD:C_0603_1608Metric | C27, C35, C41, C44, C45, C47, C48, C49, C50, C52, C57 |
| 9 | 2.2uF | Capacitor_SMD:C_1206_3216Metric | C2, C5, C9, C12, C13, C19, C21, C33, C34 |
| 9 | NetTie_2 | NetTie:NetTie-2_SMD_Pad0.5mm | NT1, NT2, NT3, NT4, NT5, NT6, NT7, NT9, NT10 |
| 8 | 100k | Resistor_SMD:R_1206_3216Metric | R4, R5, R6, R7, R8, R9, R10, R16 |
| 6 | 1 | Resistor_SMD:R_1206_3216Metric | R46, R47, R48, R49, R50, R51 |
| 6 | 1x2 | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J9, J10, J11, J12, J13, J14 |
| 6 | 300@100MHz | Resistor_SMD:R_1206_3216Metric | FB1, FB2, FB3, FB4, FB5, FB6 |
| 5 | 1k | Resistor_SMD:R_1206_3216Metric | R27, R28, R30, R37, R62 |
| 4 | 4.7μF | Capacitor_SMD:C_0603_1608Metric | C53, C54, C56, C58 |
| 4 | 5.1k | Resistor_SMD:R_1206_3216Metric | R2, R3, R11, R12 |
| 4 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U3, U4, U5, U8 |
| 3 | 10u | Capacitor_SMD:C_1206_3216Metric | C17, C37, C43 |
| 3 | 300 | Resistor_SMD:R_1206_3216Metric | R19, R20, R21 |
| 2 | 1.1k | Resistor_SMD:R_1206_3216Metric | R33, R34 |
| 2 | 100u | Capacitor_THT:CP_Radial_D8.0mm_P3.50mm | C18, C20 |
| 2 | 120 | Resistor_SMD:R_1206_3216Metric | R32, R44 |
| 2 | 1x8 | Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_Vertical | J4, J5 |
| 2 | 27.4 | Resistor_SMD:R_0603_1608Metric | R53, R55 |
| 2 | 270 | Resistor_SMD:R_1206_3216Metric | R17, R18 |
| 2 | 33 | Resistor_SMD:R_1206_3216Metric | R52, R54 |
| 2 | 4.7k | Resistor_SMD:R_1206_3216Metric | R14, R25 |
| 2 | AA3528CGSK | ColorLEDs:AA3528 | D1, D2 |
| 2 | AA3528SURSK | ColorLEDs:AA3528 | D5, D6 |
| 2 | AA3528SYSK | ColorLEDs:AA3528 | D3, D4 |
| 2 | BD2221G-LBTR | Package_TO_SOT_SMD:SOT-23-5 | U6, U7 |
| 2 | SN74CB3Q3253PWR | Package_SO:TSSOP-16_4.4x5mm_P0.65mm | U11, U12 |
| 2 | TJA1051T-3 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U18, U19 |
| 2 | USB4105-GF-A | project libraries:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal-ExtraHoleClearance | J1, J3 |
| 1 | 1.5k | Resistor_SMD:R_1206_3216Metric | R29 |
| 1 | 12.000MHz | Oscillator:Oscillator_SMD_Abracon_ASV-4Pin_7.0x5.1mm | X1 |
| 1 | 1x10 | Connector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_Vertical | J7 |
| 1 | 1x6 | Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Vertical | J6 |
| 1 | 24FC64-I/SN | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U15 |
| 1 | 3.3u | project libraries:abracon_aota-b201610s3r3-101-t | L1 |
| 1 | 649 | Resistor_SMD:R_1206_3216Metric | R1 |
| 1 | 74AHC1G04 | Package_TO_SOT_SMD:SOT-23-5 | U14 |
| 1 | 820 | Resistor_SMD:R_1206_3216Metric | R41 |
| 1 | 9.1k | Resistor_SMD:R_1206_3216Metric | R13 |
| 1 | AP22913W6-7 | Package_TO_SOT_SMD:SOT-23-6 | U22 |
| 1 | BAT54W | Package_TO_SOT_SMD:SOT-323_SC-70 | D7 |
| 1 | CY7C65211A | project libraries:QFN-24-1EP_4x4mm_P0.5mm_EP2.65x2.65mm-LengthenedPads | U10 |
| 1 | CY7C65632-48AXCT | Package_QFP:LQFP-48_7x7mm_P0.5mm | U2 |
| 1 | DM3AT | Connector_Card:microSD_HC_Hirose_DM3AT-SF-PEJM5 | J8 |
| 1 | LD1117S33TR | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U9 |
| 1 | MCP2515-xST | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U17 |
| 1 | MbedCELogo | project libraries:Mbed CE Logo | LG1 |
| 1 | RP2350A | project libraries:RP2350A | U23 |
| 1 | SN74AXC4T774 | Package_SO:TSSOP-16_4.4x5mm_P0.65mm | U21 |
| 1 | SN74CB3Q3257PWR | Package_SO:TSSOP-16_4.4x5mm_P0.65mm | U24 |
| 1 | UJ2-ADH-3-TH | Connector_USB:USB_A_CUI_UJ2-ADH-TH_Horizontal_Stacked | J2 |
| 1 | W25Q80DVSSIG | Package_SO:SOIC-8_5.3x5.3mm_P1.27mm | U1 |
Similar boards
- 4 layers244.5 × 91 mm

- 4 layers82 × 55 mm

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 mm

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 mm

- 6 layers150 × 105 mm

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 mm

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 mm

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 mm

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).