Sundance SMT370v2 User Manual
Page 43

Version 2.0
Page 43 of 46
SMT370v2/v3 User Manual
Register 0xE – DAC Register Read back.
SMT370v2:
By sending this control word, the FPGA reads back the AD9777 (DAC) internal
registers and send them on CP3 of the 370. There are 14 ComPort words in total.
They all have the following format 0xAD9777xx. The last byte (8 Less Significant
Bits) gives the value of a DAC internal register. The 370 starts by sending out
register at address 0x0, and carries on up to register 0xd.
Example:
Let’s consider that the following registers have been loaded into the DAC
Register0 = 0x00010203
Register1 = 0x01111213
Register2 = 0x02212223
Register3 = 0x03313233
Register4 = 0x044142xx
By sending the word 0xE0000000 to an SMT370v2, the host gets back in return the
following values:
0xAD977701, 0xAD977702, 0xAD977703, 0xAD977711, 0xAD977712,
0xAD977713, 0xAD977721, 0xAD977722, 0xAD977723, 0xAD977731, 0xAD977732,
0xAD977733, 0xAD977741, 0xAD977742.
This function gives the user a way of verifying that the DAC has been loaded with the
correct registers.
SMT370v3:
By sending this control word, the FPGA reads back the AD9777 (DAC) internal
registers and send them on CP3 as well as the ADC coupling option, Register 0x5,
Register 0x6 and Register 0x7 in the following order: Board Option (0x000000AC for
an AC-coupled board or 0x000000DC for a DC-coupled board), Clock Management
Register (Register 0x5 – Clock management.), Trigger/Decimator Register (Register
0x6 – Channel selection – Triggers – Decimator for ADCs.), the Pattern Generator
Register (Register 0x7 – DAC control – Pattern generator.), and then 14 words of the
following format 0xAD9777xx. The last byte (8 Less Significant Bits) gives the value
Bit
number
Description
Bit 31
1
Bit 30
1
Bit 29
1
Bit 28
0
Bit 27-0
Not Used.