• 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 » Problems with TLC5948A
Share
LED Drivers/LCD Bias
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS

Problems with TLC5948A

Problems with TLC5948A

This question is not answered
Richard Green
Posted by Richard Green
on Jul 26 2012 10:45 AM
Prodigy40 points

I am trying to use the TLC5948A LED driver and it does not seem to operate per the data sheet.  Is there anybody who has successfully used this part and can offer any help.  I have tried to get help from technical support, but have been unsuccessful in speaking with anyone familiar with this part.  The main issue that I have can be summarized with the following code example:

   // Bits 127 - 112 (Function control, global brightness and Dot Correction)
//   g_socpaled_cntrldata.out7.all = 0b0000000000000000;   // No bits set, no display
     g_socpaled_cntrldata.out7.all = 0b0000000100000000;   // Just this bit set (shows as blank) display repeats
//   g_socpaled_cntrldata.out7.all = 0b0000001000000000;   // Just this bit set (shows as bc6) display on, but does not repeat
//   g_socpaled_cntrldata.out7.all = 0b0000010000000000;   // Just this bit set (shows as bc5), no display 
//   g_socpaled_cntrldata.out7.all = 0b0000000010000000;   // Just this bit set (shows as repeat), no display 
//   g_socpaled_cntrldata.out7.all = 0b0000000001000000;   // Just this bit set (shows as tgmrst), no display 
//   g_socpaled_cntrldata.out7.all = 0b0000000000100000;   // Just this bit set (shows as espwm), no display 

 

Any help offered would be appreciated.

 Rich

constant current
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Kiyoshi Narisawa
    Posted by Kiyoshi Narisawa
    on Jul 27 2012 00:59 AM
    Intellectual980 points

    Hello Richard-san,

    I'm Narisawa and in charge of LED driver.

    I attached TLC5948A sample code which is C base and that flow chart too.

    7041.TLC5948A_Sample_code.zip

    Could you please try to this?

    If you need any, please let me know.

    Thanks and best regards

    K.Narisawa

     

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Richard Green
    Posted by Richard Green
    on Jul 27 2012 07:43 AM
    Prodigy40 points

    K. Narisawa,

    Thank you for your quick response.  I will look at the information very soon.  The register map and sample code should be very helpful.

    I see that you used a PIC processor for the example, can you tell me which processor and compiler you used to test the code?

    If I have more questions (or resolve my issue) I will let you know on this "thread".

    Best regards,

    Richard

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kiyoshi Narisawa
    Posted by Kiyoshi Narisawa
    on Jul 31 2012 03:06 AM
    Intellectual980 points

    Richard-san,

    I'm sorry my late response.

    Processor is PIC16F690 and compiler is HI-TECH,but I'd like to push MSP430 to you...

    4011.TLC5948A_Function.pdf

    I attached a file which some functions are explained.Please refere them to make program.

    Best Regards

    K.Narisawa

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Richard Green
    Posted by Richard Green
    on Aug 02 2012 12:52 PM
    Prodigy40 points

    K. Narisawa,

    I received the response from you regarding the PIC processor and compiler used in your code and appreciate the information.  It would also help a great deal if I could see your schematic.

     I will look at the pdf file you sent and but in the interim there is some additional information:

     1) I understand your code correctly you are using an output from the Microcontroller to generate the GSCLK (also called BLANK in the software) signal.  It also appears that you are halting the GSCLK when loading data or control information.  Is this necessary?  I am using a 33 MHz Oscillator on my board for GSCLK and not stopping the GSCLK when loading data.

     2) I have 3 of the TCL5984A’s on my board in a “daisy-chained” arraignment. I am using the same output routine to send control and grayscale data.  I can send zero data to all the grayscale latches except to the least significant bit of the last latch I set to a one.  When I do this I can see all the outputs are 100% off on all three chips except the last output of the first chip has a very small signal to the OUT0 pin.  To me this proves that I am able to send bits 0 thru 256 three times with a bit getting missed.  Why would using the same routine cause bit issues with the control data? 

    My only explanation at this point is that your system runs significantly slower than the one I am using.  I believe that my system (software and hardware) conforms to the data sheet specifications, but does not operate as the data sheet indicates.

    Any help anyone could offer would be appreciated.

    Thank you,

    Richard

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Richard Green
    Posted by Richard Green
    on Aug 02 2012 15:50 PM
    Prodigy40 points

    K. Narisawa,

    I now know what the problem is!  It was a software error (of course) and the chip works exactly per the data sheet.  The error was in the way I had set up the control structure.

    I thank you for your help!  Your code and support was great!

    Richard

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kiyoshi Narisawa
    Posted by Kiyoshi Narisawa
    on Aug 06 2012 10:51 AM
    Intellectual980 points

    Hello Richard-san,

    If you need any help, please let me know any time.

    I'll support you until you succeed.

    Best Regards

    K.Narisawa 

    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