Login

or
don't have an account?
back to glossary

MOSI (Master Out Slave In)

maker

MOSI (Master Out Slave In) is a unidirectional data line used in SPI communication protocols.

expanded

MOSI is a crucial element in the Serial Peripheral Interface (SPI) protocol, where it transfers data from the master device to one or more slave devices. It is used extensively in embedded systems and microcontroller-based projects that require communication between a controlling device and peripheral devices. The proper functioning of MOSI is critical in applications such as sensor data collection and digital data storage.

examples

In a Raspberry Pi interfacing with an MCP3008 ADC, MOSI transmits configuration data to the ADC.

This configuration occurs during the initialization phase in embedded system applications where the Raspberry Pi serves as the master device, and the MCP3008 ADC (a 10-bit Analog-to-Digital Converter chip) is the slave.

MOSI is used in Arduino projects to send control signals to the WS2812B RGB LED strip.

In this setup, MOSI transmits the RGB control data from the Arduino microcontroller to the LED strip, enabling precise control over lighting effects for applications such as complex lighting displays or interactive installations.