• 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 » Interface » High Speed Interface » High Speed Interface Forum » TLK2711A comma detection
Share
High Speed Interface
  • Forum
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS
Check out
Analog Wire blog
  • $core_v2_blog.Current.Name

    Cable equalization 101 – Automating your design

    Posted 2 days ago
    by Hooman Hashemi
    Judging by the number of views on a post related to numerical...
  • $core_v2_blog.Current.Name

    RS-485 - Who says you can't teach an old dog new tricks?

    Posted 6 days ago
    by Neel Seshan
    Would you agree that RS-485 has turned out to be one of the most...
  • $core_v2_blog.Current.Name

    Filter for thought

    Posted 7 days ago
    by Soufiane Bendaoud
    Have you ever wondered how engineers designed active filters...

TLK2711A comma detection

TLK2711A comma detection

This question is not answered
1243558
Posted by 1243558
on Nov 28 2011 16:36 PM
Prodigy80 points

The TLK2711A datasheet states that the device's receiver will only achieve byte alignment on the 0011111 comma.  Is this intended to represent the first seven bits of the 10 bit line codes for K codes K28.1, K28.5, and K28.7, meaning that byte alignment will be achieved if any of those three K codes are used?

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Atul Patel
    Posted by Atul Patel
    on Nov 28 2011 17:02 PM
    Expert7440 points

    Jason,

     

    Yes 0011111 (comma) associated with K28.1, K28.5, and K28.7 K codes are used to achieve byte alignment provided that they are of the correct running disparity.  The TLK2711A keys off of negative running disparity versions of the codes. 

     

    Thanks,

     

    Atul Patel

    Texas Instruments

    comma character TLK2711A
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • 1243558
    Posted by 1243558
    on Dec 01 2011 16:53 PM
    Prodigy80 points

    When the TLK2711 syncs to a comma code, assuming that we send the receiver a K28.5 followed by a D5.6 (as suggested in the TLK1501 datasheet) , does the 16-bit output data always have the K code on the MS byte and the D code in the LS byte?  Or is it possible to have the K-code show up in the LS byte, and the D code in the MS byte of the next output word?  In other words, is the 16-bit output data always synced to the full (20 bit) width of the idle sequence?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • 1243558
    Posted by 1243558
    on Dec 01 2011 16:55 PM
    Prodigy80 points

    Also, are there any HDL (VHDL or Verilog) models available which demonstrate the transmit portion of the TLK2711?  I'd like to be able to simulate the data patterns I need to generate to the receiver to make sure my transmitter is generating correct data patterns.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Atul Patel
    Posted by Atul Patel
    on Dec 02 2011 13:47 PM
    Expert7440 points

    Jason,

     

    Once the byte alignment is achieved, the K-code and D-Code byte locations will remain consistent. 

     

    thanks,

     

    Atul

    TLK2711
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Atul Patel
    Posted by Atul Patel
    on Dec 02 2011 13:51 PM
    Expert7440 points
    tlk2711_modelsim_12032010.tar

    Jason,

     

    I have attached the model we have for the TLK2711. Please note  the model is for Modelsim environment. This is the only model we currently have for the device.

     

    Regards,

     

    Atul Patel

    Texas Instruments

    TLK2711 Model
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • 1243558
    Posted by 1243558
    on Dec 02 2011 17:55 PM
    Prodigy80 points

    Thanks for the model.

    Regarding the byte alignment, I'm not worried about it shifting with respect to the byte period once a sync has been established, but rather what the ordering will be as a consequence of the sync being established.  In other words, where in the 16-bit field will the K-code appear, and where in the 16-bit field will the data code appear?

     

    I see two possibilities for the data ordering. 

    Possibility #1- sync appears within one 16 bit output word of the TLK2711A:

    TLK2711 output bus ->  [15       8] [7        0]

    Word 0 data ->                 [  K28.5 ] [  D5.6  ]

     

    Possibility #2 - sync appears across two 16-bit output words of the TLK2711A:

    TLK2711 output bus ->  [15       8] [7        0]

    Word 0 data ->                 [  xxxxxx  ] [ K28.5 ]

    Word 1 data ->                 [  D5.6   ] [  xxxxx  ]

     

    If either ordering can happen, then I'll need to worry about making sure I can deal with subsequent data that is unaligned to the 16-bit output words of the TLK2711A.  If, on the other hand, syncs are always presented as in possibility 1, then I can count on having aligned 16-bit output data from the TLK2711A.

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Max Robertson
    Posted by Max Robertson
    on Dec 05 2011 09:51 AM
    Expert5975 points

    Hi Jason,

    The K-codes containing RD- commas are always mapped to the lower (LS) byte of the parallel output bus.  This means that the second possibility you illustrated is the only one that should occur, and receiving additional K28.5 codes will not throw off the 16-bit word alignment.

    I hope this helps.  Let me know if you have any additional questions.

    Best regards,
    Max Robertson
    Analog Applications Engineer
    Texas Instruments
    m-robertson@ti.com

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Roberto Monreal
    Posted by Roberto Monreal
    on Aug 20 2012 17:01 PM
    Expert0 points

    Hi Atul,

    I was very happy to find the TLK2711 verilog model you posted on the forum, but as I'm implementing in a simulation, I noticed that device signals PRE, TKLSB, TKMSB (inputs) and RKMS and RKLSB (outptus) are not in the module. On the other hand, the verilog module contians inputs TX_EN, TX_ER and RREF, and outputs RX_DV and RX_ER that are not listed in the device. Can you ellaborate on any significance this has when using the model?


    Thanks in advance

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Atul Patel
    Posted by Atul Patel
    on Aug 21 2012 14:40 PM
    Expert7440 points

    Roberto,

    The model for the TLK2711A was developed from the parent device model (TLK2501) and therefore it looks like the TLK2711A model retained some of the pin naming conventions used in the TLK2501.  For the sake of the TLK2711A model, please use the following reassignments:

    PRE = RREF

    TKLSB = TX_ER

    TKMSB = TX_EN

    RKMSB = RX_DV

    RKLSB  =  RX_ER

     

    Thanks ,

     

    Atul Patel

    Texas Instruments

    TLK2711A
    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