MIDI to Hybrid Music 4000 for STM32F103
5V tolerant on everything now (managed to make a couple of boo-boos!), pin assignments as follows:
Pins used: Userport PB0-7 (even pins 6-20) are on GPIOs PB4,6-12
Userport CB1 (pin 2) -> Clk, GPIO PB13 (SPI2) - add external 10k pullup to 5V
Userport CB2 (pin 4) -> MOSI, GPIO PB15 (SPI2)
MIDI serial in (3.3V) -> GPIO PA3 (USART2)
All feedback gratefully received!