资料介绍
The PIC16C433 is a standard PIC16CXXX micro-
controller with a LIN (Local Interconnect Network)
transceiver integrated into the device. Therefore, the
microcontroller already has the necessary hardware to
easily integrate the device into a LIN system. This
application note provides a firmware base (driver) for
the system designer to use on the PIC16C433. The
driver utilizes the resources available, including the
Timer0 module, Timer0 prescaler, GPIO interrupt-on-
change or the external interrupt, and the LIN trans-
ceiver. In this document, significant effort is spent dem-
onstrating how to setup and use the driver. Some
general information and tips are also discussed to help
the designer build their application seamlessly in the
LIN environment. In addition, for the curious designer,
some additional details about the driver are provided
toward the end of the document.
The reader should note information in this application
note is presented with the assumption that the reader
is familiar with LIN specification v1.2, the most current
specification available at the initial release of this doc-
ument. Therefore, not all details about LIN are dis-
cussed. Refer to the references listed on page 14 for
additional information. AN240
LIN Slave Node on a PIC16C433
Author: Ross Fosler FIGURE 1: AVAILABLE PROCESS TIME
Microchip Technology, Inc. (FOSC AT 4 MHZ)
INTRODUCTION
Average Time Available
70%
The PIC16C433 is a standard PIC16CXXX micro-
controller with a LIN (Local Interconnect Network)
transceiver integrated into the device. Therefore, the