|
MCP47DA1 Datasheet, PDF (54/76 Pages) Microchip Technology – 6-Bit Windowed Volatile DAC with Command Code | |||
|
◁ |
MCP47DA1
8.3 Building Programmable Current
Source
Figure 8-6 shows an example of building a
programmable current source using a voltage follower.
The current sensor resistor is used to convert the DAC
voltage output into a digitally-selectable current source.
The smaller RSENSE is, the less power is dissipated
across it. However, this also reduces the resolution that
the current can be controlled.
VREF VDD
MCP47DA1
VCC+
VOUT
VDD
(or VREF)
Load
IL
I2Câ¢
2-wire
Ib
VCCâ
Ib = I-ï¢--L-
IL = R-V---s-O--e--Un---s-T-e ï´ ï¢-----+-ï¢-----1-
RSENSE
where ï¢ï ï½ï Common-Emitter Current Gainï
FIGURE 8-6:
Source.
Digitally-Controlled Current
8.4 Serial Interface Communication
Times
Table 8-1 shows the time for each I2C Serial Interface
command as well as the effective data update rate that
can be supported by the digital interface (based on the
two I2C serial interface frequencies). The continuous
Write command allows a higher data update frequency,
since for the fixed overhead, more bytes are
transferred. So, the serial interface performance along
with the VOUT output performance (such as slew rate),
is used to determine the applicationâs volatile DAC
register update rate.
TABLE 8-1: SERIAL INTERFACE TIMES / FREQUENCIES
Example
Command
Time (µs)
Effective Data Update
Frequency (kHz) (2)
Command
# of Serial # Bytes # of Serial
Interface bits(1) Transferred Interface bits 100 kHz 400 kHz 100 kHz 400 kHz
Write Single byte
29
1
29
290.0
72.5
3.4
13.8
Write Continuous bytes 20 + N * 9
5
65
650.0 162.5
7.7
30.8
Read byte
39
1
39
390.0
97.5
2.6
10.3
Note 1: Includes the Start or Stop bits.
2: This is the command frequency multiplied by the number of bytes transferred.
DS25118D-page 54
ï£ 2012-2013 Microchip Technology Inc.
|
▷ |