Re: AD7714 help




Arlet wrote:
Prakruthi wrote:

I did compare the signals with the clock and found out that the data is
not getting transferred on the right clock edge. How do I set the clock
sync right. How do I determine what the right clock frequency for the SPI transfer
would be.

I m using the ATMega8 to communicate with the AD7714. So it has amazing
options for configuring the SPI clock frequency. The ATMega8 runs at a
frequency of 14.567MHz. And im using a SCLK frequency of fclkin/128 to
drive the slave(AD7714), with a CPOL=1 and CHPA=1. I have no idea what
the problem could be , cause I have tried all the different SCLK
frequencies that are available.

The clock frequency is within limits, and CPOL=1, CHPA=1 is also
correct.

What makes you say the 'data is not getting transferred on the right
clock edge' ?

I can see constant clock signals on the oscilloscope for SCLK and DIN
and DOUT shows data transfers, but the DRDY acknowledge pin on the
AD7714 sometimes just shows noise and sometimes shows a low(which is
an indication of dataword being available at the output register of the
AD7714) after several several clock cycles.Do you understand what I
mean?

.



Relevant Pages

  • Re: DCO/VCO Fine clock output?
    ... I'm trying to figure out how to output a clock frequency depending on ... the position of a potentiometer slider. ... and you would also have to hook up a serial output ADC to digitise the pot ...
    (sci.electronics.design)
  • Combinational logic running over multiple clock cycles in Xilinx
    ... Currently our architecture consists of 1024 really fast loops, ... and loads the addition into a register. ... and Xilinx spits out a maximum clock ... value of the clock frequency obtained assumes that the addition ...
    (comp.lang.vhdl)
  • Re: idle state
    ... OS generally turns down the clock frequency, ... It isn't so much an instruction as it is writing data to an external ... (to the CPU) ...
    (alt.lang.asm)
  • Re: Time set backward
    ... >If POSIX has no way to discipline the clock frequency, ... POSIX makes no claim about whether the clock has any connection ...
    (comp.protocols.time.ntp)
  • Re: CODEC
    ... have SCLK and SDIN as output. ... I2C devices can work without needed any clock ... toggling clock for a full cycle should never take less than (1.3 ...
    (comp.lang.vhdl)