EmbeddedRelated.com
Forums

MIDI Interface--UART-reading of 24bit

Started by kumtsch June 14, 2006
I would like to read a 24bit Signal (MIDI) with the UART, but it seems
that the UART is only able to read 8 bit a time??

Is it possible to read more than 8 bit a time?? could someone show me
a possibility to read only one bit a time??

thanks

kim





Beginning Microcontrollers with the MSP430

> I would like to read a 24bit Signal (MIDI) with the UART, but it seems
> that the UART is only able to read 8 bit a time??
>
> Is it possible to read more than 8 bit a time?? could someone show me
> a possibility to read only one bit a time??

MIDI low-level transmissions are in 8-bit parcels. Whatever 24
bit "signal" you are trying to receive, you'll need to knit three 8 bit
transmissions into a single 24 bit value for you application code to
handle.

JJS