SCPS290A April   2024  – June 2024 TCAL6416R

PRODUCTION DATA  

  1.   1
  2. Features
  3. Applications
  4. Description
  5. Pin Configuration and Functions
  6. Specifications
    1. 5.1 Absolute Maximum Ratings
    2. 5.2 ESD Ratings
    3. 5.3 Recommended Operating Conditions
    4. 5.4 Thermal Information
    5. 5.5 Electrical Characteristics
    6. 5.6 Timing Requirements
    7. 5.7 I2C Bus Timing Requirements
    8. 5.8 Switching Characteristics
    9. 5.9 Typical Characteristics
  7. Parameter Measurement Information
  8. Detailed Description
    1. 7.1 Overview
    2. 7.2 Functional Block Diagrams
    3. 7.3 Feature Description
      1. 7.3.1 Voltage Translation
      2. 7.3.2 I/O Port
      3. 7.3.3 Adjustable Output Drive Strength
      4. 7.3.4 Interrupt Output (INT)
      5. 7.3.5 Reset Input (RESET)
      6. 7.3.6 Software Reset Call
    4. 7.4 Device Functional Modes
      1. 7.4.1 Power-On Reset
    5. 7.5 Programming
      1. 7.5.1 I2C Interface
    6. 7.6 Register Maps
      1. 7.6.1 Device Address
      2. 7.6.2 Control Register and Command Byte
      3. 7.6.3 Register Descriptions
      4. 7.6.4 Bus Transactions
        1. 7.6.4.1 Writes
        2. 7.6.4.2 Reads
  9. Application and Implementation
    1. 8.1 Application Information
    2. 8.2 Typical Application
      1. 8.2.1 Design Requirements
      2. 8.2.2 Detailed Design Procedure
        1. 8.2.2.1 Minimizing ICC When I/Os Control LEDs
      3. 8.2.3 Application Curves
    3. 8.3 Power Supply Recommendations
      1. 8.3.1 Power-On Reset Requirements
    4. 8.4 Layout
      1. 8.4.1 Layout Guidelines
      2. 8.4.2 Layout Example
  10. Device and Documentation Support
    1. 9.1 Receiving Notification of Documentation Updates
    2. 9.2 Support Resources
    3. 9.3 Trademarks
    4. 9.4 Electrostatic Discharge Caution
    5. 9.5 Glossary
  11. 10Revision History
  12. 11Mechanical, Packaging, and Orderable Information

パッケージ・オプション

デバイスごとのパッケージ図は、PDF版データシートをご参照ください。

メカニカル・データ(パッケージ|ピン)
  • DTO|24
サーマルパッド・メカニカル・データ
発注情報

Register Descriptions

The TCAL6416R has sticky registers that retain the last values when RESET is asserted low. The registers only revert back to power up default when the device is power cycled, or a software reset call is issued.

The input port registers (registers 0 and 1) reflect the incoming logic levels of the pins, regardless of whether Configuration register defines the pin as an input or output. The input port registers are read only. Writes to these registers have no effect. The externally applied logic level determines the default value (X). Before a read operation, a write transmission is sent with the command byte to indicate to the I2C device that the Input Port register is accessed next.

Table 7-5 Registers 0 and 1 (Input Port Registers)
BITI-07I-06I-05I-04I-03I-02I-01I-00
DEFAULTXXXXXXXX
BITI-17I-16I-15I-14I-13I-12I-11I-10
DEFAULTXXXXXXXX

The output port registers (registers 2 and 3) shows the outgoing logic levels of the pins defined as outputs by the Configuration register. Bit values in these registers have no effect on pins defined as inputs. In turn, reads from these registers reflect the value that is in the flip-flop controlling the output selection, not the actual pin value.

Table 7-6 Registers 2 and 3 (Output Port Registers)
BITO-07O-06O-05O-04O-03O-02O-01O-00
DEFAULT11111111
BITO-17O-16O-15O-14O-13O-12O-11O-10
DEFAULT11111111

The polarity inversion registers (register 4 and 5) allow polarity inversion of pins defined as inputs by the Configuration register. If a bit in these registers is set (written with 1), then the corresponding port pin polarity is inverted. If a bit in these registers is cleared (written with a 0), then the corresponding port pin's original polarity is retained.

Table 7-7 Registers 4 and 5 (Polarity Inversion Registers)
BITP-07P-06P-05P-04P-03P-02P-01P-00
DEFAULT00000000
BITP-17P-16P-15P-14P-13P-12P-11P-10
DEFAULT00000000

The configuration registers (registers 6 and 7) configure the direction of the I/O pins. If a bit in these registers is set to 1, then the corresponding port pin is enabled as an input with a high-impedance output driver. If a bit in these registers is cleared to 0, then the corresponding port pin is enabled as an output. Changing a port from an input to an output configuration will cause any interrupt associated with that port to be cleared.

Table 7-8 Registers 6 and 7 (Configuration Registers)
BITC-07C-06C-05C-04C-03C-02C-01C-00
DEFAULT1

1

111111
BITC-17C-16C-15C-14C-13C-12C-11C-10
DEFAULT11111111

The output drive strength registers control the output drive level of the P port GPIO buffers. Each GPIO can be configured independently to the desired output current level by two register control bits. For example, register 0x41h (bits 7 and 6) controls Port P07, register 0x41h (bits 5 and 4) controls port P06, and so forth. The output drive level of the GPIO is programmed 00b = 0.25x drive strength, 01b = 0.5x drive strength, 10b = 0.75x drive strength, or 11b = 1x for full drive strength capability. For more details, see \.

Table 7-9 Registers 0x40h, 0x41h, 0x42h, and 0x43h (Output Drive Strength Registers)
BIT CC-03 CC-03 CC-02 CC-02 CC-01 CC-01 CC-00 CC-00
DEFAULT 1 1 1 1 1 1 1 1
BIT CC-07 CC-07 CC-06 CC-06 CC-05 CC-05 CC-04 CC-04
DEFAULT 1 1 1 1 1 1 1 1
BIT CC-13 CC-13 CC-12 CC-12 CC-11 CC-11 CC-10 CC-10
DEFAULT 1 1 1 1 1 1 1 1
BIT CC-17 CC-17 CC-16 CC-16 CC-15 CC-15 CC-14 CC-14
DEFAULT 1 1 1 1 1 1 1 1

The input latch registers enable and disable the input latch feature of the P port GPIO pins. These registers are effective only when the pin is configured as an input port. When an input latch register bit is 0, the corresponding input pin state is not latched. A state change in the corresponding input pin generates an interrupt. A read of the input register clears the interrupt. If the input goes back to its initial logic state before the input port register is read, then the interrupt is cleared.

When an input latch register bit is set to 1, the corresponding input pin state is latched. A change of state of the input generates an interrupt and the input logic value is loaded into the corresponding bit of the input port register (registers 0 and 1). A read of the input port register clears the interrupt. However, if the input pin returns to its initial logic state before the input port register is read, then the interrupt is not cleared and the corresponding bit of the input port register keeps the logic value that initiated the interrupt.

For example, if the P04 input was at a logic 0 state and then transitions to a logic 1 state followed by returning to the logic 0 state, then the input port 0 register captures this change and an interrupt is generated (if unmasked). When the read is performed on the input port 0 register, the interrupt is cleared, assuming there were no additional inputs that have changed, and bit 4 of the input port 0 register reads '1'. The next read of the input port register bit 4 should now read '0'.

An interrupt remains active when a non-latched input simultaneously switches state with a latched input and then returns to its original state. A read of the input register reflects only the change of state of the latched input and also clears the interrupt. If the input latch register changes from a latched to a non-latched configuration, the interrupt is cleared if the input logic value returns to its original state.

If the input pin is changed from a latched to a non-latched input, then a read from the input port register reflects the current port logic level. If the input pin is changed from a non-latched to a latched input, then the read from the input register reflects the latched logic level.

Table 7-10 Registers 0x44h and 0x45h (Input Latch Registers)
BITL-07L-06L-05L-04L-03L-02L-01L-00
DEFAULT00000000
BITL-17L-16L-15L-14L-13L-12L-11L-10
DEFAULT00000000

The pull-up/pull-down enable registers allow the user to enable or disable pull-up/pull-down resistors on the GPIO pins. Setting the bit to logic 1 enables the selection of pull-up/pull-down resistors. Setting the bit to logic 0 disconnects the pull-up/pull-down resistors from the GPIO pins. The resistors are disabled when the GPIO pins are configured as outputs. Use the pull-up/pull-down selection registers to select either a pull-up or pull-down resistor.

Table 7-11 Registers 0x46h and 0x47h (Pull-Up/Pull-Down Enable Registers)
BITPE-07PE-06PE-05PE-04PE-03PE-02PE-01PE-00
DEFAULT00000000
BITPE-17PE-16PE-15PE-14PE-13PE-12PE-11PE-10
DEFAULT00000000

The pull-up/pull-down selection registers allow the user to configure each GPIO to have a pull-up or pull-down resistor by programming the respective register bit. Setting a bit to a logic 1 selects a 10kΩ pull-up resistor for that GPIO pin. Setting a bit to logic 0 selects a 10kΩ pull-down resistor for that GPIO pin. If the pull-up/pull-down feature is disabled through registers 0x46h and 0x47h, then writing to these registers will have no effect on the GPIO pin.

Table 7-12 Registers 0x48h and 0x49h (Pull-Up/Pull-Down Selection Registers)
BITPUD-07PUD-06PUD-05PUD-04PUD-03PUD-02PUD-01PUD-00
DEFAULT11111111
BITPUD-17PUD-16PUD-15PUD-14PUD-13PUD-12PUD-11PUD-10
DEFAULT11111111

The interrupt mask registers are defaulted to logic 1 upon power-on, disabling interrupts during system start-up. Interrupts may be enabled by setting corresponding mask bits to logic 0.

If an input changes state and the corresponding bit in the interrupt mask register is set to 1, the interrupt is masked and the interrupt pin is not asserted. If the corresponding bit in the interrupt mask register is set to 0, the interrupt pin is asserted.

When an input changes state and the resulting interrupt is masked, setting the interrupt mask register bit to 0 causes the interrupt pin to be asserted. If the interrupt mask bit of an input that is already currently the source of an interrupt is set to 1, the interrupt pin is de-asserted.

Table 7-13 Registers 0x4Ah and 0x4Bh (Interrupt Mask Registers)
BITM-07M-06M-05M-04M-03M-02M-01M-00
DEFAULT11111111
BITM-17M-16M-15M-14M-13M-12M-11M-10
DEFAULT11111111

The interrupt status registers are read only registers used to identify the source of an interrupt. When read, a logic 1 indicates that the corresponding input pin was the source of the interrupt. A logic 0 indicates that the input pin is not the source of an interrupt. When a corresponding bit in the interrupt mask register is set to 1 (masked), the interrupt status bit will return to logic 0.

Table 7-14 Registers 0x4Ch and 0x4Dh (Interrupt Status Registers)
BIT S-07 S-06 S-05 S-04 S-03 S-02 S-01 S-00
DEFAULT 0 0 0 0 0 0 0 0
BIT S-17 S-16 S-15 S-14 S-13 S-12 S-11 S-10
DEFAULT 0 0 0 0 0 0 0 0

The output port configuration register selects port-wise push-pull or open-drain I/O stage. A logic 0 configures the I/O as push-pull (Q1 and Q2 are active. A logic 1 configures the I/O as open-drain (Q1 is disabled, Q2 is active) and the recommended command sequence is to program this register (0x4Fh) before the Configuration register (06 and 07) sets the port pins as outputs.

ODEN0 configures Port 0X and ODEN1 configures Port 1X.

Table 7-15 Register 0x4Fh (Output Port Configuration Register)
BITReservedODEN-1ODEN-0
DEFAULT00000000