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.

AFE4400: Unable to drive the photodiode normally, unable to read blood oxygen normally

Part Number: AFE4400

Tool/software:


It automatically diagnoses error 0x1030, I cannot understand why the photodiode is short circuited and open circuited again, and bit12 indicates
PD_ALM: Power-down alarm status diagnostic flag
This bit indicates the status of PD_ALM (and the PD_ALM pin).
I cannot find the source of the problem as it has been confirmed on other devices that the photodiode is functioning properlyI cannot find the source of the problem as it has been confirmed on other devices that the photodiode is functioning properly 

The current SPI communication has been completed normally, and the register configuration I have defined is as follows:
#define TI_AFE4400_LED2STC_REG_VALUE (6050ul)
#define TI_AFE4400_LED2ENDC_REG_VALUE (7998ul)
#define TI_AFE4400_LED2LEDSTC_REG_VALUE (6000ul)
#define TI_AFE4400_LED2LEDENDC_REG_VALUE (7999ul)
#define TI_AFE4400_ALED2STC_REG_VALUE (50ul)
#define TI_AFE4400_ALED2ENDC_REG_VALUE (1998ul)
#define TI_AFE4400_LED1STC_REG_VALUE (2050ul)
#define TI_AFE4400_LED1ENDC_REG_VALUE (3998ul)
#define TI_AFE4400_LED1LEDSTC_REG_VALUE (2000ul)
#define TI_AFE4400_LED1LEDENDC_REG_VALUE (3999ul)
#define TI_AFE4400_ALED1STC_REG_VALUE (4050ul)
#define TI_AFE4400_ALED1ENDC_REG_VALUE (5998ul)
#define TI_AFE4400_LED2CONVST_REG_VALUE (4ul)
#define TI_AFE4400_LED2CONVEND_REG_VALUE (1999ul)
#define TI_AFE4400_ALED2CONVST_REG_VALUE (2004ul)
#define TI_AFE4400_ALED2CONVEND_REG_VALUE (3999ul)
#define TI_AFE4400_LED1CONVST_REG_VALUE (4004ul)
#define TI_AFE4400_LED1CONVEND_REG_VALUE (5999ul)
#define TI_AFE4400_ALED1CONVST_REG_VALUE (6004ul)
#define TI_AFE4400_ALED1CONVEND_REG_VALUE (7999ul)
#define TI_AFE4400_ADCRSTSTCT0_REG_VALUE (0ul)
#define TI_AFE4400_ADCRSTENDCT0_REG_VALUE (3ul)
#define TI_AFE4400_ADCRSTSTCT1_REG_VALUE (2000ul)
#define TI_AFE4400_ADCRSTENDCT1_REG_VALUE (2003ul)
#define TI_AFE4400_ADCRSTSTCT2_REG_VALUE (4000ul)
#define TI_AFE4400_ADCRSTENDCT2_REG_VALUE (4003ul)
#define TI_AFE4400_ADCRSTSTCT3_REG_VALUE (6000ul)
#define TI_AFE4400_ADCRSTENDCT3_REG_VALUE (6003ul)
#define TI_AFE4400_PRPCOUNT_REG_VALUE (7999ul)
#define TI_AFE4400_CONTROL1_REG_VALUE (0x102ul)
#define TI_AFE4400_TIA_AMB_GAIN_REG_VALUE (0x034143ul)
#define TI_AFE4400_LEDCNTRL_REG_VALUE (0x38F8Ful)
#define TI_AFE4400_CONTROL2_REG_VALUE (0x20100ul)
The read register values provided by AFE4400 are as follows
i: 1 reg: 6050
i: 2 reg: 7998
i: 3 reg: 6000
i: 4 reg: 7999
i: 5 reg: 50
i: 6 reg: 1998
i: 7 reg: 2050
i: 8 reg: 3998
i: 9 reg: 2000
i: 10 reg: 3999
i: 11 reg: 4050
i: 12 reg: 5998
i: 13 reg: 4
i: 14 reg: 1999
i: 15 reg: 2004
i: 16 reg: 3999
i: 17 reg: 4004
i: 18 reg: 5999
i: 19 reg: 6004
i: 20 reg: 7999
i: 21 reg: 0
i: 22 reg: 3
i: 23 reg: 2000
i: 24 reg: 2003
i: 25 reg: 4000
i: 26 reg: 4003
i: 27 reg: 6000
i: 28 reg: 6003
i: 29 reg: 7999
i: 30 reg: 0x102
i: 32 reg: 0
i: 33 reg: 213315
i: 34 reg: 233359
i: 35 reg: 0x20100
i: 41 reg: 0
i: 42 reg: 15229394
i: 43 reg: 15231217
i: 44 reg: 15228770
i: 45 reg: 15231188
i: 46 reg: 16775722
i: 47 reg: 16774922
i: 48 reg: 4144
EXTI4_15_IRQHandler PA9
pa9______0X30 :1030
the circuit principle diagram of AFE4400: