summaryrefslogtreecommitdiffstats
path: root/watch-library/hal/documentation/spi_master_sync.rst
blob: 4fbe45e29c3db99835941376730ca4778ed98472 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
The SPI Master Synchronous Driver
=================================

The serial peripheral interface (SPI) is a synchronous serial communication
interface.

SPI devices communicate in full duplex mode using a master-slave
architecture with a single master. The master device originates the frame for
reading and writing. Multiple slave devices are supported through selection
with individual slave select (SS) lines.

Features
--------

* Initialization/de-initialization
* Enabling/disabling
* Control of the following settings:

  * Baudrate
  * SPI mode
  * Character size
  * Data order
* Data transfer: transmission, reception and full-duplex

Applications
------------

Send/receive/exchange data with a SPI slave device. E.g., serial flash, SD card,
LCD controller, etc.

Dependencies
------------

SPI master capable hardware

Concurrency
-----------

N/A

Limitations
-----------

The slave select (SS) is not automatically inserted during read/write/transfer,
user must use I/O to control the devices' SS.

Known issues and workarounds
----------------------------

N/A