• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Power Management » LED Drivers/LCD Bias » LED Drivers/LCD Bias Forum » TLC5940 with only 3 micro pins?
Share
LED Drivers/LCD Bias
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS

TLC5940 with only 3 micro pins?

TLC5940 with only 3 micro pins?

This question is answered
Logan Builders
Posted by Logan Builders
on Dec 13 2010 17:34 PM
Prodigy30 points

Is it possible to control the TLC5940 with only 3 mpu pins?

I can probably get along with GS without the DC.

 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Brigitte
    Posted by Brigitte
    on Dec 14 2010 09:20 AM
    Genius14085 points

    Hello Logan,

    To be honest, I never tested it, but I do not think so. You need SIN and SCLK for data to be clocked into the IC. You need GSCLK to turn on and off the outputs and you need XLAT to latch the new data into the GS registers. In addition, I do not think that this will work without having the BLANK signal.

    Maybe you will be able to find a part in our LED driver portfolio which still matches your requirements and has another interface. We have 2 16 channel drivers that are using I2C, for example. Please have a look onto the LED drivers web page

    http://focus.ti.com/paramsearch/docs/parametricsearch.tsp?family=analog&familyId=480&uiTemplateId=NODE_STRY_PGE_T,

    Best regards,
    Brigitte

    TLC5940 3 GPIO
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Logan Builders
    Posted by Logan Builders
    on Dec 14 2010 11:55 AM
    Prodigy30 points
    Hi Brigitte
    
    I already have it wired up to 4 micro pins as follows
    
    Micro connected to SIN, SCLK, XLAT and GSCLK.
    
    BLANK wired low.  VPRG wired low. DCPRG wired  high. IREF wired though 7.812k to ground.
    
    My GSCLK runs at 32khz.
    
    I initialize by shifting 193 bits in to overflow the input shift register and then latching as 
    described on page 17..
    
    Then I shift in 192 GS bits every 125 ms to set the GS.
    But so far, no led output?  Should this work?
    Thanks for the LED driver web page link.  It looks like the TLC9571 is just what I need 
    since it has 16 bit GS, more than enough output channels, and only 2 micro pins required.
    However, it is a new part that is not stocked anywhere.  If I put this in my new design, 
    how long before I can get parts from distributors?
    Thanks,
    Logan 
        
    
    
    
    
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brigitte
    Posted by Brigitte
    on Dec 15 2010 11:09 AM
    Genius14085 points

    Hello Logan,

    In the datasheet on page 19 you can find a description of the grayscale PWM operation. The following sentence is the first one: "The grayscale PWM cycle starts with the falling edge of BLANK." A falling edge on BLANK starts the GS cycle, therefore you should not pull BLANK completely to GND. This means you need another output of the microcontroller, sorry.

    Please ask your distributor about the time when you can get TLC5971.

    Best regards,
    Brigitte

    TLC5940 TLC5971 3 pin driving
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Logan Builders
    Posted by Logan Builders
    on Dec 17 2010 12:28 PM
    Prodigy30 points

    Hi Brigitte

    Can I connect the VPRG and BLANK pins and drive them from 1 of my micro pins?

    I would like to use DC but I am low on micro pins.

    Logan

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Michael Day
    Posted by Michael Day
    on Dec 17 2010 13:09 PM
    Verified Answer
    Verified by Brigitte
    Mastermind36070 points

    Yes, you can connect VPRG and BLANK together.  Please note that you can not shift in any grayscale data into the IC when VPRG and BLANK are pulled high because the TLC5940 will put the data into the Dot Correction Register.  Also note that you must program the dot correction register after power up and prior to displaying data because all internal registers are undefined after power on.

    TLC5940 VPRG BLANK
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use