20 - 37
Data Sheet - D e t a i l e d D e s c r i p t i o n
7.6.2 User Selectable Settings
The AS5140H allows programming of the following user selectable options:
- Md1, Md0: Incremental Output Mode Selection.
- Div1, Div0: Divider Setting of Incremental Output.
- Index: Index Pulse Width Selection – 1LSB / 3LSB.
- Z [9:0]: Programmable Zero / Index Position.
- CCW: Counter Clockwise Bit.
ccw=0 – angular value increases in clockwise direction.
ccw=1 – angular value increases in counterclockwise direction.
- RA [4:0]: Redundant Address. An OTP bit location addressed by this address is always set to “1” independent of the corresponding origi-
nal OTP bit setting.
7.6.3 OTP Default Setting
The AS5140H can also be operated without programming. The default, un-programmed setting is as listed below.
- Md0, MD1:00 = Incremental mode = quadrature.
- Div0, Div1:00 = Incremental resolution = 10bit.
- Index:0 = Index bit width = 1LSB.
- Z9 to Z0:00 = No programmed zero position.
- CCW:0 = Clockwise operation.
- RA4 to RA0:0 = No OTP bit is selected.
7.6.4 Redundant Programming Option
In addition to the regular programming, a redundant programming option is available. This option allows that one selectable OTP bit can be set
to “1” (programmed state) by writing the location of that bit into a 5-bit address decoder. This address can be stored in bits RA5...0 in the OTP
Example: Setting RA5…0 to “00001” will select bit 51 = MD0, “00010” selects bit 50 = MD1, “10000” selects bit 36 = CCW, etc.
7.6.5 OTP Register Entry and Exit Condition
To avoid accidental modification of the OTP during normal operation, each OTP access (Load, Write, Read, Program) requires a defined entry
and exit procedure, using the CSn, PROG and CLK signals as shown in Figure 14.
18 bit Chip ID
Table 19. OTP Bit Assignment