C8051F987-GMR Silicon Labs, C8051F987-GMR Datasheet - Page 89

no-image

C8051F987-GMR

Manufacturer Part Number
C8051F987-GMR
Description
8-bit Microcontrollers - MCU 8kB 512B RAM
Manufacturer
Silicon Labs
Datasheet

Specifications of C8051F987-GMR

Rohs
yes
Core
8051
Processor Series
C8051
Data Bus Width
8 bit
6.
C8051F99x-C8051F98x devices include an on-chip programmable current reference (source or sink) with
two output current settings: Low Power Mode and High Current Mode. The maximum current output in Low
Power Mode is 63 µA (1 µA steps) and the maximum current output in High Current Mode is 504 µA (8 µA
steps).
The current source/sink is controlled though the IREF0CN special function register. It is enabled by setting
the desired output current to a non-zero value. It is disabled by writing 0x00 to IREF0CN. The port I/O pin
associated with ISRC0 should be configured as an analog input and skipped in the Crossbar. See Section
“21. Port Input/Output” on page 213 for more details.
SFR Definition 6.1. IREF0CN: Current Reference Control
SFR Page = 0x0; SFR Address = 0xD6
6.1.
The precision of the current reference can be increased by fine tuning the IREF0 output using a PWM
signal generated by the PCA. This mode allows the IREF0DAT bits to perform a course adjustment on the
IREF0 output. Any available PCA channel can perform a fine adjustment on the IREF0 output. When
enabled (PWMEN = 1), the CEX signal selected using the PWMSS bit field is internally routed to IREF0 to
control the on time of a current source having the weight of 2 LSBs. With the two least significant bits of
IREF0DAT set to 00b, applying a 100% duty cycle on the CEX signal will be equivalent to setting the two
LSBs of IREF0DAT to 10b. PWM enhanced mode is enabled and setup using the IREF0CF register.
Name
Reset
Type
Bit
5:0
7
6
Bit
Programmable Current Reference (IREF0)
IREF0DAT[5:0] IREF0 Data Word.
PWM Enhanced Mode
MDSEL
SINK
R/W
Name
SINK
7
0
MODE
R/W
IREF0 Current Sink Enable.
Selects if IREF0 is a current source or a current sink.
0: IREF0 is a current source.
1: IREF0 is a current sink.
IREF0 Output Mode Select.
Selects Low Power or High Current Mode.
0: Low Power Mode is selected (step size = 1 µA).
1: High Current Mode is selected (step size = 8 µA).
Specifies the number of steps required to achieve the desired output current.
Output current = direction x step size x IREF0DAT.
IREF0 is in a low power state when IREF0DAT is set to 0x00.
6
0
5
0
Rev. 1.1
4
0
C8051F99x-C8051F98x
Function
3
0
IREF0DAT
R/W
2
0
1
0
0
0
89

Related parts for C8051F987-GMR