Hi Balaji,
RHDxxxx chips contain an onboard DAC and primitive voltage to AC current conversion circuit (series cap...) that can be used to pass somewhat known AC currents at electrodes while the corresponding time-varying voltage is measured through the same ADC that is used for recording. This allows you to calculate the electrode impedance for different time-varying current waveform. See pg. 30 of the RHDxxxx datasheet:
However, this circuit is unable to pass DC currents through the electrode which is required for plating. In order to plate, you can must tie an external, bipolar current source to the elec_test pin and then closing the switch that ties the elec_test pin to the electrode you want to activate (this provides a DC path from elec_test to the electrode, through the bath wire which is tied to GND or 3.3 volts to control the plating polarity). The RHAxxxx datasheet has a pretty good explanation that is basically the same as for the RHDxxxx chips on pg. 22
Intan and I have both created virtually identical secondary boards to do this. Unfortunately, my code is a disaster that is basically hacked together pieces from the Intan evaluation GUI and is specific to my plating board, which I would not recommend using now that Intan has created one that performs the same function. However, the Intan code to control the board is implemented in LabView or Matlab, and is quite expensive (something like ~2000 USD). It does allow you to do really cool things though, like automated closed-loop plating where the impedance measurements and plating are alternated until a desired electrode impedance is achieved. After I had created my design, Intan opened the design of their plating board. I forked it and made some minor modifications:
I built the board in my lab without issue, but I'm not yet willing to pay 2000 dollars to use the Matlab control software. It would be great if we could incorporate a module for this board, and electrode plating/improved impedance measurement routines, as a components in the Open Ephys GUI (or maybe as a just small command line app, which is more my style...). I've been thinking a bit about how to do this, but frankly I've been pretty busy. If others are interested, we should talk about what the optimal solution would look like.
Something to should note: all voltages that interact with the RHDxxxx chips are limited to Vcc =~ 3.3V. This include the plating voltage applied to the elec_test pin. Because DC resistance of electrode can be quite high, this severely limits the plating current that can be passed. This is why most stimulus isolation units can reach 100's of volts in order to pass a desired plating or simulation current.
Jon