Other Parts Discussed in Thread: DAC3283,
Hi,
I am having some issues with the IOtest pattern checker operating in 14bit dual DAC mode (single clock obviously).
The CONFIG4 results register seems 'stuck' at 0x3FFFF. With The SYNC PINS (pins 6 and 7) showing a LVDS logic '0' continuously between clearing
and reading, I cannot change this register to read zero. I also cannot clear the CONFIG5 alarm bits 3 and 4 as well!
I have slowed my clocks down to 62MHz, and confident with DATA_CLK and DAC_CLK clock levels and stability. I am confident that when I send the SYNC pulse,
it arrives at the device pins with correct LVDS levels and only one pulse is present.
The process I am using is as follows:
0) The Device is configured for syncrx_ena, synconly_ena, and NO sifsync_ena, running in single clock full bus, dual dac modes. Note I can get waveforms
through device and presented on output that look correct on both DACs(just want to be able to prove no timing issues on power up).
1) CONFIG1: bit15 (iotest_ena) is set to '1' to enable the test process. (does this mode stop the output?)
2) CONFIG4, write all zeros to clear iotest_results register
3) CONFIG5, write all zeros to clear alarms register
4) SEND IOTEST SEQUENCE. The sequence I am sending looks exactly like that indicated in the DAC3283 datasheet (8.4.7 "Data Pattern Checker"), Figure 34.
I reference this because there is no clear decription in the DAC3174 datasheet.
5) READ CONFIG5 and CONFIG4 to assess errors. A '1' in the associated alarm register bits3,4 to indicate a failure, with a '1' in a bit channel
of CONFIG4 to indicate which bit channel failed.
6) After this process the register dump is as follows:
CONFIG0 : 42ed
CONFIG1 : e04e
CONFIG2 : 3fff
CONFIG3 : 0000
CONFIG4 : 3fff
CONFIG5 : 0018
CONFIG6 : 2f00
CONFIG7 : ffff
CONFIG8 : 6000
CONFIG9 : 8000
CONFIG10 : f080
CONFIG11 : 1111
CONFIG12 : 3a7a
CONFIG13 : 36b6
CONFIG14 : 2aea
CONFIG15 : 0545
CONFIG16 : 0585
CONFIG17 : 0949
CONFIG18 : 1515
CONFIG19 : 3aba
CONFIG20 : 0000
CONFIG21 : ffff
CONFIG22 : 2d04
CONFIG23 : a3c4
CONFIG24 : c9a8
CONFIG25 : 87ff
CONFIG127 : 0049
Because I can never clear the alarms or results registers, I cannot tell if I have a problem or not!
I note that the DAC3283 datasheet has an interesting statement:
"It is recommended to enable the pattern checker and then run the pattern sequence for 100 or more complete cycles
before clearing the iotest_results(7:0) and alarm_from_iotest.
This will eliminate the possibility of false alarms generated during the setup sequence"
Is this the same/similar issue? I have tried writing the sync + pattern 101 times to the device before clearing results and alarms registers just in case,
to no avail.
CONFIG4 Table 10 Register Field Description says: "The values of these bits tell which bit in the input word failed during the io-test pattern comparison.
[13:7] match up with the 7 bits from port A and [6:0] match up with bits from port B.". This does not have any description of operation in 14bit full word interface
mode, but have assumed it works as it suggests in figure 25. Can you please confirm that IOTEST does work in this mode?
Kind Regards,
Chris Burton