ADuCM355 EIS example not running correctly


I am running the EIS Example from <>, but instead of showing in the prompt to press the S2 switch to start the impedance test, it starts running without it. Besides that, instead of measuring in various frequencies, as shown in Figure 25, it is only measuring in 60000Hz.

I do not know if the example code from Analog GitHub is different from this application note. 

Could anyone advise me how to correct this issue to get the same code behavior as given in the application note example?

Best regards!

Caio Oliveira

  • 0
    •  Analog Employees 
    on Jul 29, 2021 8:29 AM


    In the code, change 

    pImpedanceCfg->SweepCfg.SweepEn = bTRUE; //instead of bFALSE

  • Hi,

    Thank you for your answer! I changed this parameter and the pImpedanceCfg->SweepCfg.SweepPoints in order to select the number of points for sweep. But I don't know if there is any parameter to enable the switch event or if I need to implement it myself. 

    Besides that, the signal visualized on the oscilloscope does not correspond to the frequency variation set in the code or from the prints in the prompt. Lastly, I do not find where I set the voltage amplitude also.

    Do you have any advice about these issues, or if is there any code documentation available?

    Thank you so much since now.

  • 0
    •  Analog Employees 
    on Aug 2, 2021 8:21 AM in reply to Oliveira.C.


    pImpedanceCfg->SweepCfg.SweepStart = 1.0f; /* Sets start frequency*/
    pImpedanceCfg->SweepCfg.SweepStop = 100e3f; /* Sets final frequency */
    pImpedanceCfg->SweepCfg.SweepPoints = 10; /* Set number of points for frequency sweep*/

    .DacVoltPP = 300.0, // Set the amplitude of sine wave