• Menu
  • Product
  • Email
  • PDF
  • Order now
  • Increase the Number of Inputs on a Microcontroller

    • SCLA036 October   2020 SN74HC165

       

  • CONTENTS
  • SEARCH
  • Increase the Number of Inputs on a Microcontroller
  1.   1
  2.   Design Considerations
  3.   Recommended Parts
  4. IMPORTANT NOTICE
search No matches found.
  • Full reading width
    • Full reading width
    • Comfortable reading width
    • Expanded reading width
  • Card for each section
  • Card with all content

 

APPLICATION NOTE

Increase the Number of Inputs on a Microcontroller

Microcontrollers often have a very limited number of GPIO pins. Parallel-in serial-out shift registers can be used to read in a large number of input signals while only utilizing a few GPIO pins from the controller.

GUID-61BDA24B-AFDC-4123-A1D1-51FF51B9E0ED-low.gif

See more about this use case in the Logic Minute video Increase the Number of Inputs on a Microcontroller.

Design Considerations

  • The clock input controls the rate at which data is read out of the shift register
  • The clock (Fclk) must be faster than the parallel input data (BRin) based on the number of input bits (N) by this equation: Fclk (MHz) = BRin (Mbps) × N
  • For more inputs, shift registers can be daisy-chained together
  • [FAQ] What is the default output of a latched device? (Flip-Flop, latch, register)
  • [FAQ] Where do I find maximum power dissipation for a device?
  • Ask a question on our Engineer-to-Engineer (E2E™) forum

 

Texas Instruments

© Copyright 1995-2025 Texas Instruments Incorporated. All rights reserved.
Submit documentation feedback | IMPORTANT NOTICE | Trademarks | Privacy policy | Cookie policy | Terms of use | Terms of sale