![Maxim Integrated MAX32660 Скачать руководство пользователя страница 161](http://html1.mh-extra.com/html/maxim-integrated/max32660/max32660_user-manual_1744484161.webp)
MAX32660 User Guide
Maxim Integrated
Page 161 of 195
13.2.2
Three-Wire SPI Signals
Three-wire SPI is supported by the
MAX32660
family of microcontrollers. In this variant the MOSI and MISO lines are
combined and used as a bi-directional half-duplex communication pin. Three-wire also uses a serial clock generated by the
master and a slave select pin controlled by the master. Table 13-1 describes each of the signals used in three-wire SPI
communication.
Table 13-2: Three-Wire SPI Signals
Signal
Description
Direction
SCK
Serial Clock
The master generates the Serial Clock signal, which is an
output from the master and an input to the slave.
SISO
Slave Input Slave Output
This is a half-duplex, bidirectional I/O pin used for
communication between the SPI master and slave in a
three-wire SPI communication network
SS
Slave Select
In master mode, this signal is an output used to select a
slave device prior to communication.
In slave mode, this signal is an input used to indicate an
external SPI master is starting communication.
A three-wire SPI network is shown in
. The master device selects the slave device using the slave select
output. The communication starts with the master asserting the slave select line and then starting the clock (SCK). In a 3-
Wire SPI communication, the master and slave must both know the intended direction of the data. For a write, the master
drives the data out the SISO pin. For a read, the master must release the SISO line and let the slave drive the SISO line. In
the MAX32660 the direction of transmission is controlled using the FIFO enables. See
detailed information.
Figure 13-3: 3-Wire SPI Connection Diagram
13.3
SPI Configuration
Before configuring the SPI peripheral, first disable the SPI port by setting
.spi_en
to 0.
Содержание MAX32660
Страница 4: ...MAX32660 User Guide Maxim Integrated Page 4 of 195 8 UART 84 9 Real Time Clock RTC 96 10 Timers 105...
Страница 7: ...MAX32660 User Guide Maxim Integrated Page 7 of 195 15 Trademarks 195 16 Revision History 195...
Страница 14: ...MAX32660 User Guide Maxim Integrated Page 14 of 195 Figure 2 1 MAX32660 High Level Block Diagram...