AnsweredAssumed Answered

Phase offset error on ADuCM350 Evaluation Board

Question asked by choisunghoon1 on Jan 18, 2018
Latest reply on Jan 21, 2018 by choisunghoon1

we have a problem with “Phase offset error on ADuCM350 Evaluation Board ”

- we try to masurement impedance with 0,90,180phase offset. so we modified "Impedance Measurement 2Wire" examples as follows. Download to ADuCM350 Evaluation Board And measured with an oscilloscope.

however, there are not changing phase.

How can I fix it?

 

/* Sequence for AC measurement, performs 4 DFTs:        */
/*     RCAL, AFE3-AFE4, AFE4-AFE5, AFE3-AFE5            */
uint32_t seq_afe_acmeas2wire[] = {
    0x001F0043,   /* Safety word: bits 31:16 = command count, bits 7:0 = CRC */
    0x84005818,   /* AFE_FIFO_CFG: DATA_FIFO_SOURCE_SEL = 10 */
    0x8A000034,   /* AFE_WG_CFG: TYPE_SEL = 10 */
    0x98000000,   /* AFE_WG_CFG: SINE_FCW = 0 (placeholder, user programmable) */
    0x9E000000,   /* AFE_WG_AMPLITUDE: SINE_AMPLITUDE = 0 (placeholder, user programmable) */

    0x9A000000,   /* REG_AFE_AFE_WG_PHASE = 00 */

    0x00000640,   /* Wait 100us */
    0x88000F01,   /* AFE_DAC_CFG: DAC_ATTEN_EN = 1 */
    0xA0000002,   /* AFE_ADC_CFG: MUX_SEL = 00010, GAIN_OFFS_SEL = 00 */
 ....

}

   /* Update FCW in the sequence */
     seq_afe_acmeas2wire[3] = SEQ_MMR_WRITE(REG_AFE_AFE_WG_FCW, FCW);
     /* Update sine amplitude in the sequence */
     seq_afe_acmeas2wire[4] = SEQ_MMR_WRITE(REG_AFE_AFE_WG_AMPLITUDE, SINE_AMPLITUDE);


 seq_afe_acmeas2wire[5] = SEQ_MMR_WRITE(REG_AFE_AFE_WG_PHASE, 0);

 

 seq_afe_acmeas2wire[5] = SEQ_MMR_WRITE(REG_AFE_AFE_WG_PHASE, 180);

 

Outcomes