Open jpnath93 opened 6 days ago
Hey
I'm not sat in front of any of this right now as I'm travelling, but I recommend to check the wiring. Also check CRC is disabled on the DAC.
Mal
On Tue, 15 Oct 2024, 15:57 jpnath93, @.***> wrote:
Used your example code, so not attaching the code here, we modified only two lines
dac.set_out(0, 0x00FF); delay(10000);
and
// Set range, U = Unipolar, B = Bipolar; 5, 10, 20, 40, 2V5 dac.set_range(1, DAC81416::U_10);
Howevre the range of channel 1 is 0 and no output is seen when measruing channel 1 using multimeter
here is the serial monitor output:
2154 DAC Init... DAC is alive DAC is device id 2154 DAC Temperature = -915.00*C DAC Internal Ref = 0 ch 0 enable_state -> 1 ch 1 enable_state -> 1 ch 2 enable_state -> 1 ch 3 enable_state -> 1 ch 4 enable_state -> 1 ch 5 enable_state -> 1 ch 6 enable_state -> 1 ch 7 enable_state -> 1 ch 8 enable_state -> 1 ch 9 enable_state -> 1 ch 10 enable_state -> 1 ch 11 enable_state -> 1 ch 12 enable_state -> 1 ch 13 enable_state -> 1 ch 14 enable_state -> 1 ch 15 enable_state -> 0 ch 0 range -> 0 ch 1 range -> 0 ch 2 range -> 0 ch 3 range -> 0 ch 4 range -> 0 ch 5 range -> 0 ch 6 range -> 0 ch 7 range -> 0 ch 8 range -> 0 ch 9 range -> 0 ch 10 range -> 0 ch 11 range -> 0 ch 12 range -> 0 ch 13 range -> 0 ch 14 range -> 0 ch 15 range -> 0 TEMPERATURE ALARM DAC BUSY CRC ALARM TEMPERATURE ALARM DAC BUSY CRC ALARM TEMPERATURE ALARM DAC BUSY CRC ALARM TEMPERATURE ALARM DAC BUSY CRC ALARM
— Reply to this email directly, view it on GitHub https://github.com/mallyhubz/DAC81416_Arduino/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKIGRYU6OIX32CBO5ITPBR3Z3TDGTAVCNFSM6AAAAABP6QR52CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4DOOJVHE4TEOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Also check CRC is disabled on the DAC.
How to do this?
Used your example code, so not attaching the code here, we modified only two lines
dac.set_out(1, 0x00FF); delay(10000);
and
Howevre the range of channel 1 is 0 and no output is seen when measruing channel 1 using multimeter
here is the serial monitor output: