Rajeesh,
I'm using No-OS on ML-605. It detect both cards separately or 2 cards together "sequentially initialized" (as I will describe below). However, the outputs are not synchronized.
What I did:
- I've wire-connected Clock out (J9andJ10) of Master ADI card (located on FMC-LPC) to Clock In (J1andJ3) of Slave Card (on FMC-HPC).
Note:
- I've changed nothing in software (Should I?):
- The AD9523-1 chip (on Slave Card) should have a defined priority to use REFA (from Master card) as reference (if available) instead of REFB(from it's AD9548 output pins). So we should initialize slave as well as master.
- in main.c: you have XCOMM_DefaultInit defInit = {FMC_LPC, ... etc.
As I mentioned, it doesn't make sense for me not to initialize FMC_HPC card when using both of them... right? Of course it will initialize the slave card when I change the code to FMC_HPC but not the other one. Well, I tried to initialize 2 cards sequentially and apparently it did worked. My question is how should I initialize 2 cards (Separately or there is a mechanism to do it altogether)?
- After initialization, I want to have 4 DAC output channels on 2 cards synchronized (Note that I'm not using RF part, I'm just looking at the DAC BB-IQ output as 2 independent channels). So I want a synchronized start point for DDS on both DAC1 and DAC2 (and the same story for DMA data from memory). I guess it should have been designed in HW (DAC Enable Out (of DAC CORE0) connected to --> DAC Enable In (of DAC CORE1: Slave) ).
So basically what's the right way for software to make it happen?
Best Regards,
FArid