KMA215 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
Product data sheet Rev. 1 — 24 February 2014 31 of 50
NXP Semiconductors
KMA215
Programmable angle sensor with SAE J2716 SENT
A more detailed description of all customer accessible registers is given in Section 13.5.
Both default value and the complete command including the address and write or read
request are also listed.
13.3.1 Write access
To write data to the non-volatile memory, perform the following procedure:
1. Start condition: The master drives a rising edge after a LOW level
2. Command: The master sends a write command, that is the last bit is not set
(CMD0 = 0)
3. Data: The master sends two data bytes
4. Stop condition: The master drives a rising edge after a LOW level
Figure 18
shows the write 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 indicate when the master or the slave output is enabled or disabled,
respectively.
Note: As already mentioned in Section 13.1, use the write procedure to enter the
command mode. If command mode is not entered, communication is not possible and the
sensor operates in normal operation mode. After changing an address, the time t
prog
must
elapse before changing another address. After changing the content of the non-volatile
memory, recalculate and write the checksum (see Section 13.4
).
4 to 1 CMD[4:1] address bits
0 CMD0 read/write
0 = write
1 = read
Table 31. Command byte bit description
…continued
Bit Symbol Description
(1) Missing rising edges generate a time-out condition and the written data is ignored.
(2) If the master does not drive the bus, the bus-pull defines the bus.
Fig 18. OWI write access
001aag743
master
output
enable
slave
output
enable
START CMD7 CMD0 STOP
(1)
(2)
IDLEWDATA15 WDATA0
OWI
KMA215 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
Product data sheet Rev. 1 — 24 February 2014 32 of 50
NXP Semiconductors
KMA215
Programmable angle sensor with SAE J2716 SENT
13.3.2 Read access
To read data from the sensor, perform the following procedure:
1. Start condition: The master drives a rising edge after a LOW level
2. Command: The master sends a read command (CMD0 = 1)
3. Handover: The master sends a handover bit, that is a logic 0 and disables the output
after a three-quarter bit period
4. Takeover: The slave drives a LOW level after the falling edge for t
tko(slv)
5. Data: The slave sends two data bytes
6. Handover: The slave sends a handover bit, that is a logic 0 and disables the output
after a three-quarter bit period
7. Takeover: The master drives a LOW level after the falling edge for t
tko(mas)
8. Stop condition: The master drives a rising edge after a LOW level
Figure 19
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 indicate when the master or the slave output is enabled or disabled,
respectively.
(1) Duration of LOW level for slave takeover t
tko(slv)
.
(2) The master output enable and the slave output enable overlap, because both drive a LOW level.
However this behavior ensures the independency from having a pull-up or pull-down on the bus.
In addition, it improves the 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, the pull-up generates the stop condition. 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-pull defines the bus.
Fig 19. OWI read access
001aag744
master
output
enable
slave
output
enable
START CMD7 CMD0 RDATA0
(1)
(2) (2) (4)
(5)
(3)
HANDSHAKE HANDSHAKERDATA15 IDLESTOP
OWI
KMA215 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
Product data sheet Rev. 1 — 24 February 2014 33 of 50
NXP Semiconductors
KMA215
Programmable angle sensor with SAE J2716 SENT
13.3.3 Entering the command mode
After a power-on reset, the sensor provides a time slot t
cmd(ent)
for entering the command
mode. Keep OUT/DATA pin HIGH for at least t
to
and send a specific command sequence
(see Figure 20
). If command mode is not entered, the sensor starts in the normal
operation mode.
During the command mode sequence, the digital SENT output is enabled. The external
programming hardware has to overdrive the output with current I
od
. If command mode is
activated, the digital SENT output is disabled and pin OUT/DATA operates as a digital
bidirectional programming interface.
13.4 Cyclic redundancy check
As already mentioned in Section 7, there is an 8-bit checksum for the non-volatile memory
data. To calculate this value, the MSB of the memory data word generates the CRC at first
over all corresponding addresses in increasing order.
Read out all addresses from 0h to Eh for calculating the checksum. The Least Significant
Byte (LSB) of address Eh contains the previous checksum. Overwrite the value with 0h
before starting the checksum calculation.
The generator polynomial for the calculation of the checksum is:
(9)
With a start value of FFh and the data bits are XOR at the x
8
point.
Fig 20. OWI command mode procedure
DDD
W
FPGHQW
VLJQDWXUHFRPPDQG
67$57
2:,
9
'
'
K %K $K 6723
W
WR
Gx() x
8
x
2
x1+++=

KMA215,118

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
SENSOR ANGLE 180 DEG PC PIN
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet