KUNBUS-COM EtherCAT
60 / 135
0x0018 Configure SPI mode
In this memory register you have the option, Clock and data level for
the SPI interface to set
This setting is only used in the SPI slave mode. In SSC Master Mode
the SPI Controller always uses setting 4: "lagging edge, CLK high,
MSB first" (see also Synchronous serial interface [
}
32])
Modbus Register
0x0018
Value Range
0x0001-0x0004
Default Value
4
Number of bytes available
1
Permanently stored
Yes
Access
Read/Write
Meaning
0x0001
Leading edge
(CPHA=0, CLK low (CPOL=0), MSB first
0x0002
Leading edge
(CPHA=0, CLK high (CPOL=1), MSB first
0x0003
Lagging edge
(CPHA=1, CLK low (CPOL=0), MSB first
0x0004
Lagging edge
(CPHA=1, CLK high (CPOL=1), MSB first
0x0019 Current configuration
of the SPI controller
In this memory register you will find information about the current
configuration of the clock and data level for the SPI interface.
This setting is only used in the SPI slave mode. In SSC Master Mode
the SPI Controller always uses setting 4: "lagging edge, CLK high,
MSB first" (see also Synchronous serial interface [
}
32]).
Modbus Register
0x0019
Value Range
0-4
Number of bytes available
1
Permanently stored
No
Access
Read Only
Meaning
0x0000
SSC Mode active
0x0001
Leading edge (CPHA=0, CLK low
(CPOL=0), MSB first
0x0002
Leading edge (CPHA=0, CLK high
(CPOL=1), MSB first
0x0003
Lagging edge (CPHA=1, CLK low
(CPOL=0), MSB first
0x0004
Lagging edge (CPHA=1, CLK high
(CPOL=1), MSB first
Memory Register