SLVUCZ6 November   2024 TLC69627-Q1 , TLC69628-Q1 , TLC69629-Q1 , TLC69637-Q1 , TLC69638-Q1 , TLC69639-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Software Setup
  6. 3Sample Code Structure
    1. 3.1 Design Parameters
    2. 3.2 Flow Diagram
    3. 3.3 Basic System Setup
    4. 3.4 Advanced System Setup
    5. 3.5 Diagnostics
    6. 3.6 Demo

Advanced System Setup

To describe the advanced system setup, an example is used that is depicted in Figure 3-2.

 Advanced System Example With 2
                    Daisy Chains Figure 3-2 Advanced System Example With 2 Daisy Chains

The sample code supports up to two daisy chains. The number of actual used chains is defined by macro BUS_NUM in file system_info.h.

// Total buses supported
#define BUS_NUM           2

Each chain can have a different number of cascaded devices. Therefore, besides macro CASCADED_UNITS_BUS1 that was described in Section 3.3, there is also macro CASCADED_UNITS_BUS2 in file system_info.h. In the example, chain 1 has two cascaded devices and chain 2 has three cascaded devices.

#define CASCADED_UNITS_BUS1   2
#define CASCADED_UNITS_BUS2   3