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.

PGA302利用IIC进行配置时寄存器地址问题



在利用IIC进行PGA配置时,遇到了两个问题:

1、date sheet的8.3.15.1说为了使得IIC接口能够访问内存而不是访问测试区域,需要将micro interface control 控制与状态寄存器的micro_if_sel_t位置1,那么在我访问micro interface control的时候,我并没有将micro_if_sel_t位置1,请问micro interface control这个寄存器是特例吗?

2、8.13.15.2中的表5中写的分配给控制和状态寄存器的DI_PAGE_ADDRESS为0X02和0X07,可是在8.5.1.2所给出的表格中,micro interface control这个寄存器的DI Page Address却是0x0,并非0X02或者0X07,导致我需要对micro interface control寄存器进行写操作的时候,找不到该寄存器对应的DI Page Address,从而无法确定从地址

3、通过IIC通信对控制与状态寄存器进行写操作时候,从地址如何确定?寄存器地址就是DI Page Offset吗?能否告知P_GAIN_SELECT和micro_interface_control这两个寄存器的从地址和寄存器地址。

期待您的解答、非常感谢!!

  • 您好,
    1、MICRO_INTERFACE_CONTROL register是属于test register space,访问memory locations需要IF_SEL位置1。
    2、MICRO_INTERFACE_CONTROL就是Test Registers,它的地址是0x40(查看表5中)
    3、访问Control and Status Registers,需要Slave Address和Register Address,P_GAIN_SELECT的Slave Address是0x42,Register Address是0x47,查看表5例子。