工具/软件:
您好、
我们使用 TI971 的 GPIO2 作为输入。 我们如何将其状态映射到解串器 TI9702 的 GPIO 并测试解串器 GPIO 上的输出状态?
谢谢!
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.
工具/软件:
您好、
我们使用 TI971 的 GPIO2 作为输入。 我们如何将其状态映射到解串器 TI9702 的 GPIO 并测试解串器 GPIO 上的输出状态?
谢谢!
您好、Hongli Liu、
以下是启用 SER GPIO2 作为输入和 DES GPIO2 作为输出所需的设置:
写入 SER 寄存器 0x0E[2]= 1 且[6]= 0
写入 SER 寄存器 0x33[1:0]= 01
写入 DES 寄存器 0x12 = 0x21(启用 GPIO2 作为通过 RX 端口 0 接收的数据的输出。 如果通过 RX 端口 1 接收数据、则该值为 0x15)
写入 DES 寄存器 0x0F[2]= 0