Cyton Register Set for Lead off / Impedance measruement

Hi guys,

I have a question regarding setting the right register to be able to measure the impedance of one channel. I tried to find it in the firmware but couldn't.

The set up:
I want to use only one channel (1N) and put all P channel to SRB2. This is achieved by:
ads.registers.CH1SET.PD1 = 0;
ads.registers.CH1SET.MUX1=0b000;
ads.registers.CH1SET.SRB2= 1;

On all the other channels the SRB2 is disconnected and PDn is set to 1.

The frequency is set to 31.2Hz with: "ads.registers.LOFF.FLEAD_OFF = 0b10;" and the current to 6nA with "ads.registers.LOFF.ILEAD_OFF = 0;"

With the register "ads.registers.LOFF_SENSP.LOFF1P = 1;" and "ads.registers.LOFF_SENSN.LOFF1N = 1;" i set the current source and start the impedance measruement.

Do I need to set some other register as well besides some in the CONFIG1,2,3 ?

Thank you for your help.
David

Sign In or Register to comment.