參數(shù)資料
型號(hào): MC908QL2DT
廠商: Motorola, Inc.
英文描述: Microcontrollers
中文描述: 微控制器
文件頁數(shù): 154/222頁
文件大?。?/td> 2861K
代理商: MC908QL2DT
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁當(dāng)前第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁
Slave LIN Interface Controller (SLIC) Module
MC68HC908QL4 MC68HC908QL3 MC68HC908QL2 Data Sheet, Rev. 4
154
Freescale Semiconductor
14.9.7.1 LIN Message Headers
All LIN message frame headers are comprised of three components:
The first is the SYNCHRONIZATION BREAK (SYNCH BREAK) symbol, which is a dominant (low)
pulse at least 13 or more bit times long, followed by a recessive (high) synchronization delimiter of
at least one bit time. In LIN 2.0, this is allowed to be 10 or more bit times in length.
The second part is called the SYNCHRONIZATION FIELD (SYNCH FIELD) and is a single byte
with value 0x55. This value was chosen as it is the only one which provides a series of five falling
(recessive to dominant) transitions on the bus.
The third section of the message frame header is the IDENTIFIER FIELD (ID). The identifier is
covered more in
14.9.8 Handling Command Message Frames
and
14.9.9 Handling Request LIN
Message Frames
.
The SLIC automatically reads the incoming pattern of the SYNCHRONIZATION BREAK and FIELD and
determines the bit rate of the LIN data frame, as well as checking for errors in form and discerning
between a genuine BREAK/FIELD combination and a similar byte pattern somewhere in the data stream.
After the header has been verified to be valid and has been processed, the SLIC module updates the
SLIC bit time register (SLICBT) with the value obtained from the SYNCH FIELD and begins to receive the
ID.
If there are errors in the SYNCH BREAK/FIELD pattern, then an interrupt is generated. If unmasked, it
will trigger an MCU interrupt request and the resulting code in the SLIC state vector register (SLCSV) will
be an “Inconsistent-Synch-Field-Error,” based on the LIN protocol specification.
After the ID for the message frame has been received, an interrupt is generated by the SLIC and will
trigger an MCU interrupt request if unmasked. At this point, it might be possible that the ID was received
with errors such as a parity error (based on the LIN specification) or a byte framing error. If the ID did not
have any errors, it will be copied into the SLCD for the software to read. The SLCSV will indicate the type
error or that the ID was received correctly.
In a LIN system, the meaning and function of all messages, and therefore all message identifiers, is
pre-defined by the system designer. This information can be collected and stored in a standardized format
file, called a Configuration Language Description (CLD) file. In using the SLIC module, it is the
responsibility of the user software to determine the nature of the incoming message, and therefore how
to further handle that message.
The simplest case is when the SLIC receives a message which the user software determines is of no
interest to the application. In other words, the slave node does not need to receive or transmit any data
for this message frame. This might also apply to messages with zero data bytes (which is allowed by the
LIN specification). At this point, the user can set the IMSG control bit, and exit the interrupt service routine
by clearing the SLCIF flag. Because there is no data to be sent or received, the SLIC will not generate
another interrupt until the next message frame header or bus goes idle long enough to trigger a
“No-Bus-Activity” error according to the LIN specification.
NOTE
IMSG will prevent another interrupt from occurring for the current message
frame; however, if data bytes are appearing on the bus they may be
received and copied into the message buffer. This will delete any previous
data which might have been present in the buffer, even though no interrupt
is triggered to indicate the arrival of this data.
At the time the ID is read, the user might also choose to read SLCBT and copy this value out to an
application variable. This data can then be used at a time appropriate to both the application software and
相關(guān)PDF資料
PDF描述
MC908QL2DW Microcontrollers
MC908QL2M Microcontrollers
MC908QL2V Microcontrollers
MC908QL4DT Microcontrollers
MC908QL4DW Microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC908QL2DW 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Microcontrollers
MC908QL2M 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Microcontrollers
MC908QL2V 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Microcontrollers
MC908QL3C 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Microcontrollers
MC908QL3CDWE 功能描述:8位微控制器 -MCU NITRON LIN RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時(shí)鐘頻率:50 MHz 程序存儲(chǔ)器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT