English
Language : 

IC-GF Datasheet, PDF (16/26 Pages) IC-Haus GmbH – TRANSCEIVER
iC-GF
TRANSCEIVER
SPI MODE
Rev C1, Page 16/26
In SPI mode the iC-GF is configured and operated us-
ing the on-chip registers. Additionally there is a status
register, where chip events are logged. If any of the
status bits is set to high, the low-active open-drain pin
NDIAG is activated, e.g. for interrupt generation for mi-
cro controllers. The SPI mode is activated when the
pin INV1 is left open and the filter time (cf. Electri-
cal Characteristic No. 614) has elapsed. This enables
communication with the iC-GF via an SPI protocol us-
ing pins MISO, MOSI, SCLK and NCS.
Switch enable
There are three different ways of enabling/disabling the
output switches in SPI mode: pin mode, register mode
and mixed mode. In pin mode (TXEN = "11") or reg-
ister mode (TXEN = "00") the OEN pin acts as a com-
mon enable for both switching channels. The OEN reg-
ister on the other hand enables or disables each switch
separately.
Switch enable
OEN pin TXEN(1:0) OEN(1:0) Qx2 Qx1
0
00/11
XX
disabled disabled
1
00/11
01
disabled enabled
1
00/11
10
enabled disabled
1
XX
11
enabled enabled
X
XX
00
disabled disabled
0
01
0X
disabled disabled
0
01
1X
enabled disabled
0
10
X0
disabled disabled
0
10
X1
disabled enabled
1
01
01
disabled enabled
1
01
10
enabled disabled
1
10
01
disabled enabled
1
10
10
enabled disabled
TXEN(1:0)
x0
x1
0x
1x
Adr 0x00; Bit (5:4)
Channel 1 controlled by OUTD(0)
Channel 1 controlled by TX
Channel 2 controlled by OUTD(1)
Channel 2 controlled by TX
Table 6: Transmit enable
R/W 01
OUTD(1:0)
x0
x1
0x
1x
Adr 0x00; Bit (1:0)
R/W 00
Channel 1: push-pull low resp. high/low-side off
Channel 1: push-pull high resp. high/low-side on
Channel 2: push-pull low resp. high/low-side off
Channel 2: push-pull high resp. high/low-side on
Table 7: Output data with INV = "00"
Switch configuration
The configuration of the switches is determined by the
registers QCFG1 and QCFG2; either as high-side, low-
side, push-pull or high impedance (disabled).
QCFG1(1:0)
Adr 0x01; Bit (5:4)
00
disabled
01
low-side switch
10
high-side switch
11
push-pull
R/W 11
Table 8: Switch configuration Channel 1
QCFG2(1:0)
Adr 0x01; Bit (7:6)
00
disabled
01
low-side switch
10
high-side switch
11
push-pull
R/W 11
Table 9: Switch configuration Channel 2
Table 5: Switch enable, QCFGx = "00"
INV inverts the corresponding switching channel.
In mixed mode (TXEN = "01" or "10") the OEN pin
acts as an enable only for the channel for which the
TXEN bit is set to "1". The OEN register enables or
disables each switching channel separately. Table 5
summarises these configurations.
Switch control
Each switch can be operated by the OUTD register or
the input pin TX. The register TXEN selects register
OUTD or the pin TX for switch control.
INV(1:0)
x0
x1
0x
1x
Adr 0x03; Bit (5:4)
Switching channel 1 not inverted
Switching channel 1 inverted
Switching channel 2 not inverted
Switching channel 2 inverted
Table 10: Invert Ouput
R/W 00
Table 11 summarises the above configurations for
channel 1.
A "0" in the register TXEN sets the corresponding
switch to be controlled by the relevant bit of the reg-
ister OUTD.