ADwin-Pro II
Hardware, manual Dec. 2018
209
Pro II: Zusatz- und Schnittstellenmodule
Pro II-SPI-2 Rev. E
ADwin
5.8.17 Pro II-SPI-2 Rev. E
The module Pro II-SPI-2 Rev. E provides two independent SPI inter-
faces with master or slave functionality as well as several digital
channels.
The module is available in 2 variants:
– ADwin-Pro II-SPI-2-T: SPI signals use TTL levels.
– ADwin-Pro II-SPI-2-D: SPI signals are differential.
Alternatively, the module can also be used as digital module with only
digital inputs and outputs (similar to Pro II-DIO32-TiCo Rev. E).
Each module is equipped with a freely programmable
TiCo
proces-
sor, which has full access to the CAN interfaces. Find more informa-
tion about use and programming of the
TiCo
processor in the
TiCo-
Basic
manual.
The manual is divided into the following sections:
– Operation mode digital module
– Hardware
TiCo processor
The module provides the freely programmable
TiCo
processor with 28KiB pro-
gram memory, and 28KiB data memory. The
TiCo
processor is programmed
with
TiCoBasic
.
The
TiCo
processor has–as well as the
ADwin
CPU–access to the SPI con-
troller. Find more information about use and programming of the
TiCo
proces-
sor in the
TiCoBasic
manual.
If you store a
TiCoBasic
program in the
TiCo
bootloader, the program is auto-
matically loaded into the
TiCo
processor and started on power-up. Thus, the
module can run on its own and independently from the CPU module of the
ADwin-Pro II
system.
SPI operation
The two SPI interfaces can be operated in the following operation modes:
– Both interfaces as SPI master
– Both interfaces as SPI slave
– Interface 1 as SPI master, interface 2 as SPI slave
– For the use as digital module see Operation mode digital module,
The operation mode is set with the software instruction
P2_SPI_Mode
.
The interfaces are each connected to the SPI bus via the lines
SCLK
,
SS
,
DATAIN
and
DATAOUT
. The pin assignments for the various operation modes
are shown on page 212.
In SPI mode, the module provides several digital channels:
– SPI-2-T: 10…22 channels with TTL levels, according to operation mode.
– SPI-2-D: 8 channels with TTL levels and 4 differential channels.
SPI-2-T
BUS