
preliminary
preliminary
iC-PVS
LINEAR/OFF-AXIS
BATTERY-BUFFERED ABSOLUTE POSITION HALL SENSOR
Rev A2, Page 25/51
I/O INTERFACE OPERATING MODES
This chapter gives an overview of the various interface
options for position data and control/register communi-
cation. iC-PVS offers 2 digital I/O interfaces with 4 pins
each:
•
DIO Port (Pins NCS, CLK, SI, SO)
•
GPIO Port (Pins GPIO0...GPIO3)
The analog output port with PSIN, NSIN, PCOS, NCOS
capable of driving analog (sin/cos) signals is described
in chapter Analog Output on page 32.
DISI2C: Disable I
2
C Slave Interface
Additionally, an I
2
C Interface is available. It reads in the
configuration at start-up from an external EEPROM and
can be addressed as an I
2
C slave for data and regis-
ter communication via ports SCL / SDA. The complete
functionality is described in chapter I
2
C Slave Interface
on page 45. If not needed, I
2
C slave access can be
disabled via configuration parameter DISI2C.
DISI2C
Addr. 0x00; bit 7
reset: 0
Code
Function
0
I
2
C slave access active
1
I
2
C slave access disabled
Table 6: Disable I
2
C Slave Interface
DIOMODE: Serial Interface Operating Mode
The DIO port is digital with a maximum of 4 mA out-
put driver capability and used for serial communication.
DIO stands for <digital input output>, hence these ports
can also be used as inputs. DIOMODE = 0x0 is the
default assignment. Table 7 lists further options.
DIOMODE(2:0)
Addr. 0x00; bit 2:0
reset: 0x0
Code
NCS
CLK
SI
SO
Function
0x0
MA
SLI
SLO
BiSS
0x1
MA
SLO
ExtSSI w/ CRC
0x2
MA
SLO
ExtSSI w/o CRC
0x3
NCS
SCLK
MOSI
MISO
SPI
0x4
NCS
SCLK
MOSI
MISO
SPI (tristate)
0x5
SYNC5
SYNC4
SYNC3
Absolute Sync
0x6
Z
B
A
Incremental
Note:
When in DIOMODE 0x2 the data format can
be configured to match the standard SSI
protocol.
Table 7: Serial Interface Operating Mode
Note:
With an empty EEPROM or after the third failed at-
tempt to read-in the configuration data from the EEP-
ROM the default value of DIOMODE is set to BiSS or
SPI depending on the logic level at pin NCS (NCS=0
→
BiSS
, NCS=1
→
SPI). This is only a temporary
setting for emergency boot and write access to the
RAM. Then the correct DIOMODE must be written for
correct operation.
GPIOMODE: General Purpose I/O Operating Mode
Beside of providing incremental and parallel interface
options the GPIO port is meant as a general purpose
interface mainly for application specific IO functional-
ity and diagnostics. The configuration options are de-
scribed in Table 8.
GPIOMODE(3:0)
Addr. 0x00; bit 6:3
reset: 0x0
Code
GPIO3
GPIO2
GPIO1
GPIO0
Function
0x0
SCLR
MTCLR
RESET
STANDBY
Commands
0x1
TRI
TRI
TRI
TRI
GPIO not used (output tristated)
0x2
SYNC5
SYNC4
SYNC3
Absolute data parallel sync output
0x3
Z
B
A
Absolute data incremental sync output
0x5
SCLR
MTCLR
REQUEST
STANDBY
Commands Data Request
0x6
Z
SYNC2
SYNC1
SYNC0
High resolution sync output
0xA
FSLOW
Internal oscillator calibration
Table 8: General Purpose I/O Operating Mode