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.

AFE4300: DEVICE_CONTROL1 register values for Weight-Scale measurements

Part Number: AFE4300

Hi, 

I am using AFE4300 for measuring Bio-impedance using BCM channel and Weight Scale channel to measure ECG. I am able to get Bio-impedance signal using BCM channel but in I am not able to power on Weight Scale fro end and power down BCM front end.  Here is my sample code. AFE_Write_Config_Reg and AFE_Read_Config_Reg functions read and write to AFE4300 registers respectively.

////////////////////////////////////////////////////////////////////////////////////

AFE_Write_Config_Reg(DEVICE_CONTROL1,0x06); // BCM power-up, Weight scale power down 
__delay_cycles(50000); //delay to stabilise
AFE_Read_Config_Reg(DEVICE_CONTROL1);  //  Successfully returning the written value 0x06

AFE_Write_Config_Reg(DEVICE_CONTROL1,0x6005); // BCM power down, weight scale power up
__delay_cycles(50000); //delay to stabilize
AFE_Read_Config_Reg(DEVICE_CONTROL1);// returning default value 0x0000

//////////////////////////////////////////////////////////////////////////////////

Writing 0x6005 to DEVICE_CONTROL1,0x6005 also resets the ADC_CONTROL_REGISTER1 to its default value 0x01C3.

Regards, 

Burhanuddin