Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
1.3 SPI Driver
This library provides an interface to manage the Serial Peripheral Interface (SPI) module on the Microchip family of
microcontrollers in different modes of operation.
Description
Overview
The SPI module is a full duplex synchronous serial interface useful for communicating with other peripherals or
microcontrollers in master/slave relationship and it can transfer data over short distances at high speeds. The peripheral
devices may be serial EEPROMs, shift registers, display drivers, analog-to-digital converters, etc. The SPI module is
compatible with Motorola’s SPI and SIOP interfaces.
During data transfer devices can work either in master or in Slave mode. The source of synchronization is the system clock,
which is generated by the master. The SPI module allows to connect one or more slave devices to a single master device
via the same bus.
The SPI serial interface consists of four pins, which are further sub-divided into data and control lines:
Data lines:
• MOSI – Master Data Output, Slave Data Input
• MISO – Master Data Input, Slave Data Output
Control lines:
• SCLK – Serial Clock
• /SS – Slave Select (no addressing)
SPI Master-Slave Relationship
1.3.1 Using Driver
Module
SPI Driver
1.3 SPI Driver MLA - Drivers Help Using Driver
68
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_driver.pdf