PIC16C433-E/SO Microchip Technology, PIC16C433-E/SO Datasheet - Page 3

IC MCU CMOS 8BIT 10MHZ 2K 18SOIC

PIC16C433-E/SO

Manufacturer Part Number
PIC16C433-E/SO
Description
IC MCU CMOS 8BIT 10MHZ 2K 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C433-E/SO

Core Processor
PIC
Core Size
8-Bit
Speed
10MHz
Connectivity
LIN (Local Interconnect Network)
Peripherals
POR, WDT
Number Of I /o
5
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
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
18-SOIC (7.5mm Width)
For Use With
AC164030 - MODULE SKT PROMATEII 28DIP/SOIC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Page 25 of the Data Sheet, Section 5.4 The BACT Pin,
has been changed to the following:
5.4 The BACT Pin
The BACT pin can be used to wake-up the device from
SLEEP upon bus activity. In order to wake the bus up,
the BACT pin has to be tied to one of the GPIO<0:3>
pins. Any one of the four GPIO pins can be used for
wake-up where GPIO<2> is an external interrupt which
offers multiple configuration options (Section 9.5.2 of
Data Sheet) and GPIO<0:1,3> are interrupt-on-change
(Section 9.5.3 of Data Sheet). The BACT output is a
CMOS- levels representation of the LIN pin. This pin is
not latched.
Page 33 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 LIN Bus Interfacing
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 GPIO
register and is read by reading the LINRX bit in the
GPIO 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 PIC16C433, the changes required include but
are not limited to:
1.
2.
3.
4.
The transceiver in the PIC16C433 uses the microcon-
troller’s dual-die interface; therefore, the software must
initialize the LINTX and LINRX bits to a ’1’ before each
LIN communication. If the LINTX bit is left cleared (e.g.
CLRF GPIO), no other nodes on the network will be
able to communicate on the LIN Bus until LINTX is set
to ’1’ for ’0’ is the dominate state for the protocol.
EXAMPLE 6-1: INITIALIZING LINTX AND LINRX BITS
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
2001 Microchip Technology Inc.
Change the include file to "p16C433.inc".
Use LINTX bit in GPIO register instead of
TXLINEPIN in PORTB to transmit.
Use LINRX bit in GPIO 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>.
MOVLW
MOVWF
H’C0’
GPIO
occurred. The LINTX and LINRX bits have no associ-
ated TRIS bits. Therefore, LINTX is always an output
and LINRX is always an input.
6.3 LIN Bus Hardware Interface
Figure 6-1 shows how to implement the hardware LIN
Bus interface in a master configuration and Figure 6-2
in a slave configuration using the PIC16C433. Figure 6-
3 shows how to implement the hardware for a master
configuration using BACT pin to generate a wake-up
interrupt using GP2. 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 PIC16C433 can wake-up from SLEEP upon bus
activity in the following way:
1.
The BACT output is a CMOS-levels representation of
the LIN pin. This signal can be routed to one of the
GPIO<0:3> pins. The GPIO<2> external interrupt or
GPIO<0:1,3> interrupt-on-change wakes up the device
from SLEEP. Any one of the four GPIO pins can be
used for wake-up where GPIO<2> offers multiple con-
figuration options (Section 9.5.2 of Data Sheet) and
GPIO<0:1,3> are interrupt-on-change (Section 9.5.3 of
Data Sheet).
Note:
Note:
Connect BACT to one of GPIO<0:3> pins.
No resistor is required between V
and 12V supply and for slave configura-
tion, no resistor is required between V
and LIN.
BACT pin is an output and must be left
open if unused.
PIC16C433
BAT
and LIN pin.
DS80116B-page 3
BAT
BAT
pin

Related parts for PIC16C433-E/SO