SCPA070 june   2023 TCAL6408 , TCAL6416 , TCAL9538 , TCAL9539 , TCAL9539-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. Introduction
  5. Programmable Output Drive Strength
  6. Programmable Pull-Up or Pull-Down Resistors
  7. Latchable Inputs
  8. Maskable Interrupt
  9. Interrupt Status Register
  10. Programmable Open-Drain and Push-Pull Outputs
  11. Benefits of Using TCAL I/O Expanders Versus TCA I/O Expanders
  12. Summary
  13. 10References

Programmable Output Drive Strength

Agile I/O’s offer programmable output drive strength that allows the I/O pad to be configured to one of four possible current levels. By programming the bits in the Output Drive Strength Registers, the user can adjust the number of transistor pairs that drive the I/O pad. Table 2-1 is from the TCAL6416 data sheet and describes registers 40, 41, 42, and 43 (Output Drive Strength Registers).

Table 2-1 Registers 40, 41, 42, and 43 (Output Drive Strength Registers)
BITCC-03CC-03CC-02CC-02CC-01CC-01CC-00CC-00
Default11111111
BITCC-07CC-07CC-06CC-06CC-05CC-05CC-04CC-04
Default11111111
BITCC-13CC-13CC-12CC-12CC-11CC-11CC-10CC-10
Default11111111
BITCC-17CC-17CC-16CC-16CC-15CC-15CC-14CC-14
Default11111111

Each P-port is assigned exactly 2 bits to configure the drive strength of the output driver. For example, P07 (which is the port 0 GPIO 7) output is configured by two bits located in register 41 called CC-07. Two configurable bits presents four different output current level options which are defined in Table 2-2. The default drive strength for an output pin is 1.00x (CC = 11).

Table 2-2 Two-Bit Combination for Adjusting Output Drive Strength on P-Port
CC – XX Output Strength
00 0.25x
01 0.5x
10 0.75x
11 1.00x

The configurable bits for CC-XX determines the number of transistor pairs that are ON at a given time that feed the I/O pad. Figure 2-1 shows the PMOS/NMOS_EN devices that control the push-pull driving pairs that output on P00 – P07 and P10 – P17. Figure 2-1 is a simplified output stage of the p-port.

GUID-20230601-SS0I-R1MZ-9FDW-7BXFLQMJDNNB-low.svgFigure 2-1 Simplified Output Stage

Reducing output drive strength has a few benefits:

  • Weaker outputs slow down the slew rate reducing ringing effects.
  • Different pins can have different loading conditions, some can require using the full drive strength while others need weaker drive strength. Thus, each pin can be configured separately where some need the original full drive strength configuration.
  • Reduces overall power consumption.