DataSheet8.cn


PDF ( 数据手册 , 数据表 ) AN2633

零件编号 AN2633
描述 LIN Drivers Application Note
制造商 Motorola Semiconductors
LOGO Motorola Semiconductors LOGO 


1 Page

No Preview Available !

AN2633 数据手册, 描述, 功能
Application Note
AN2633/D
Rev. 1, 3/2004
LIN Drivers for SLIC Module
on the MC68HC908QL4
Freescale Semiconductor, Inc.
By: Matt Ruff
8/16 Bit Systems Engineering
Austin, Texas
Overview
This application note describes three versions of a slave LIN driver developed
for the slave LIN interface controller (SLIC) module on the MC68HC908QL4
(QL4) microcontroller unit (MCU). The slave driver comes with the Motorola
QL4 LIN kit evaluation board, which also contains AN2573/D: LIN Kits LIN
Evaluating Boards, which demonstrates the functionality of the driver.
The slave driver also comes with the M68EVBQL4 evaluation board (EVB)
from Metrowerks, along with a compatible version of the application code for
the EVB. The software for the LIN kit, including this driver, can be downloaded
from the Motorola LIN website: http://motorola.com/semiconductors/LIN
Local Interconnect
Network (LIN)
LIN (local interconnect network) is a low-cost communication protocol often
used in automotive applications that do not require the bandwidth and
versatility of CAN. The LIN bus uses only a single data wire and can
communicate at speeds up to 20 kbps. A LIN network has a single master and
multiple slaves, so bus arbitration is not required.
The driver and application was developed from the LIN Specification Package.
(See References for this and other useful resources.)
NOTE:
With the exception of mask set errata documents, if any other Motorola
document contains information that conflicts with the information in the device
data sheet, the data sheet should be considered to have the most current and
correct data.
Cyclone® and MultiLink® are registered trademarks of P&E Microcomputer Systems, Inc.
This product incorporates SuperFlash® technology licensed from SST.
© Freescale Semiconductor, Inc., 2004. All rights reserved.
For More Information On This Product,
Go to: www.freescale.com
© Motorola, Inc., 2004
Free Datasheet http://www.Datasheet4U.com







AN2633 pdf, 数据表
AN2633/D
Freescale Semiconductor, Inc.
Hardware M68EVB908QL4 Evaluation Board
The QL4 evaluation board is made from a QL4 with an added enhanced LIN
interface, which consists of an MC33661 enhanced LIN transceiver and a 5-V
regulator (an LT1121 chip). The board can be programmed either using the
RS-232 MON08 interface or a Cyclone/MultiLink tool.
The primary difference between the EVB and the LIN kit board is the
connection of inputs and outputs. There is only one LED (D1) on the EVB,
which is used for displaying the least significant data bit. This bit is inverted in
software to accommodate the circuitry differences in the boards, keeping the
interface consistent so that a logic 1 turns on the LED.
The other three bits of data, which are output to LEDs D7, D6, and D5 on the
LIN kit board, are still brought out to PTB1, PTB2, and PTB6, respectively.
The input button is used differently on the LIN kit board and EVB. Because
there is not a dedicated button for the application on the EVB, the reset button
is reused. Because the reset function on the QL4 device isnt active unless
activated by software in user mode, there is no problem using this button for the
application.
Another major difference with running application code on the EVB is the
presence of the enhanced LIN transceiver (MC33661). This allows the
possibility of controlling the physical layer slew rate through software control of
the enable (EN) pin of the device. Operation of this feature is beyond the scope
of this application note. Refer to the documentation for the MC33661 device for
more information.
8 LIN Drivers for SLIC Module on the MC68HC908QL4
For More Information On This Product,
Go to: www.freescale.com
Free Datasheet http://www.Datasheet4U.com







AN2633 equivalent, schematic
AN2633/D
Freescale Semiconductor, Inc.
CodeWarrior Project C Source Code SLIC Driver with API
The API version of the code is designed to provide essentially the same
interface as the one contained in AN2599/D for QT/QY LIN slave drivers.
As mentioned before, this driver is included in the LIN kit demo software, which
can be downloaded free from the Motorola web site. It also comes with the
M68EVB908QL4 evaluation board. It comes in the form of a Metrowerks
CodeWarrior 3.0 project (LINQL4-API.mcp). The project structure can be seen
below:
Figure 11. CodeWarrior Project (LINQL4-API.mcp) C Source Code with
Standard API
The LIN driver consists of four files:
Table 2. Files in LIN Driver
File
SLIC_LINdriver.c
LINapi.c
Description
contains the main driver code(1)
contains all the driver API functions
LINmsg.c
where all LIN message frames are
defined
SLIC_LINdriver.h
header file for the driver
1. This is a different file than the one in the C project
16 LIN Drivers for SLIC Module on the MC68HC908QL4
For More Information On This Product,
Go to: www.freescale.com
Free Datasheet http://www.Datasheet4U.com










页数 30 页
下载[ AN2633.PDF 数据手册 ]


分享链接

Link :

推荐数据表

零件编号描述制造商
AN2633LIN Drivers Application NoteMotorola Semiconductors
Motorola Semiconductors
AN2633STR91xFA low power management and power consumption Application noteSTMicroelectronics
STMicroelectronics
AN2635On-Chip FLASH Programming RoutinesFreescale Semiconductor
Freescale Semiconductor

零件编号描述制造商
STK15C88256-Kbit (32 K x 8) PowerStore nvSRAMCypress Semiconductor
Cypress Semiconductor
NJM4556DUAL HIGH CURRENT OPERATIONAL AMPLIFIERNew Japan Radio
New Japan Radio
EL1118-G5 PIN LONG CREEPAGE SOP PHOTOTRANSISTOR PHOTOCOUPLEREverlight
Everlight


DataSheet8.cn    |   2020   |  联系我们   |   搜索  |  Simemap