C8051F964-A-GQ Silicon Labs, C8051F964-A-GQ Datasheet - Page 318

no-image

C8051F964-A-GQ

Manufacturer Part Number
C8051F964-A-GQ
Description
8-bit Microcontrollers - MCU 64KB DC-DC LCD AES
Manufacturer
Silicon Labs
Datasheet

Specifications of C8051F964-A-GQ

Rohs
yes
Core
8051
Processor Series
C8051
Data Bus Width
8 bit
Maximum Clock Frequency
24.5 MHz
Program Memory Size
64 KB
Data Ram Size
8 KB
On-chip Adc
Yes
Operating Supply Voltage
1.8 V to 3.8 V
Operating Temperature Range
- 40 C to + 85 C
Package / Case
QFP-80
Mounting Style
SMD/SMT

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
C8051F964-A-GQ
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
C8051F964-A-GQR
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
C8051F96x
enable signal. The enable signal enables the pull-up resistor when high and disables when low. PC0 is the
line to the reed switch. On the right side of PC0 waveform, the line voltage is decreasing towards ground
when the pull-up resistors are disabled. Beneath the charging waveform, the arrows represent the sample
points. The pulse counter samples the PC0 voltage once the charging completes. The sensed ones and
zeros are the sampled data. Finally the integrator waveform illustrates the output of the digital integrator.
The integrator is set to 4 initially and counts to down to 0 before toggling the output low. Once the integra-
tor reaches the low state, it needs to count up to 4 before toggling its output to the high state. The
debounce logic filters out switch bounce or noise that appears for a short duration.
25.7. Reset Behavior
Unlike most MCU peripherals, an MCU reset does not completely reset the Pulse Counter. This includes a
power on reset and all other reset sources. An MCU reset does not clear the counter values. The Pulse
Counter SFRs do not reset to a default value upon reset. The 24-bit counter values are persistent unless
cleared manually by writing to the PC0MD SFR. Note that if the VBAT voltage ever drops below the mini-
mum operating voltage, this may compromise contents of the counters.
The PC0MD register should normally be written only once after reset. The PC0MD SFR is the master
mode register. This register sets the counter mode and sample rate. Writing to the PC0MD SFR also
resets the other PC0xxx SFRs.
Note that the RTC clock will reset on an MCU reset, so counting cannot resume until the RTC clock has
been re-started.
Firmware should read the reset sources SFR RSTSRC to determine the source of the last reset and initial-
ize the Pulse Counter accordingly.
When the pulse counter resets, it takes some time (typically two RTC clock cycles) to synchronize between
internal clock domains. The counters do not increment during this synchronization time.
25.8. Wake up and Interrupt Sources
The Pulse Counter has multiple interrupt and wake-up source conditions. To enable an interrupt, enable
the source in the PC0INT0/1 SFRs and enable the Pulse Counter interrupt using bit 4 of the EIE2 bit regis-
ter. The Pulse Counter interrupt service routine should read the interrupt flags in PC0INT0/1 to determine
the source of the interrupt and clear the interrupt flags.
318
Integrator
Integrator Output
Charging
Samples
(set to 4)
PC0
Switch
Sensed
Integrator
1
4
1
4
Debounce
0
3
4
1
Figure 25.4. Debounce Timing
1
4
3
0
Rev. 0.5
2
0
1
0
0
0
1
1
0
0
Debounce
1
1
1
2
1
3
1
4

Related parts for C8051F964-A-GQ