SmartWAV2-Datasheet_R4

SMARTWAV 2
Datasheet
Vizic Technologies ©2020 | 29
7- Polyphonic Slave Serial Mode 4 - MIDI Serial:
7.1- MIDI Host Interface:
SmartWAV 2 in this mode acts as a slave peripheral device, providing
a unidirectional serial interface to a host MIDI controller via its
UART(Universal Asynchronous Receiver).
Any MIDI compliant device can communicate with SmartWAV 2 using
standard MIDI commands, note on, note off, program change, etc.
(Refer to document SmartWAV2-MIDI.pdf). Midi channel selection is
via the I0-I3 input pins, this allow a logical binary selection of channel
0(0000b) to 15(1111b), however inside the processor this is handled as
channel: n+1, resulting in a 1 to 16 channel selection. The STP pin acts
as a midi omni-channel enable/disable pin, when enabled it overrides
the I0-I3 pins channel selection.
The serial protocol over MIDI is universal:
Serial Data Format: 8 Bits, No Parity, 1 Stop Bit.
BaudRate: 31250 bps(default).
Serial data is true and not inverted.
7.2- MIDI Serial Mode 4 Pinout:
Pin
Symbol
Function
Description
1
M0
INPUT
Digital input power ON/reset mode
selection pin, the combination of M0,
M1 and M2, determines the working
mode of the processor. Internally
pulled-down to ground via a 40K
resistor.
2
M1
INPUT
Digital input power ON/reset mode
selection pin, the combination of M0,
M1 and M2, determines the working
mode of the processor. Internally
pulled-down to ground via a 40K
resistor.