Thank you Jack,
so far the method we have found to fix this issue works as long as we keep
the roach up, thus the undriven-SPI do not bother us that much. I had a
look at the verilog hdl, I am quite use to verilog and SPI (I did something
similar for an I2C interface) but I can't say the same for OPB bus,
power-pc's and so on... it will take me a while I guess. I will contact you
when I will be on it.
2018-02-20 19:57 GMT+01:00 Jack Hickish <jackhick...@gmail.com>:
> Hi Paolo,
> If I'm reading the code correctly -- https://github.com/casper-
> astro/mlib_devel/blob/roach2/xps_library/%40xps_adc_mkid/xps_adc_mkid.m --
> I believe that none of the SPI pins are driven. I have no idea whether any
> of these pins are pulled in any particular direction on the hardware since
> I haven't checked the schematics.
> I don't think there is a ready-to-use PPC<->SPI block, but there should be
> a variety of examples of SPI interfaces for other ADCs in the library --
> Integrating such an interface shouldn't be that hard, though involves
> getting dirty with the toolflow. If you're sure this is your problem and
> want a hand, give me a shout and I'll try and find the time to help you do
> On Mon, 19 Feb 2018 at 09:36 Paolo Fresch <paolo.fres...@gmail.com> wrote:
>> Dear all,
>> I am a technical research fellow at INFN sezione di Roma, I am
>> experiencing strange issue using roach + *mkid DAC/ADC board*
>> Basically, after a “cold” startup the DAC does not generate the correct
>> sinusoid but either nothing or something senseless. I have a bit of
>> hardware background especially in serial chip-to-chip buses, I think it is
>> a problem due to the SPI DAC configuration bus that should be tied to
>> Virtex-6. In fact, if I “touch” the SPI connector on the DAC/ADC board the
>> DAC starts to output the correct signal.
>> Since no pcore is connected to these pin (and matlab prompt a warning
>> while compiling using casper_xps toolchain) I think this strange behavior
>> is caused by the undriven pin (at least the spi_resetn) on Virtex side.
>> Can you confirm that these pins are undriven in the last update of the
>> yellow block present in the casper mlib_devel ? There is any block in the
>> casper xps_base or xps_library I can use to interface the PPC with the SPI?
>> Do I need to design this block from scratch?
>> Can you help me on this?
>> Thank you in advance.
>> Paolo Fresch
>> You received this message because you are subscribed to the Google Groups
>> "firstname.lastname@example.org" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to casper+unsubscr...@lists.berkeley.edu.
>> To post to this group, send email to email@example.com.
> You received this message because you are subscribed to the Google Groups "
> firstname.lastname@example.org" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to casper+unsubscr...@lists.berkeley.edu.
> To post to this group, send email to email@example.com.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.