Maxim Integrated MAX5171 14-bit Force/Sense DAC

Dependents:   MAX5171BOB_Tester MAX5171BOB_14bit_Remote_Sense_SPI_DAC MAX5171BOB_Serial_Tester

Revision:
7:564b438a0448
Parent:
6:f661c4a61207
--- a/MAX5171.h	Fri Apr 03 06:27:05 2020 +0000
+++ b/MAX5171.h	Fri May 15 08:23:46 2020 +0000
@@ -216,27 +216,112 @@
  *         uint16_t code;
  *         //
  *         // example #1
- *         code = 0x3332; // 80.0% of full scale REF(2.50V) = 2.00V (FORCE_BIP/SENSE_BIP: 1.50V)
+ *         code = 0x3fff; // 100.0% of full scale REF(2.50V) = 2.50V (FB=1-2:FORCE_BIP/SENSE_BIP: 2.50V) (FB=2-3:FORCE_UNI/SENSE_UNI: 5.00V)
  *         g_MAX5171_device.CODE_LOAD(code);
  *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
  *         //
  *         // example #2
- *         code = 0x1fff; // 50.0% of full scale REF(2.50V) = 1.25V (FORCE_BIP/SENSE_BIP: 0.00V)
+ *         code = 0x3998; // 90.0% of full scale REF(2.50V) = 2.25V (FB=1-2:FORCE_BIP/SENSE_BIP: 2.00V) (FB=2-3:FORCE_UNI/SENSE_UNI: 4.50V)
  *         g_MAX5171_device.CODE_LOAD(code);
  *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
  *         //
  *         // example #3
- *         code = 0x1999; // 40.0% of full scale REF(2.50V) = 1.00V (FORCE_BIP/SENSE_BIP: -0.50V)
+ *         code = 0x3332; // 80.0% of full scale REF(2.50V) = 2.00V (FB=1-2:FORCE_BIP/SENSE_BIP: 1.50V) (FB=2-3:FORCE_UNI/SENSE_UNI: 4.00V)
  *         g_MAX5171_device.CODE_LOAD(code);
  *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
  *         //
  *         // example #4
- *         code = 0x0000; // 0.0% of full scale REF(2.50V) = 0.00V (FORCE_BIP/SENSE_BIP: -2.50V)
+ *         code = 0x2ccc; // 70.0% of full scale REF(2.50V) = 1.75V (FB=1-2:FORCE_BIP/SENSE_BIP: 1.00V) (FB=2-3:FORCE_UNI/SENSE_UNI: 3.50V)
  *         g_MAX5171_device.CODE_LOAD(code);
  *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
  *         //
  *         // example #5
- *         code = 0x3fff; // 100.0% of full scale REF(2.50V) = 2.50V (FORCE_BIP/SENSE_BIP: 2.50V)
+ *         code = 0x2665; // 60.0% of full scale REF(2.50V) = 1.50V (FB=1-2:FORCE_BIP/SENSE_BIP: 0.50V) (FB=2-3:FORCE_UNI/SENSE_UNI: 3.00V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #6
+ *         code = 0x1fff; // 50.0% of full scale REF(2.50V) = 1.25V (FB=1-2:FORCE_BIP/SENSE_BIP: 0.00V) (FB=2-3:FORCE_UNI/SENSE_UNI: 2.50V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #7
+ *         code = 0x1999; // 40.0% of full scale REF(2.50V) = 1.00V (FB=1-2:FORCE_BIP/SENSE_BIP: -0.50V) (FB=2-3:FORCE_UNI/SENSE_UNI: 2.00V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #8
+ *         code = 0x1332; // 30.0% of full scale REF(2.50V) = 0.75V (FB=1-2:FORCE_BIP/SENSE_BIP: -1.00V) (FB=2-3:FORCE_UNI/SENSE_UNI: 1.50V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #9
+ *         code = 0x0ccc; // 20.0% of full scale REF(2.50V) = 0.50V (FB=1-2:FORCE_BIP/SENSE_BIP: -1.50V) (FB=2-3:FORCE_UNI/SENSE_UNI: 1.00V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #10
+ *         code = 0x0666; // 10.0% of full scale REF(2.50V) = 0.25V (FB=1-2:FORCE_BIP/SENSE_BIP: -2.00V) (FB=2-3:FORCE_UNI/SENSE_UNI: 0.50V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #11
+ *         code = 0x0000; // 0.0% of full scale REF(2.50V) = 0.00V (FB=1-2:FORCE_BIP/SENSE_BIP: -2.50V) (FB=2-3:FORCE_UNI/SENSE_UNI: 0.00V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #12
+ *         code = 0x0000; // 0.0% of full scale REF(2.50V) = 0.00V (FB=1-2:FORCE_BIP/SENSE_BIP: -2.50V) (FB=2-3:FORCE_UNI/SENSE_UNI: 0.00V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #13
+ *         code = 0x0666; // 10.0% of full scale REF(2.50V) = 0.25V (FB=1-2:FORCE_BIP/SENSE_BIP: -2.00V) (FB=2-3:FORCE_UNI/SENSE_UNI: 0.50V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #14
+ *         code = 0x0ccc; // 20.0% of full scale REF(2.50V) = 0.50V (FB=1-2:FORCE_BIP/SENSE_BIP: -1.50V) (FB=2-3:FORCE_UNI/SENSE_UNI: 1.00V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #15
+ *         code = 0x1332; // 30.0% of full scale REF(2.50V) = 0.75V (FB=1-2:FORCE_BIP/SENSE_BIP: -1.00V) (FB=2-3:FORCE_UNI/SENSE_UNI: 1.50V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #16
+ *         code = 0x1999; // 40.0% of full scale REF(2.50V) = 1.00V (FB=1-2:FORCE_BIP/SENSE_BIP: -0.50V) (FB=2-3:FORCE_UNI/SENSE_UNI: 2.00V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #17
+ *         code = 0x1fff; // 50.0% of full scale REF(2.50V) = 1.25V (FB=1-2:FORCE_BIP/SENSE_BIP: 0.00V) (FB=2-3:FORCE_UNI/SENSE_UNI: 2.50V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #18
+ *         code = 0x2665; // 60.0% of full scale REF(2.50V) = 1.50V (FB=1-2:FORCE_BIP/SENSE_BIP: 0.50V) (FB=2-3:FORCE_UNI/SENSE_UNI: 3.00V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #19
+ *         code = 0x2ccc; // 70.0% of full scale REF(2.50V) = 1.75V (FB=1-2:FORCE_BIP/SENSE_BIP: 1.00V) (FB=2-3:FORCE_UNI/SENSE_UNI: 3.50V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #20
+ *         code = 0x3332; // 80.0% of full scale REF(2.50V) = 2.00V (FB=1-2:FORCE_BIP/SENSE_BIP: 1.50V) (FB=2-3:FORCE_UNI/SENSE_UNI: 4.00V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #21
+ *         code = 0x3998; // 90.0% of full scale REF(2.50V) = 2.25V (FB=1-2:FORCE_BIP/SENSE_BIP: 2.00V) (FB=2-3:FORCE_UNI/SENSE_UNI: 4.50V)
+ *         g_MAX5171_device.CODE_LOAD(code);
+ *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
+ *         //
+ *         // example #22
+ *         code = 0x3fff; // 100.0% of full scale REF(2.50V) = 2.50V (FB=1-2:FORCE_BIP/SENSE_BIP: 2.50V) (FB=2-3:FORCE_UNI/SENSE_UNI: 5.00V)
  *         g_MAX5171_device.CODE_LOAD(code);
  *         wait_ms(3000); // wait_ms(unsigned long interval_msec)
  *