Maxim-Integrated /max32657 /SPI /CTRL0

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CTRL0

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (dis)EN 0 (dis)CONT_MODE 0 (output)TS_IO 0 (START)START 0 (DEASSERT)TS_CTRL 0TS_ACTIVE

EN=dis, CONT_MODE=dis, TS_CTRL=DEASSERT, TS_IO=output

Description

Register for controlling SPI peripheral.

Fields

EN

SPI Enable.

0 (dis): SPI is disabled.

1 (en): SPI is enabled.

CONT_MODE

Controller Mode Enable.

0 (dis): SPI is Target mode.

1 (en): SPI is Controller mode.

TS_IO

Target Select 0, IO direction, to support Multi-Controller mode,Target Select 0 can be input in Controller mode. This bit has no effect in target mode.

0 (output): Target select 0 is output.

1 (input): Target Select 0 is input, only valid if MMEN=1.

START

Start Transmit.

1 (start): Controller Initiates a transaction, this bit is self clearing when transactions are done. If a transaction cimpletes, and the TX FIFO is empty, the Controller halts, if a transaction completes, and the TX FIFO is not empty, the Controller initiates another transaction.

TS_CTRL

Start Select Control. Used in Controller mode to control the behavior of the Target Select signal at the end of a transaction.

0 (DEASSERT): SPI De-asserts Target Select at the end of a transaction.

1 (ATSERT): SPI leaves Target Select asserted at the end of a transaction.

TS_ACTIVE

Target Select, when in Controller mode selects which Target devices are selected. More than one Target device can be selected.

1 (TS0): TS0 is selected.

2 (TS1): TS1 is selected.

4 (TS2): TS2 is selected.

Links

()