PIC16F636-I/P Microchip Technology Inc., PIC16F636-I/P Datasheet - Page 93

no-image

PIC16F636-I/P

Manufacturer Part Number
PIC16F636-I/P
Description
14 PIN, 3.5 KB FLASH, 128 RAM, 12 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F636-I/P

Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
12
Memory Type
Flash
Number Of Bits
8
Package Type
14-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
1-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
11.22 Low Current Sleep Mode
The Sleep command from the microcontroller, via an
SPI Interface command, places the AFE into an ultra
Low-current mode. All circuits including the RF Limiter,
except the minimum circuitry required to retain register
memory and SPI capability, will be powered down to
minimize the AFE current draw. Power-on Reset or any
SPI command, other than Sleep command, is required
to wake the AFE from Sleep.
11.23 Low Current Standby Mode
The AFE is in Standby mode when no LF signal is
present on the antenna inputs but the AFE is powered
and ready to receive any incoming signals.
11.24 Low Current Operating Mode
The AFE is in Low-current Operating mode when a LF
signal is present on an LF antenna input and internal
circuitry is switching with the received data.
TABLE 11-4:
© 2005 Microchip Technology Inc.
Configuration Register 0
Configuration Register 1
Configuration Register 2
Configuration Register 3
Configuration Register 4
Configuration Register 5
Configuration Register 6
(Column Parity Register)
Register Name
AFE CONFIGURATION REGISTER PARITY BIT EXAMPLE
Bit 8
1
0
0
0
0
1
1
Bit 7
0
0
0
0
0
0
1
PIC12F635/PIC16F636/639
Bit 6
Preliminary
1
0
0
0
0
0
0
Bit 5
0
0
0
0
0
0
1
11.25 Error Detection of AFE
The AFE's Configuration registers are volatile memory.
Therefore, the contents of the registers can be
corrupted or cleared by any electrical incidence such
as battery disconnect. To ensure the data integrity, the
AFE has an error detection mechanism using row and
column parity bits of the Configuration register memory
map. The bit 0 of each register is a row parity bit which
is calculated over the eight configuration bits (from bit 1
to bit 8). The Column Parity Register (Configuration
Register 6) holds column parity bits; each bit is
calculated over the respective columns (Configuration
registers 0 to 5) of the Configuration bits. The Status
register is not included for the column parity bit
calculation. Parity is to be odd. The parity bit set or
cleared makes an odd number of set bits. The user
needs to calculate the row and column parity bits using
the contents of the registers and program them. During
operation, the AFE continuously calculates the row and
column parity bits of the configuration memory map. If
a parity error occurs, the AFE lowers the SCLK/ALERT
pin (interrupting the microcontroller section) indicating
the configuration memory has been corrupted or
unloaded and needs to be reprogrammed.
At an initial condition after a Power-On-Reset, the
values of the registers are all clear (default condition).
Therefore, the AFE will issue the parity bit error by
lowering the SCLK/ALERT pin. If user reprograms the
registers with correct parity bits, the SCLK/ALERT pin
will be toggled to logic high level immediately.
The parity bit errors do not change or affect the AFE's
functional operation.
Table 11-4 shows an example of the register values
and corresponding parity bits.
Bit 4
1
0
0
0
0
0
0
Configuration Register Data
Bit 3
0
0
0
0
0
0
1
Bit 2
0
0
0
0
0
0
1
Bit 1
0
0
0
0
0
0
1
DS41232B-page 91
(Row Parity)
Bit 0
0
1
1
1
1
0
1

Related parts for PIC16F636-I/P