Post Go back to editing

Interfacing CN0511 with Arduino or FPGA

Category: Hardware
Product Number: CN0511

Hi,

currently we are evaluating the CN0511 reference design. The Raspberry communicates with the Board through SPI (ADF4372, AD9166) respectivly I²C (AD5693R). Therefore it should be possible to easily interface the CN0511 with an Arduino or FPGA through the 40-pin connector P2 or  will there occur any problems which i am overlooking right now?

Thanks in advance and regards

Marius

Parents
  • Hi Marius,

    Yes, it should be possible to interface with the CN0511 using Arduino and FPGA. The development of the bare metal driver for the Arduino and the HDL for the FPGA are the key parts for implementation. You should check the logic voltage levels of the processor you will use and also ensure that the CN0511 is supplied with the appropriate power (5V, 3A).

    Additionally, here are the interfaces you should take have:
    - 2x I2C
    - SPI
    - 11 Digital I/O

    Best Regards,

    Nikko

  • Hi Nikko,

    thanks for the feedback. If i get everything right there also has to be a 3.3 Volt supply to Pin 1 and 17 of the P2 Connector to supply the EEPROM?

    Furthermore are there any default settings for the AD5693R DAC when the board is powered up?

    Best regards,

    Marius

Reply Children
  • Hi Marius,

    You are correct. The 3.3V supply to the EEPROM comes from the Raspberry Pi regulator. Typical 3.3V supplies from the Arduino and other controller boards will be sufficient.

    For the AD5693R DAC, you should set this at mid-scale voltage output which is at 1.65V for the crystal oscillator.

    Best Regards,

    Nikko

  • Hi Nikko,

    thanks for your answers and the help.

    After further evaluating the board i found some inconsistency with the datasheet of the AD9166. I set up the DAC to output a single 500 MHz signal and read back the corresponding registers (0x114 to 0x119 for the FTW or X, 0x124 to 0x129 for Modulus or B and 0x12A to 0x12F for Delta or A). Following the calculation on page 53 in the datesheet i get the following values for the registers: X = 23456248059221, A = 1 and B = 3. But if i read the registers, the values for A and B seem to switched. The registers for the modulus correspond to the delta value and vice versa. Could it be that there is a fault with the registermap in the AD9166 datasheet? The DAC configuration and register readback was all carried out with the IIO Oscilloscope software.

    Best regards,

    Marius