KMA199 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet Rev. 2 — 7 December 2011 20 of 36
NXP Semiconductors
KMA199
Programmable angle sensor
13.3.2 Read access
To read data from the sensor, the following procedure must be performed:
• Start condition: The master drives a rising edge after a LOW level
• Command: The master sends a read command (CMD0 = 1)
• Handover: The master sends a handover bit, that is a logic 0 and disables the output
after a three-quarter bit period
• Takeover: The slave drives a LOW level after the falling edge for t
tko(slv)
• Data: The slave sends two data bytes
• Handover: The slave sends a handover bit, that is a logic 0 and disables the output
after a three-quarter bit period
• Takeover: The master drives a LOW level after the falling edge for t
tko(mas)
• Stop condition: The master drives a rising edge after a LOW level
Figure 16
shows the read access of the digital interface. The signal OWI represents the
data on the bus from the master or slave. The signals master output enable and slave
output enable just symbolize if the master or the slave output is enabled or disabled,
respectively.
(1) Duration of LOW level for slave takeover t
tko(slv)
.
(2) There is an overlap in the output enables of master and slave, because both drive a LOW level.
However this ensures the independency from having a pull-up or pull-down on the bus. In addition
it improves the ElectroMagnetic Compatibility (EMC) robustness, because all levels are actively
driven.
(3) Duration of LOW level for master takeover t
tko(mas)
.
(4) If the master does not take over and a pull-up exists, the stop condition is generated by the pull-up.
Otherwise a time-out is generated if there is a pull-down and the slave waits for a rising edge as
start condition.
(5) If the master does not drive the bus, the bus is defined by the bus-pull.
Fig 16. OWI read access
001aag744
master
output
enable
slave
output
enable
START CMD7 CMD0 RDATA0
(1)
(2) (2) (4)
(5)
(3)
HANDSHAKE HANDSHAKERDATA15 IDLESTOP
OWI