C8051F526-IMR Silicon Labs, C8051F526-IMR Datasheet - Page 59

no-image

C8051F526-IMR

Manufacturer Part Number
C8051F526-IMR
Description
8-bit Microcontrollers - MCU 2KB 12ADC 125C LIN 10Pin MCU
Manufacturer
Silicon Labs
Datasheet

Specifications of C8051F526-IMR

Product Category
8-bit Microcontrollers - MCU
Rohs
yes
Core
8051
Data Bus Width
8 bit
Maximum Clock Frequency
25 MHz
Program Memory Size
2 KB
Data Ram Size
256 B
On-chip Adc
Yes
Package / Case
DFN-10
Mounting Style
SMD/SMT
A/d Bit Size
12 bit
A/d Channels Available
6
Interface Type
SPI, UART
Maximum Operating Temperature
+ 125 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
6
Number Of Timers
3
On-chip Dac
No
Processor Series
C8051
Program Memory Type
Flash
Factory Pack Quantity
1500
Supply Voltage - Max
2.7 V, 5.25 V
Supply Voltage - Min
2 V, 2.7 V
4.3.5. Output Conversion Code
The registers ADC0H and ADC0L contain the high and low bytes of the output conversion code. When the
repeat count is set to 1, conversion codes are represented in 12-bit unsigned integer format and the output
conversion code is updated after each conversion. Inputs are measured from 0 to V
can be right-justified or left-justified, depending on the setting of the AD0LJST bit (ADC0CN.2). Unused
bits in the ADC0H and ADC0L registers are set to 0. Example codes are shown below for both right-justi-
fied and left-justified data.
When the ADC0 Repeat Count is greater than 1, the output conversion code represents the accumulated
result of the conversions performed and is updated after the last conversion in the series is finished. Sets
of 4, 8, or 16 consecutive samples can be accumulated and represented in unsigned integer format. The
repeat count can be selected using the AD0RPT bits in the ADC0CF register. The value must be right-jus-
tified (AD0LJST = “0”), and unused bits in the ADC0H and ADC0L registers are set to '0'. The following
example shows right-justified codes for repeat counts greater than 1. Notice that accumulating 2
is equivalent to left-shifting by n bit positions when all samples returned from the ADC have the same
value.
V
V
V
REF
REF
REF
V
V
V
Input Voltage
REF
REF
REF
Input Voltage
x 4095/4096
x 2048/4096
x 2047/4096
x 4095/4096
x 2048/4096
x 2047/4096
0
0
Repeat Count = 4
Right-Justified ADC0H:ADC0L
0x3FFC
0x1FFC
0x0000
0x2000
(AD0LJST = 0)
0x0FFF
0x07FF
0x0800
0x0000
Rev. 1.4
Repeat Count = 8
0x7FF8
0x3FF8
0x4000
0x0000
Left-Justified ADC0H:ADC0L
C8051F52x/F53x
(AD0LJST = 1)
Repeat Count = 16
0xFFF0
0x7FF0
0x8000
0x0000
REF
0xFFF0
0x7FF0
0x8000
0x0000
x 4095/4096. Data
n
samples
59

Related parts for C8051F526-IMR