Skip to the content
2 layers174 × 40 mmSubboard, the printed circuit board in 3D

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

1

README

README.md

USB-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)の改造を行っています。

Sample Image Sample Image

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 (ファイルの場所)

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

USB-MIDI technical information

Copyrights (著作権)

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
QtyValueFootprintReferences
80.1μFkeshikan:SMD_0603(1608)C1, C2, C3, C4, C5, C6, C7, C8
8220keshikan:SMD_0603(1608)R1, R2, R3, R4, R5, R6, R7, R8
8DIN_5keshikan:DIN_5P_MIDICN1, CN2, CN3, CN4, CN5, CN6, CN7, CN8
8D_Smallkeshikan:SMD_0805(2012)_polarD1, D2, D3, D4, D5, D6, D7, D8
8TLP2361keshikan:11-4L1S(TLP2361)U1, U2, U3, U4, U5, U6, U7, U8
1Conn_01x10Connectors_JST:JST_XH_B10B-XH-A_10x2.50mm_StraightJ1

The 41 most common of 46 parts.

More from keshikan/CureMIDI8

1
  • 2 layers204 × 80 mmKicad source, the printed circuit board in 3D

    Kicad source

    keshikan/CureMIDI8

    USB-MIDI Interface(8IN/8OUT) for STM32F7

    105 parts26

Similar boards

  • 2 layers64 × 67 mmMidi, the printed circuit board in 3D

    Midi

    keshikan/CureMIDI

    USB-MIDI Interface(2IN/2OUT) for STM32

    182 parts65
  • 4 layers100.9 × 77.5 mmYm2610-pcb, the printed circuit board in 3D

    Ym2610-pcb

    dan-rodrigues/ym2610-pcb

    FPGA-based PCB to control a YM2610 sound synthesis chip.

    168 parts31
  • 4 layers70 × 70 mmDmx, the printed circuit board in 3D

    Dmx

    versioduo/dmx

    🚥 MIDI to DMX Bridge

    63 parts18
  • 2 layers109.7 × 109.5 mmDc31, the printed circuit board in 3D

    Dc31

    dczia/Defcon31-Badge

    DCZia DC31 Badge

    76 parts16
  • 2 layers77 × 70.5 mmPanel, the printed circuit board in 3D

    Panel

    brainsmoke/chiral_sphere

    another round thing

    184 parts13
  • 4 layers65.9 × 52.9 mmEX CSB1, the printed circuit board in 3D

    EX CSB1

    DCC-EX/EX-CSB1

    Open source EX-CSB1 CommandStation / Booster

    103 parts13
  • 4 layers119 × 63.2 mmOpenChordM1, the printed circuit board in 3D

    OpenChordM1

    FugLong/OpenChord

    An open-source music device for portable, expressive, and extensible audio creation.

    75 parts3MIT
  • 2 layers140 × 76.9 mmJoyMIDI, the printed circuit board in 3D

    JoyMIDI

    bcc6/joyMIDI-HW

    222 parts2

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.