STLC5046 Registers addresses
Doc ID 7052 Rev 5 35/51
Pin-strap value (value=00h):
3.1.26 Persistency Check register (PCHK-A/B)
Two input signals per channel, labeled A and B, are submitted to persistency check.
In dynamic mode (STA=0), A and B inputs of the four channels, are sampled on the
multiplexed lines IO0 (pin13) and IO1 (pin14).
In static mode (STA=1) the persistency check is performed on four pairs of lines, assigned to
each channel according to the table:
Addr=1Fh; Reset Value=00h
Addr=20h; Reset Value=00h
TA7..0 and TB7..0, content of PCHKA and PCHKB registers, define the minimum duration of
input A and B to generate interrupt; spurious transitions shorter than the programmed value
are ignored.
The time width can be calculated according to the formula:
Time-Width A = (TA7..0) x 64 µs
Time-Width B = (TB7..0) x 64 µs
If PCHKA/B is programmed to 00h the persistency check is not performed and any detected
transition will generate interrupt.
All the inputs, with or without persistency check, are sampled with a repetition rate of 32µs
Pin-strap value:
11111111
CHAN# Input A Input B
0 IO0 (pin 19) IO1 (pin 20)
1 IO4 (pin 17) IO5 (pin 18)
2 IO6 (pin 48) IO7 (pin 47)
3 IO10 (pin 44) IO11 (pin 43)
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
TA7 TA6 TA5 TA4 TA3 TA2 TA1 TA0
TB7 TB6 TB5 TB4 TB3 TB2 TB1 TB0
00000000