SLLSFS6A September 2024 – December 2024 TIOL221
PRODMIX
Refer to the PDF data sheet for device specific package drawings
Table 9-1 lists the memory-mapped registers for the TIOL221 registers. All register offset addresses not listed in Table 9-1 should be considered as reserved locations and the register contents should not be modified.
Address | Acronym | Register Name | Section |
---|---|---|---|
0h | INT | Interrupt | Go |
1h | STATUS | Status | Go |
2h | DEVICE_CONFIG | Device Configuration | Go |
3h | CQ_CURLIM | CQ Driver Current Limit | Go |
4h | CQ_CONFIG | CQ Configuration | Go |
5h | DIO_CONFIG | DIO Configuration | Go |
6h | DO_CURLIM | DO Driver current limit | Go |
7h | DEVICE_ID | Device ID | Go |
8h | INT_MASK | Interrupt Mask | Go |
9h | RESET_CONFIG | Reset pin configuration register | Go |
Complex bit access types are encoded to fit into small table cells. Table 9-2 shows the codes that are used for access types in this section.
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
RC | R C | Read to Clear |
Write Type | ||
W | W | Write |
Reset or Default Value | ||
-n | Value after reset or the default value |
INT is shown in Figure 9-1 and described in Table 9-3.
Return to the Summary Table.
Interrupt registers reflect current status of various fault conditions. Interrupt registers are not cleared automatically after the fault clears. They are cleared on read if the fault condition does not exist
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TSD_INT | WU_INT | DO_FAULT_INT | CQ_FAULT_INT | LPW_INT | RESERVED | UV_V5_INT | TEMP_WARN |
RC-0b | RC-0b | RC-0b | RC-0b | RC-0b | R-0b | RC-0b | RC-0b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | TSD_INT | RC | 0b | Thermal shutdown interrupt bit. This bit is not cleared automatically when the fault is cleared. The bit is cleared on read if the fault does not exist anymore
|
6 | WU_INT | RC | 0b | This bit is set when an IO-link wake-up condition is detected on CQ.
|
5 | DO_FAULT_INT | RC | 0b | This bit is set when DO driver fault occurs (overcurrent or thermal)
|
4 | CQ_FAULT_INT | RC | 0b | This bit is set when CQ driver fault occurs (overcurrent or thermal)
|
3 | LPW_INT | RC | 0b | This bit is set when LP goes below the warning threshold
|
2 | RESERVED | R | 0b | Reserved |
1 | UV_V5_INT | RC | 0b | Undervoltage on the V5IN supply input (valid only if VSEL pin is floating and V5IN is the LDO input)
|
0 | TEMP_WARN | RC | 0b | Thermal warning interrupt
|
STATUS is shown in Figure 9-2 and described in Table 9-4.
Return to the Summary Table.
Status registers reflect current status of various fault conditions. They are read-only and cleared automatically when the fault is cleared. Note: Soft reset does not reset the STATUS register bits as they reflect the current status of the faults. It is recommended to read the MSB byte when reading the STATUS register because the POR recovery bit is cleared by the time LSB byte is transferred to data output
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
POR_RECOVERY | TSD | DI_LEVEL | DO_FAULT | CQ_FAULT | UV_V5 | CQ_RX_LEVEL | TEMP_WARN |
RC-0b | R-0b | R-0b | R-0b | R-0b | R-0b | R-0b | R-0b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | POR_RECOVERY | RC | 0b | The bit is set when the device recovers from POR event. The bit is cleared on read
|
6 | TSD | R | 0b | The bit reflects the status of thermal shutdown. The bit is automatically cleared when temperature falls below thermal shutdown threshold
|
5 | DI_LEVEL | R | 0b | This bit is set when DI voltage is logic high and cleared when DI voltage is logic low
Note: This bit is invalid if DI_DIS bit is set to 1.
|
4 | DO_FAULT | R | 0b | The bit reflects the status of DO drive fault
|
3 | CQ_FAULT | R | 0b | This bit reflects the status of the CQ driver fault
|
2 | UV_V5 | R | 0b | This bit reflects the status of the UV condition at the V5IN pin
|
1 | CQ_RX_LEVEL | R | 0b | This bit is set when CQ voltage is logic high and cleared when CQ voltage is logic low.
Note: This bit is invalid if CQ_RX_DIS bit is set to 1.
|
0 | TEMP_WARN | R | 0b | Shows the status of the device temperature above or below the temperature warning threshold
|
DEVICE_CONFIG is shown in Figure 9-3 and described in Table 9-5.
Return to the Summary Table.
Device level configuration registers
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
SOFT_RESET | WU_DIS | DO_CQ_TRACK | IOLINK_5MA_PD | DI_RX_FILTER | CQ_RX_FILTER | T_UVLO | INT_TOG |
R/W-0b | R/W-0b | R/W-0b | R/W-0b | R/W-0b | R/W-0b | R/W-0b | R/W-0b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | SOFT_RESET | R/W | 0b | Resets all registers to their defaults. Note: The status and interrupt bits may still be set depending upon the corresponding fault status.
|
6 | WU_DIS | R/W | 0b |
|
5 | DO_CQ_TRACK | R/W | 0b | If the bit is set, DO and CQ drivers both track together as a function of the TX input and CQ_CONFIG setting.
|
4 | IOLINK_5MA_PD | R/W | 0b | Enables 5mA pull-down current ILLM at both CQ and DO drivers when the respective driver is disabled. Note: CQ_CUR_LIM and DO_CUR_LIM limit needs to be set to 500mA to enable this respectively at CQ and DO.
|
3 | DI_RX_FILTER | R/W | 0b | Turns on or off the RX glitch filter on the DI line
|
2 | CQ_RX_FILTER | R/W | 0b | Turns on or off the RX glitch filter on the CQ line
|
1 | T_UVLO | R/W | 0b | CQ, DO re-enable delay, t(UVLO), after the recovery from LP UVLO
|
0 | INT_TOG | R/W | 0b | Enables interrupt pin toggling
|
CQ_CURLIM is shown in Figure 9-4 and described in Table 9-6.
Return to the Summary Table.
CQ Driver current limit and auto-retry configuration
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CQ_CUR_LIM | CQ_BL_TIME | CQ_RETRY_TIME | CQ_AUTO_RETRY_EN | ||||
R/W-001b | R/W-00b | R/W-00b | R/W-0b | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7-5 | CQ_CUR_LIM | R/W | 001b | Sets current limits
|
4-3 | CQ_BL_TIME | R/W | 00b | Sets current blanking time
|
2-1 | CQ_RETRY_TIME | R/W | 00b | Sets auto re-try time
|
0 | CQ_AUTO_RETRY_EN | R/W | 0b | Enable auto re-try. When enabled the driver gets disabled after blanking time and re-enabled after the retry time.
When auto retry is disabled, the driver stays enabled and shut off only after thermal shutdown
NOTE: It is not recommended to enable auto retry when blanking time is configured to 2b11 (no blanking time) .
|
CQ_CONFIG is shown in Figure 9-5 and described in Table 9-7.
Return to the Summary Table.
CQ configration registers for PNP/NPN modes and weak pull-up/down
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | CQ_WEAK_PD_EN | CQ_WEAK_PU_EN | CQ_TX_MODE | CQ_Q | RX_DIS | ||
R-0b | R/W-0b | R/W-0b | R/W-11b | R/W-0b | R/W-0b | ||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7-6 | RESERVED | R | 0b | Reserved |
5 | CQ_WEAK_PD_EN | R/W | 0b | Configures the weak pull-down on CQ when the driver is disabled
|
4 | CQ_WEAK_PU_EN | R/W | 0b | Configures the weak pull-up on CQ when the driver is disabled
|
3-2 | CQ_TX_MODE | R/W | 11b | Configures the driver transmission mode
|
1 | CQ_Q | R/W | 0b | CQ driver output logic
|
0 | RX_DIS | R/W | 0b | Configures the RX of the CQ line
|
DIO_CONFIG is shown in Figure 9-6 and described in Table 9-8.
Return to the Summary Table.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DI_WEAK_PD_EN | DI_WEAK_PU_EN | DO_WEAK_PD_EN | DO_WEAK_PU_EN | DO_MODE | DO_Q | DI_DIS | |
R/W-0b | R/W-0b | R/W-0b | R/W-0b | R/W-11b | R/W-0b | R/W-0b | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | DI_WEAK_PD_EN | R/W | 0b | Configures the weak pull-down on DI
|
6 | DI_WEAK_PU_EN | R/W | 0b | Configures the weak pull-up on DI
|
5 | DO_WEAK_PD_EN | R/W | 0b | Configures the weak pull-down on DO when the driver is disabled
|
4 | DO_WEAK_PU_EN | R/W | 0b | Configures the weak pull-up on DO when the driver is disabled
|
3-2 | DO_MODE | R/W | 11b | Configures the DO driver transmission mode
|
1 | DO_Q | R/W | 0b | DO driver output logic
|
0 | DI_DIS | R/W | 0b | Configures the DI receiver
|
DO_CURLIM is shown in Figure 9-7 and described in Table 9-9.
Return to the Summary Table.
DO Driver current limit and auto-retry configuration
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DO_CUR_LIM | DO_BL_TIME | DO_RETRY_TIME | DO_RETRY_EN | ||||
R/W-001b | R/W-00b | R/W-00b | R/W-0b | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7-5 | DO_CUR_LIM | R/W | 001b | Sets current limits
|
4-3 | DO_BL_TIME | R/W | 00b | Sets current blanking time. NOTE: It is not recommended to configure 0b11 (no blanking time) when Auto retry is enabled.
|
2-1 | DO_RETRY_TIME | R/W | 00b | Sets auto re-try time
NOTE: It is not recommended to enable auto retry when blanking time is configured to 2b11 (no blanking time) .
|
0 | DO_RETRY_EN | R/W | 0b | Enable auto re-try
|
DEVICE_ID is shown in Figure 9-8 and described in Table 9-10.
Return to the Summary Table.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | Revision ID | ||||||
R-0b | R-001b | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7-3 | RESERVED | R | 0b | Reserved |
2-0 | Revision ID | R | 001b | Indicates the device revision number
|
INT_MASK is shown in Figure 9-9 and described in Table 9-11.
Return to the Summary Table.
Interrupt masking registers. When an interrupt is masked, the interrupt pin does not indicate the interrupt but the interrupt register is still updated to indicate the interrupt.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TSD_INT_MASK | WU_INT_MASK | DO_FAULT_INT_MASK | CQ_FAULT_INT_MASK | LPW_INT_MASK | RESERVED | UV_V5_INT_MASK | TEMP_WARN_MASK |
R/W-0b | R/W-0b | R/W-0b | R/W-0b | R/W-0b | R-0b | R/W-0b | R/W-0b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7 | TSD_INT_MASK | R/W | 0b |
|
6 | WU_INT_MASK | R/W | 0b |
|
5 | DO_FAULT_INT_MASK | R/W | 0b |
|
4 | CQ_FAULT_INT_MASK | R/W | 0b |
|
3 | LPW_INT_MASK | R/W | 0b |
|
2 | RESERVED | R | 0b | Reserved |
1 | UV_V5_INT_MASK | R/W | 0b |
|
0 | TEMP_WARN_MASK | R/W | 0b |
|
RESET_CONFIG is shown in Figure 9-10 and described in Table 9-12.
Return to the Summary Table.
Configures the behavior of the RESET pin
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESET_SEL | RESET_POL | RESERVED | |||||
R/W-00b | R-0b | R-0b | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7-6 | RESET_SEL | R/W | 00b | Selects which events will activate the reset output
|
5 | RESET_POL | R | 0b | Selects between active low and active high configuration for reset output
|
4-0 | RESERVED | R | 0b | Reserved |