Hi, DAC8568(CICPW) Experts,
My system has a hardware board made from the DAC8568 as follows:
1) /LDACC: tied to ground
2) CLR tied to Vdd = 3.3V
3) V_REF connected to 18uF Capacitor with ground (so it uses the internal reference = 2.5V
4) this 6568 board communicates with an off-board DSP F2812 on SPI at ~8MHz
Issues:
1) I was able to use command word 0x08000001 for the static mode, to get 2.5V reference voltage, but could not get the same using 0x090A000 or 0x09080000 for flexible mode
2) With above 2.5V reference, I am able to set DAC output to a desirable value on Chan A & B, but not C ~ H, no matter what commands I sent.
My code sequences are as follows:
Initialization code -
1) Software Reset (0x07000000)
2)Set Internal Reference(00x08000001)
3)Clear Code Register9(Clear All DACs to zero scale)
4)Set LDAC register to allow synchronous mode (0x060000FF) for all channels (A~H)
5)Power up all DACs (0x040000FF)
Set DAC code -
1) Write to Selected DAC input register and Update Respective DAC Register with Control code DB27(C3) ~ DB24(C0) = 0x3
2) write to Selected DAC Input Register and Update All DAC Register with Control code DB27(C3) ~ DB24(C0) = 0x1
DSP2812 SPI code :
1) tried sending both Byte and Word, no impact on the DAC channel C ~ H output results
Can any one advise or comment on the above strange behavior. Many Thanks.
Regards
YZ