c8051f410 Silicon Laboratories, c8051f410 Datasheet - Page 70

no-image

c8051f410

Manufacturer Part Number
c8051f410
Description
2.0 V, 32/16 Kb Flash, Smartclock, 12-bit Adc
Manufacturer
Silicon Laboratories
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
c8051f410-GQ
Manufacturer:
SiliconL
Quantity:
1 928
Part Number:
c8051f410-GQ
Manufacturer:
SILICON
Quantity:
99
Part Number:
c8051f410-GQ
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
c8051f410-GQR
Manufacturer:
SiliconL
Quantity:
5 500
Part Number:
c8051f410-GQR
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
c8051f410-GQR
Manufacturer:
SILICON LABS/芯科
Quantity:
20 000
Part Number:
c8051f410-GQR
0
Part Number:
c8051f410-GQR..
Manufacturer:
SILICON
Quantity:
15 000
Part Number:
c8051f410DK
Manufacturer:
Silicon Labs
Quantity:
135
C8051F410/1/2/3
6.1.2. Update Output Based on Timer Overflow
The IDAC output update can be scheduled on a Timer overflow. This feature is useful in systems where the
IDAC is used to generate a waveform of a defined sampling rate, by eliminating the effects of variable
interrupt latency and instruction execution on the timing of the IDAC output. When the IDAnCM bits
(IDAnCN.[6:4]) are set to ‘000’, ‘001’, ‘010’ or ‘011’, writes to both IDAC data registers (IDAnL and IDAnH)
are held until an associated Timer overflow event (Timer 0, Timer 1, Timer 2 or Timer 3, respectively)
occurs, at which time the IDAnH:IDAnL contents are copied to the IDAC input latch, allowing the IDAC out-
put to change to the new value. When updates are scheduled based on Timer 2 or 3, updates occur on
low-byte overflows if Timer 2 or 3 is in 8-bit mode and high-byte overflows if Timer 2 or 3 is in 16-bit mode.
6.1.3. Update Output Based on CNVSTR Edge
The IDAC output can also be configured to update on a rising edge, falling edge, or both edges of the
external CNVSTR signal. When the IDAnCM bits (IDAnCN.[6:4]) are set to ‘100’, ‘101’, or ‘110’, writes to
the IDAC data registers (IDAnL and IDAnH) are held until an edge occurs on the CNVSTR input pin. The
particular setting of the IDAnCM bits determines whether the IDAC output is updated on rising, falling, or
both edges of CNVSTR. When a corresponding edge occurs, the IDAnH:IDAnL contents are copied to the
IDAC input latch, allowing the IDAC output to change to the new value.
6.2.
The IDAC data word can be Left Justified or Right Justified as shown in Figure 6.2. When Left Justified, the
8 MSBs of the data word (D11-D4) are mapped to bits 7-0 of the IDAnH register and the 4 LSBs of the data
word (D3-D0) are mapped to bits 7-4 of the IDAnL register. When Right Justified, the 4 MSBs of the data
word (D11-D8) are mapped to bits 3-0 of the IDAnH register and the 8 LSBs of the data word (D7-D0) are
mapped to bits 7-0 of the IDAnL register. The IDAC data word justification is selected using the IDAnRJST
bit (IDAnCN.2).
The full-scale output current of the IDAC is selected using the IDAnOMD bits (IDAnCN[1:0]). By default,
the IDAC is set to a full-scale output current of 2 mA. The IDAnOMD bits can also be configured to provide
full-scale output currents of 0.25 mA, 0.5 mA, or 1 mA.
70
Left Justified Data (IDAnRJST = 0):
Right Justified Data (IDAnRJST = 1):
IDAn Data Word
D11
(D11 - D0)
IDAC Output Mapping
0xFFF
0x000
0x001
0x800
D10
D9
2048/4096 x 2 mA 2048/4096 x 1 mA 2048/4096 x 0.5 mA 2048/4096 x 0.25 mA
4095/4096 x 2 mA 4095/4096 x 1 mA 4095/4096 x 0.5 mA 4095/4096 x 0.25 mA
D8
1/4096 x 2 mA
IDAnH
IDAnH
‘11’ (2 mA)
0 mA
Figure 6.2. IDAC Data Word Mapping
D11
D7
D10
D6
Output Current vs IDAnOMD bit setting
D5
D9
1/4096 x 1 mA
‘10’ (1 mA)
0 mA
D4
D8
Rev. 1.0
D3
D7
D2
D6
1/4096 x 0.5 mA
‘01’ (0.5 mA)
D1
D5
0 mA
D0
D4
IDAnL
IDAnL
D3
1/4096 x 0.25 mA
‘00’ (0.25 mA)
D2
0 mA
D1
D0

Related parts for c8051f410