ZHDA202 June 2026 TAC5212
为了简化电路板布线和 TDM 总线时序要求,或避免高 DOUT 线路负载电容,TAC5x1x 器件提供菊花链模式,将一个器件的数据输出 (DOUT) 作为输入路由到另一器件的 GPIO1、GPIO2 或 GPI1 引脚。每个器件在内部将数据合并到 TDM 总线的相应时隙中,并将其传递给下一个器件。与共享 TDM 不同、此配置仅可用于 ADC 路径、因为模拟 DAC 输出不能以菊花链形式连接。
图 3-3 TAC5x1x 菊花链 TDM 连接图按表 3-4 所示设置 ASI_CFG0 寄存器的 DAISY_EN 位字段可将器件配置为菊花链配置。DAISY_IN_SEL 位字段用于选择要用作菊花链输入的 GPIO 引脚。所选的 GPIO 方向也必须配置为输入。配置为菊花链模式后,只提供一个 ASI。
| 位 | 字段 | 类型 | 复位 | 说明 |
|---|---|---|---|---|
| 7 | PASI_DIS | R/W | 0b | 禁用或启用主要 ASI (PASI)。 0d = 已启用主要 ASI 1d = 已禁用主要 ASI |
| 6 | SASI_DIS | R/w | 1b | 禁用或启用辅助 ASI (SASI)。 0d = 已启用辅助 ASI 1d = 已禁用辅助 ASI |
| 5 | SASI_CFG_GANG | R/W | 0b | 辅助 ASI 的所有配置都与主要 ASI 成组。 0d = 辅助 ASI 具有独立的配置 1d = 辅助 ASI 配置与主要 ASI 相同 |
| 4 | DAISY_EN[1:0] | R/W | 00b | 菊花链功能启用(仅 1 个 ASI,提供 1 个 DOUT 和 DIN) 0d = 已禁用菊花链 1d = 已启用 PASI 菊花链(辅助 ASI 不可用) 2d = 已启用 SASI 菊花链(主要 ASI 不可用) 3d = 保留;不使用 |
| 3-0 | DAISY_IN_SEL[2:0] | R/W | 000b | 菊花输入选择配置。 0d = 已禁用菊花输入 1d = GPIO1 2d = GPIO2 3d = GPI1 4d = 保留 5d = DIN 6d 至 7d = 保留 |
以图 3-3 为例,以下 I2C 脚本将 U1、U2 和 U3 配置为菊花链,通过链的 GPIO1 从 DOUT 中的下一个器件接收输入。注意,每个器件的通道都映射到时隙 0-3。然而,在 U1 的 DOUT 中,0-3 时隙用于 U1 通道,4-7 时隙用于 U2 通道,8-11 时隙用于 U3 通道,12-15 时隙用于 U4 通道。注意,菊花链中的第一个器件 (U4) 不需要配置为菊花链模式,因为它不从其他器件获取 GPIO1 上的输入。
w A0 1E 20 # Set U1 Ch1 mapped to slot 0 of DOUT
w A0 1F 21 # Set U1 Ch2 mapped to slot 1 of DOUT
w A0 20 22 # Set U1 Ch3 mapped to slot 2 of DOUT
w A0 21 23 # Set U1 Ch4 mapped to slot 3 of DOUT
w A2 1E 20 # Set U2 Ch1 mapped to slot 0 of DOUT
w A2 1F 21 # Set U2 Ch2 mapped to slot 1 of DOUT
w A2 20 22 # Set U2 Ch3 mapped to slot 2 of DOUT
w A2 21 23 # Set U2 Ch4 mapped to slot 3 of DOUT
w A4 1E 20 # Set U3 Ch1 mapped to slot 0 of DOUT
w A4 1F 21 # Set U3 Ch2 mapped to slot 1 of DOUT
w A4 20 22 # Set U3 Ch3 mapped to slot 2 of DOUT
w A4 21 23 # Set U3 Ch4 mapped to slot 3 of DOUT
w A6 1E 20 # Set U4 Ch1 mapped to slot 0 of DOUT
w A6 1F 21 # Set U4 Ch1 mapped to slot 1 of DOUT
w A6 20 22 # Set U4 Ch1 mapped to slot 2 of DOUT
w A6 21 23 # Set U4 Ch1 mapped to slot 3 of DOUT
w A0 18 49 # Set U1's ASI to daisy chain via GPIO1
w A0 21 10 # Set U1's GPIO1 input as ASI input for daisy chain
w A2 18 49 # Set U2's ASI to daisy chain via GPIO1
w A2 21 10 # Set U2's GPIO1 input as ASI input for daisy chain
w A4 18 49 # Set U3's ASI to daisy chain via GPIO1
w A4 21 10 # Set U3's GPIO1 input as ASI input for daisy chain