I would like to use the ADCM350 as sweep voltage generator from 0V to -0.8V with -10mV step and reading the current for each step. Is it possible to do it? If yes can you please help me?
This is absolutely possible. We don't have the exact code for this in our Software Development Kit but we have a good starting point.
How to get SDK + Eval-ADuCM350EBZ Working together.
Potentiostat / Amperometric Measurement Using ADuCM350
Best option is get that working first and we can then direct on best options ..
thanks for your reply. I used the example for the potentiostat / amperometric measurement changing different parameters and it is ok.
To have a voltage sweep I should define in the main VL1=0 and VL2 =-10mV and use a loop that decrements both of -10mV every cycle; the same for DACL1 and DACL2. When does the loop have to start and finish? I mean, which functions have to be insert in this loop?
How critical is timing in this portion of your application?
If timing is not critical, you could simply use the core to write to the DAC, setting the voltage and then initiating a current measurement. Then put this in a loop where the voltage is incremented.
If timing is critical, then the best thing to do is to write a long sequence which does your required sweep and measurement, step by step.
timing is not critical so the first option is ok.
Following the steps of the Amperometric Measurement example the loop should start after the excitation channel (including the setting of DC level 1 and 2, and the increment of the voltage) and finish before the AFE power down. Am I right?
You would need to perfrom the power up and calibration steps, as per the AmperometricMeasurement example, then you could execute the steps in the main measurement sequence using register writes (or the sequence itself, if you wish), modifying the DAC output voltage each time. When you are finished all of your measurements, you can power down the AFE, although I wouldn't worry about that until you get the measurement piece working correctly!
Retrieving data ...