SCPA075 October 2024 TPLD1201 , TPLD1201-Q1 , TPLD1202 , TPLD1202-Q1 , TPLD801 , TPLD801-Q1
TI Programmable Logic Devices (TPLD) can be used to drive indicator light-emitting diodes (LED), and can be programmed to provide simple or complex LED control in a single package. The application pictured in Figure 1 uses the internal oscillator, counter, and DFF modules included in the TPLD1201 to drive an LED. The counter and DFF divide down the oscillator frequency so that the LED blinks at a frequency detectable by the human eye.
The 25kHz oscillator is given a pre-division of 8, outputting a 3125Hz square wave. The counter module CLK input is sourced from the 25kHz oscillator output further divided by 4, such that the input CLK frequency to the counter becomes 781.25Hz. The counter data is set to 255 (meaning the counter outputs a pulse after 255 rising edges are provided on the CLK input), causing the counter to output a pulse at a frequency of 3Hz. This 3Hz pulse output is fed into a (DFF) with the inverted output option enabled, allowing the DFF to further divide the frequency by half. This 1.5Hz output pulse is then connected to a pin configured to be a push-pull digital output with 2 × drive strength. This pin can be used to drive an LED with a maximum drive strength of 17mA without damaging the device.
Red | Orange | Yellow | Green | Blue | White |
---|---|---|---|---|---|
1.8V | 2.0V | 2.2V | 3.5V | 3.6V | 4.0V |
E2E™ is a trademark of Texas Instruments.
All trademarks are the property of their respective owners.
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS” AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2024, Texas Instruments Incorporated