We are developing a simple system on ML605 with an FMC204.
We got the following error message in testing the FMC204 using your sample codes.
It would be great if you give us possible causes for this error.
Based on tracing results, this error was caused in line# 224 in FMC204_dac.cpp.
At this point, dword = 0x0018fbe8, bar_dac0 = 9730, rc = 0, and dac0_pattern = 0.
By the way, it looks like a DAC itself is working correctly as we can see a sine wave on the oscilloscope.
TIA,
>>>>>>>>>>>>>>>>>>>>>>>>
Start of program -------------------------------------- Constellation ID : 95 Number of Stars : 7 Software Build : 0x522C7778 Firmware Build : 0x00000000 Firmware Version : 0.1 --------------------------------------
Found FMC204 hardware on ML605
-------- Onboard Monitoring --------- IIC Mon Dev ID : OK (0x02) IIC Man Dev ID : OK (0x41) IIC Mon Sil Rev : OK (0x05) TEMP ( ADT ) : OK (45.25C) VDD ( 3.3V ) : OK ( 3.25V) AIN1 ( 3.3Vclk) : OK ( 3.23V) AIN2 ( 1.8Vdig) : OK ( 1.76V) AIN3 ( Vadj) : OK ( 2.48V) AIN4 ( 2.5Vclk) : OK ( 2.47V) AIN5 ( 3.3Vdig) : OK ( 3.31V) AIN6 ( 3.3Vadc) : OK ( 3.28V) AIN7 ( 3.3Vcp ) : OK ( 0.01V) AIN8 ( 12V ) : OK (11.56V) ------------------------------------- Could not initialize FMC204.DAC Could not initialize FMC204, exiting
In your FMC204_DAC_init sample code, FIR filters are enbled (addr: 0x01 and val: 0x11) but 4x interpolation is not enabled (addr: 0x02, val:0xC0).
As far as I understand the datasheet of TI DAC5682Z correctly, DAC shall perform 2x interpolation with this configuation.
Therefore, I think DAC Ref clock shall be two times faster than DAC PHY clock wth PLL disabled as in the sample code, but the measured value is actually four times faster.
Please help us to correct things we are doing wrong.
Thanks!
Chris
C
Customer
said
almost 6 years ago
Hi Erik
We have two ML-605 boards and have tried to test your FMC204 sample code on the both of them after cleaning connectors and pins of FMC204 and ML-605 as per your advice.
Unfortunetely, however, all tests failed.
The FMC204 card is not working on any of them.
We got the same error messaage mentioned above.
We have an FMC104 ADC card and tried to test it on the both of two ML605 boards.
The FMC104 is working perfectly.
The serial number of the FMC204 card above is "".
Please help us to solve this problem.
Thank you!
4DSP Support
said
almost 6 years ago
Hi Chris
what you could try is to clean the FMC connector on your carrier and on the FMC using some alcohol and a brush.
do you have another ML605 to try the card on?
can you let me know the serial number of the FMC204 that is giving you issues?
Customer
Dear Sir,
We are developing a simple system on ML605 with an FMC204.
We got the following error message in testing the FMC204 using your sample codes.
It would be great if you give us possible causes for this error.
Based on tracing results, this error was caused in line# 224 in FMC204_dac.cpp.
At this point, dword = 0x0018fbe8, bar_dac0 = 9730, rc = 0, and dac0_pattern = 0.
By the way, it looks like a DAC itself is working correctly as we can see a sine wave on the oscilloscope.
TIA,
>>>>>>>>>>>>>>>>>>>>>>>>
Start of program
--------------------------------------
Constellation ID : 95
Number of Stars : 7
Software Build : 0x522C7778
Firmware Build : 0x00000000
Firmware Version : 0.1
--------------------------------------
Found FMC204 hardware on ML605
-------- Onboard Monitoring ---------
IIC Mon Dev ID : OK (0x02)
IIC Man Dev ID : OK (0x41)
IIC Mon Sil Rev : OK (0x05)
TEMP ( ADT ) : OK (45.25C)
VDD ( 3.3V ) : OK ( 3.25V)
AIN1 ( 3.3Vclk) : OK ( 3.23V)
AIN2 ( 1.8Vdig) : OK ( 1.76V)
AIN3 ( Vadj) : OK ( 2.48V)
AIN4 ( 2.5Vclk) : OK ( 2.47V)
AIN5 ( 3.3Vdig) : OK ( 3.31V)
AIN6 ( 3.3Vadc) : OK ( 3.28V)
AIN7 ( 3.3Vcp ) : OK ( 0.01V)
AIN8 ( 12V ) : OK (11.56V)
-------------------------------------
Could not initialize FMC204.DAC
Could not initialize FMC204, exiting
>>>>>>>>>>>>>>>>>>>>>>>>>