This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] Configurable Logic Block (CLB) - How do I get started?

Other Parts Discussed in Thread: C2000WARE

Question: How do I get started using the C2000 Configurable Logic Block?

    • Software examples in C2000Ware along with the CLB Tool User’s Guide
      • CLB Tool User’s guide: http://www.ti.com/lit/pdf/SPRUIR8 
      • Note: the numbering of the examples is confusing.  The guide mentions this but it is easy to miss.
        • Basic examples are 7 – 15.  Start with these. 
        • More involved examples are 1-6.
      • These C2000Ware examples cover specific concepts to help you understand integrating the CLB into your application:
        • Example 7 – Has a companion application note -  Designing With the C2000Tm Configurable Logic Block http://www.ti.com/lit/pdf/SPRACL3
        • Example 8 – routing to and from the CLB and GPIOs
        • Example 12 – Shows how the CLB can override a peripheral output (in this case PWM) with another functionality
        • Example 13 – Shows the push/pull FIFO buffer for the HLC.  This is how the C28x and HLC can share information.
        • Example 1 – Shows how PWM signals can be routed through the CLB for modification
      • How to Migrate Custom Logic From an FPGA/CPLD to C2000Tm Microcontrollers http://www.ti.com/lit/spraco2  Even when not moving from FPGA there is some very good content here.  It discusses some of the SW examples in detail. I highly recommend reading through this even if no FPGA porting is involved.
      • In the PTO library – The Abs2Qep example – The CLB design is documented in detail so it is good example to look at.  It includes the K-maps for the logic. https://www.ti.com/lit/sprac77