Changes

Jump to navigation Jump to search
3 bytes added ,  18:56, 5 November 2009
m
no edit summary
Line 70: Line 70:  
|}
 
|}
 
Following this are 64 bytes of programming data listing the values for channels 0-31 (in that order) in 2-byte words. Each channel needs 14 bits, so the format is two leading zeros and 6 MSB of data is the first byte, then 8 LSB of data in the second byte. The nominal transfer function of the DAC chip is:
 
Following this are 64 bytes of programming data listing the values for channels 0-31 (in that order) in 2-byte words. Each channel needs 14 bits, so the format is two leading zeros and 6 MSB of data is the first byte, then 8 LSB of data in the second byte. The nominal transfer function of the DAC chip is:
<math>V=50*V_{ref}\frac{D}{2^{14}}</math>
+
 
where D is the 14-bit binary representation of the voltage value and <math>V_{ref}=3.3V</math> in the current board design, yielding a 0-165V range, assuming the recommended <math>10V+V_{max}=175V<math> power supply is used.
+
<math>V=50 V_{ref}\frac{D}{2^{14}}</math>
 +
 
 +
where D is the 14-bit binary representation of the voltage value and <math>V_{ref}=3.3V</math> in the current board design, yielding a 0-165V range, assuming the recommended <math>10V+V_{max}=175V</math> power supply is used.
    
Place holders for all channels must be present in the packet, but only those marked in the mask will be programmed; all other bytes will be ignored and can take on any value.  Regardless of the mask, the word corresponding to the ''last channel must be followed but another byte as padding.'' The packet format is shown in detail in the adjacent figure.
 
Place holders for all channels must be present in the packet, but only those marked in the mask will be programmed; all other bytes will be ignored and can take on any value.  Regardless of the mask, the word corresponding to the ''last channel must be followed but another byte as padding.'' The packet format is shown in detail in the adjacent figure.
1,004

edits

Navigation menu