HSC-ADC-EVALCZ + AD9272 trigger sync


Hi

I am following the steps that is on the document that I attached.

But the SPI Conteroller does not wirte the value to the board. (Every bits are 0 when I read even for the ChipID)

I activated the error massage, it shows the SPITransfer() error "The transfer bit did not get reset, Check encode". (I attached the screenshot)

Could you tell me what is the problem of write/read register function?

I am using "Octal_High_Speed_20151104_1315.bin" file for FPGA.

attachments.zip
  • 0
    •  Analog Employees 
    on Jul 30, 2016 5:10 AM

    Hi,

    This error happens because the SPI controller defaults now to Asynchronous mode. The FPGA needs Synchronous mode when you talk to it. Please click the second icon button from the left that is showing "A" to switch it to Synchronous mode and try again.

    Thanks

    Ashraf

  • Hi Ashraf,

    Actually I tried with Async mode. It still does not read or write properly as I attached. I tired different setting of ENABLES, but it does not work as well.

    I followed every step in the document, and data is still saved in 2~3 hz with 100hz trigger signal.

    This cfg does not work work for AD9292-65EBZ?

    Thanks.

    Younsu

  • 0
    •  Analog Employees 
    on Aug 5, 2016 10:14 PM

    Hi Younsu,

    So to make things clear to me. Were you able to get rid of the SPI transfer errors? or do you still see them after you changed to Synchronous mode?

    And as I mentioned to you before in a different reply that you have to set register 1, but 0, not register 6. So just try to write and read to register 1 in the FPGA since I am not sure if register 6 or register 0 are read only or not and you don't need to write to them anyway. Try register 1 and see if you can write to and read from it. If that doesn't work then we will have to check with the FPGA team.

    Regards

    Ashraf

  • Hi Ashraf,

    The error message is gone after I changed to Synchronous mode.

    However, the register is always read as 0 value, I cannot change any vlaue of the registers. I attached the screenshot

    I tried 0~15 register addresses, all the values are read as 0. The values of all the registers are always 0 regardless I try to write any values on them.

    I tried with and without ENABLES checked, and also tried to modify the AD9272 cfg checkboxs before opening ADFPGA file, but the symptoms are same.

    I checked that SPIController is working fine with AD9272 cfg files since I could observe the filter or LNA values are reflected accordingly to the output waveform. However, ADFPGAspiR03.cfg does not write the register values.

    The attached ociloscope image is SMA1 and SMA2. (yellow, purple respectively)  I tried to change the register value both before and during running VisualAnalog.  It is not syncronizing for any cases.

      Younsu Kim

  • 0
    •  Analog Employees 
    on Aug 7, 2016 5:56 PM

    OK Younsu,

    Let me check with the FPGA team and get back to you.

    Thanks

    Ashraf