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.
TAS2563EVM 可选择使用外部 I2C 和 SPI 输入、而不使用默认 USB 控制。 这篇文章列出了一些用于外部 I2C 和 SPI 通信的常见配置、作为快速参考。 请注意、每个步骤都列出了两种不同设置的说明:针对 TAS2563EVM 和针对器件引脚。
I2C 模式设置(不通过 USB):
步骤1:
步骤2:
步骤3:
I2C 命令语法:
接口语法:i [interface]
寄存器写入语法:W [I2C 地址][寄存器][数据]
寄存器读取语法:R [I2C 地址][寄存器][读取量]
延迟语法:d [延迟时间]
断点语法:b [“字符串”]
等待标志语法:F [I2C 地址][寄存器][数据]
示例:
w 98 00 00 #enter page 0 w 98 7f 00 #enter book 0 r 98 02 01 #read pwr_ctrl reg w 98 02 01 #write pwr_ctrl reg to mute device d 1 #delay for 1ms w 98 00 #enter page 0 w 98 7f 00 #enter book 0 R 98 7e 01 #read 校验和
SPI 模式设置:
步骤1:
终端常规命名:
SCL_SELZ -> SS
ADDR_SPICLK -> SCLK
SPII2CZ_MISO -> MISO
SDA_MOSI -> MOSI
有关 I2C 和 SPI 模式实现的更多详细信息、请参阅