

Subboard
USB-MIDI Interface(8IN/8OUT) for STM32F7
- Size
- 174 × 40 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 46
- Nets
- 34
- Pads
- 159
- Tracks, vias
- 233, 53
- Pours
- 35
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 14 Jan 2019
- Updated
- 14 Feb 2021
Overview
Subboard is an open-source printed circuit board by keshikan, from the keshikan/CureMIDI8 repository on GitHub. It is a 2-layer board of 174 × 40 mm with 46 parts on 34 nets, routed with 233 tracks and 53 vias.
It is built around the TLP2361(E. Its parts include 9 connectors, 8 capacitors, 8 resistors, 8 ICs and 8 diodes. It belongs with the audio and music and interfaces and adapters boards and the STM32 boards of this library.
Main components
1README
README.mdUSB-MIDI Interface (8IN/8OUT) for STM32 "CureMIDI8"
Overview (概要)
This repository shows STM32F7 (ARM Cortex-M7) based 8IN/8OUT USB-MIDI Interface. It is USB MIDI class-compliant, so you can add MIDI port without drivers(Windows, iOS, Android, etc...)
The USB-MIDI Class Driver is based on mimuz-tuch project (c) D.F.Mac. @TripArts Music.
STM32F7を使用した、USB-MIDIインターフェースです。INを8系統、OUTを8系統実装しています。USB MIDI Classに対応するシステム(Windows, iOS, Android, etc.)に対し、ドライバレスでMIDI入出力ポートを追加できます。
USB MIDI Classドライバは、D.F.Mac. @TripArts Music氏作成のドライバを元に、I/F部(usbd_midi_if.c/h)の改造を行っています。

Specifications (特徴)
- High-Speed MCU (STM32F722VCT)
- USB MIDI class-compliant
- MIDI port: 8IN/8OUT
- MIDI buffer size: 2kB * (8IN+8OUT) = 32kB
Building Information (ビルド方法)
Making hardware
See Schematic, KiCad Source. CureMIDI8 consist of a mainboard and a MIDI-IN board.
回路図はこちら. CureMIDI8は、メイン基板(Mainboard)と、拡張基板(MIDI-IN board)に分かれています。
Building software
Install STM32CubeIDE, import Project files. If you have successfully imported, you can build the project without error and the binary file will be created in /CubeIDE_project/Debug/.
STM32CubeIDEをインストールし、プロジェクトファイルをインポートして下さい。インポートに成功していれば、STM32CubeIDE上でプロジェクトをビルドするだけで、/SW4STM32_project/Debug/フォルダにバイナリファイルが生成されるはずです。
How to Porting (ポーティング方法)
CubeIDE Project (recommended)
Refer to here. (written in Japanese)
こちらを参照して下さい。
SW4STM32 Project
(Older Information) Load CureMIDI8.ioc on STM32CubeMX (Ver.5.0.1), change the pin assignment, and generate code. After code generation, copy usb device driver as described below. You can use ./click_after_code_generation.bat (in Windows).
(以下は古い情報です) CureMIDI8.iocをSTM32CubeMX (Ver.5.0.1)で読みこみ、ポートを適宜修正し、コード生成をして下さい。コードを生成後、./template下のUSBドライバを、下記の通り上書きして下さい。上書きは、./click_after_code_generation.batを実行してもOKです。
- ./template/*.c => ./Src/*.c
- ./template/*.h => ./Inc/*.h
File Location (ファイルの場所)
- Binary file for STM32F722
- STM32CubeIDE + STM32CubeMX(6.1.1) Project file
- SW4STM32 + STM32CubeMX(5.0.1) Project file
- Schematic
NOTICE (注意)
VID/PID
Vendor ID(VID) and Product ID(PID) in <usbd_desc.c> should be unique pair for each USB devices. Default VID 0x1209 and PID 0x0001 is experimental IDs from http://pid.codes .When distributing or selling, you must get your own IDs, and change to your own IDs in order to avoid conflicting to other USB devices.
USBのVendor ID(VID)とProduct ID(PID)は、<usbd_desc.c>内に記述します。 デフォルトのVID(0x1209)/PID(0x0001)ペアは、http://pid.codesで定められている実験用IDです。そのため、本機器を配布したり販売したりする場合には、別途固有のIDペアを取得し、書き換えてご使用いただく必要があります。
References (参考情報)
MIDI specification
- The Complete MIDI 1.0 Detailed Specification (MIDI Association)
- MIDI1.0規格書 (AMEI)
- MIDIの学習 (Laboratory "U")
USB-MIDI technical information
Copyrights (著作権)
- USB MIDI Class Driver by D.F.Mac. @TripArts Music
- STM32 CubeF7 by STMicroelectronics
Author (著者)
(c) 2019 Keshikan ( Website, Twitter )
License (ライセンス)
- USB MIDI Class Driver: CC BY 4.0
- STM32 CubeF7: BSD-3-Clause based.
- Other Codes, Hardware, Schematic: GPLv3
See also LICENSE.md
Update History (更新履歴)
- (2021/02/14)
- Added STM32CubeIDE(1.5.1) + CubeMX(6.1.1) Project.
- (2019/01/14)
- Initial Release.
Parts
46| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 0.1μF | keshikan:SMD_0603(1608) | C1, C2, C3, C4, C5, C6, C7, C8 |
| 8 | 220 | keshikan:SMD_0603(1608) | R1, R2, R3, R4, R5, R6, R7, R8 |
| 8 | DIN_5 | keshikan:DIN_5P_MIDI | CN1, CN2, CN3, CN4, CN5, CN6, CN7, CN8 |
| 8 | D_Small | keshikan:SMD_0805(2012)_polar | D1, D2, D3, D4, D5, D6, D7, D8 |
| 8 | TLP2361 | keshikan:11-4L1S(TLP2361) | U1, U2, U3, U4, U5, U6, U7, U8 |
| 1 | Conn_01x10 | Connectors_JST:JST_XH_B10B-XH-A_10x2.50mm_Straight | J1 |
The 41 most common of 46 parts.
More from keshikan/CureMIDI8
1- 2 layers204 × 80 mm

Similar boards
- 2 layers64 × 67 mm

- 4 layers100.9 × 77.5 mm

Ym2610-pcb
dan-rodrigues/ym2610-pcb
FPGA-based PCB to control a YM2610 sound synthesis chip.
168 parts31 - 4 layers70 × 70 mm

- 2 layers109.7 × 109.5 mm

- 2 layers77 × 70.5 mm

- 4 layers65.9 × 52.9 mm

- 4 layers119 × 63.2 mm

OpenChordM1
FugLong/OpenChord
An open-source music device for portable, expressive, and extensible audio creation.
75 parts3MIT - 2 layers140 × 76.9 mm

Questions
How big is the Subboard PCB?
It measures 174 × 40 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Subboard use?
46 parts, built around the TLP2361(E. 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 Subboard KiCad files?
From the keshikan/CureMIDI8 repository on GitHub, at the commit this page was made from: the board is hardware/kicad_source/sub_board/subboard.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Subboard design in my own project?
Its repository states no licence, so its author keeps all rights: ask keshikan before reusing the design.