TI中文支持网
TI专业的中文技术问题搜集分享网站

AFE4400的Diagnostics Flag Register值问题

请问,当我Diagnostic enable后,在DIAG_END上升沿后,读0x30寄存器的值是0x001010;

实际我测量PD管没有问题,有压降。

而且看PD管datasheet反向电压、反向电流和短路电流都很大,不至于损坏。

请问这是怎么回事。

Nick Dai:

Hi yannan,

Once the diagnostic mode is complete, the bit0 of CONTROL0 register must be set to '1' to enable SPI read.

And the status of the Diagnostics can be read from DIAG register (Addr: 0x30)

yannan fan:

回复 Nick Dai:

Hi Nick,

读写操作是正确这点没问题,比如我不外接red和IR时,读出0x30地址的数值是0x001E10;

外接red和IR后,读出的是0x001010,请问是怎么回事?

Yu Wang11:

回复 yannan fan:

你好,请问你的问题解决了么?我也遇到了同样的问题,请问你是怎么解决的?

JiaChuang Chen:

Diagnostics Flag寄存器的高10位都是0啊,你怎么可以读出来1呢?

user3917511:

For AFE4400, the diagnostic mode takes 16ms.

No, during the diagnostic mode, the AFE Tx and Rx signal chains cannot be used.

The device enters the diagnostic mode when bit2 of CONTROL0 register is set to '1'.

While the device is in diagnostic mode, if the bit2 of CONTROL0 register is set to '0', then the diagnostics is disabled.

While the device is in diagnostic mode, if the bit2 of CONTROL0 register is set to '1' again, then it will not do anything.

When the diagnostic is complete, the bit2 of CONTROL0 register is automatically reset.

Once the diagnostic mode is complete, the bit0 of CONTROL0 register must be set to '1' to enable SPI read.

And the status of the Diagnostics can be read from DIAG register (Addr: 0x30)

Refer to the AFE4400 datasheet for more details about diagnostics.

赞(0)
未经允许不得转载:TI中文支持网 » AFE4400的Diagnostics Flag Register值问题
分享到: 更多 (0)