Post Go back to editing

LE timing

Category: Hardware
Product Number: ADRF5720

When sending data over SPI from the MCU, how long after the clock pulses should the latch-enable (LE) pin be toggled (low→high→low)?

I verify that the MCU is sending the correct data, but the attenuator isn’t reaching the expected value. With the FPGA I can toggle LE right after the clocks and it programs correctly.

What is the correct timing for the LE pin?

  • Q. When sending data over SPI from the MCU, how long after the clock pulses should the latch-enable (LE) pin be toggled (low→high→low)?

     

    A. Based on Table 2 and Figure 33, there is a 15 ns setup time from the rising edge of the last clock pulse to the rising edge of LE. It is the rising edge of LE that latches the data. LE (high) must have a minimum pulse width of 10ns and only needs to go low when you want to clock more data. 

     

    If you are finding that two control sources are giving you different results (i.e. the part is being correctly programmed in one case but not in the other), try the following steps.

     

    1. If you have a multi-channel oscilloscope on hand, do a capture of a data write from the MCU and the FPGA (DATA, CLK, LE) and compare the two plots to see if there are some differences. Put your scope probes as close as possible to the digital input pins of the ADRF5720. Use the lowest capacitance scope probes that you have on hand.

    2. Take a look at SEROUT. If some data is being mis-clocked, you may see a corrupted data stream on SEROUT.

    3. Check for glitches on the CLK and LE lines that may be causing double clocking. You could experiment with touching a capacitor down on CLK and LE to slow their edges and see if the issue goes away.  

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.