PIC16C432-I/SS Microchip Technology, PIC16C432-I/SS Datasheet - Page 3

IC MCU CMOS 8BIT 20MHZ 2K 20SSOP

PIC16C432-I/SS

Manufacturer Part Number
PIC16C432-I/SS
Description
IC MCU CMOS 8BIT 20MHZ 2K 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C432-I/SS

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
LIN (Local Interconnect Network)
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
12
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SSOP
For Use With
AC164029 - MODULE SKT PROMATEII 20DIP/SSOP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Page 27 of the Data Sheet, Section 6.2 LIN Bus Inter-
facing, Section 6.3 LIN Bus Hardware Interface and
Section 6.5 Wake-up from SLEEP upon Bus Activity,
have been changed to the following:
6.2
The LIN protocol is implemented and programmed by
the user, using the LINTX and LINRX bits, which are
used to interface to the transceiver. The LIN Bus firm-
ware transmits by toggling the LINTX bit in the LININTF
register and is read by reading the LINRX bit in the
PORTA register. All aspects of the protocol are handled
by software (i.e. bit-banged), where the transceiver is
used as the physical interface to the LIN Bus network.
For an interrupt based LIN Bus slave implementation,
please refer to AN729, available on Microchip’s web-
site (www.microchip.com). This application note is
based on PIC16C622, but can be converted for either
PIC16C432 or PIC16C433.
For the PIC16C432, the changes required include but
are not limited to:
1.
2.
3.
4.
5.
If the LINTX bit is left cleared, no other nodes on the
network will be able to communicate on the LIN Bus for
this is the dominate state for the protocol. The trans-
ceiver can be powered down by clearing the LINVDD
bit in the LININTF register. This can be useful to reduce
current consumption but does not allow the microcon-
troller to wake-up on LIN Bus activity because the
transceiver will be disabled. It is recommended that the
firmware verify each bit transmitted, by comparing the
LINTX and LINRX bits, to ensure no bus contention or
hardware failure has occurred. The LINTX bit has no
associated TRIS bit and is always an output. The
LINRX bit has an associated TRIS bit, TLINRX, in the
TRISA register.
6.3 LIN Bus Hardware Interface
Figure 6-1 shows how to implement a hardware LIN
Bus interface in a master configuration and Figure 6-2
in a slave configuration using the PIC16C432. Figure 6-
3 shows how to implement the hardware for a master
configuration using BACT pin to generate a wake-up
Note:
Note:
2001 Microchip Technology Inc.
Change the include file to "p16C432.inc".
Use LINTX bit in LININTF register instead of
TXLINEPIN in PORTB to transmit. Note LIN-
INTF is in bank 1.
Use LINRX bit in PORTA register instead of
TXLINEPIN in PORTB to receive.
Connect the bus to LIN pin to receive and trans-
mit instead of PORTB<0> and PORTB<4>.
Ensure that LINRX and LINVDD remain set.
LIN Bus Interfacing
The LINTX is bit 2 of the LININTF register
and not bit 1 as documented in the
PIC16C432 data sheet.
TLINRX, bit 1 of TRISA register, must be
set to ’1’ at all times.
interrupt using RB0. The transceiver has an internal
series resistor and diode, as defined in the LIN 1.2
specification, connecting V
6.5 Wake-up from SLEEP upon Bus Activity
The PIC16C432 can wake-up from SLEEP upon bus
activity in two ways:
1.
2.
In case the comparators are used to wake-up the
device upon bus activity, a reference to the LIN Bus sig-
nal has to be supplied. This is usually V
ence can either be an external reference or the internal
voltage reference. Once the device is in SLEEP mode,
the comparator interrupt will wake-up the device. On
RESET, LINRX is configured as an analog comparator
input (Section 8.1 of Data Sheet) which can be used to
generate an interrupt to wake-up the device from
SLEEP on bus activity. The LINRX bit will not receive
data from the bus configured as an analog input, there-
fore, after wake-up from comparator interrupt or
RESET, LINRX must be configured as a digital input to
read the bus.
The BACT output is a CMOS-levels representation of
the LIN pin. This signal can be routed to one of the
PORTB<0,4:7> pins. The RB0/INT external interrupt or
PORTB<4:7> interrupt-on-change wakes up the device
from SLEEP. Any one of the five PORTB pins can be
used for wake-up where PORTB<0> offers multiple
configuration options (Section 10.5.1 of Data Sheet)
and PORTB<4:7> are interrupt-on-change (Section
10.5.3 of Data Sheet).
Note:
Note:
Connecting BACT to one of PORTB<0,4:7>
pins.
With the use of the comparators.
BACT pin is an output and must be left
open if unused.
and 12V supply and for slave configura-
tion, no resistor is required between V
and LIN.
No resistor is required between V
PIC16C432
BAT
and LIN.
DS80105C-page 3
DD
/2. The refer-
BAT
BAT
pin

Related parts for PIC16C432-I/SS