參數(shù)資料
型號: MC68HC55CD
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 4 CHANNEL(S), SERIAL COMM CONTROLLER, PDSO16
封裝: SOIC-16
文件頁數(shù): 25/40頁
文件大?。?/td> 284K
代理商: MC68HC55CD
MC68HC55 Technical Data
CRC Computation
MC68HC55
Technical Data
Functional Description
31
4.7 CRC Computation
The 4-bit CRC uses an initialization value of 1010 and a polynomial of
x4+1. The following is a VHDL description of the CRC algorithm.
---------------------------------------------------------
-- Calculates the 4-bit CRC (x^4 + 1) serially for
-- 8 or 16 bits of data.
---------------------------------------------------------
constant CRCPoly: std_logic_vector := “0001”; -- x^4 +1
constant InitCrc: std_logic_vector := “1010”;
procedure SerialCalculateCRC4(CRC: input std_logic_vector;Data: in std_logic) is
variable Xor1: std_logic;
begin
Xor1 := CRC(3) xor Data;
CRC := CRC(2 downto 0) & ‘0’; -- Shift left 1 bit
if Xor1 = ‘1’ then
CRC := CRC xor CRCPoly
end if;
end SerialCalculateCRC4;
4.8 Message Size Special Cases
The response to any 8-bit message is expected to be another 8-bit
message and the response to any 16-bit message is expected to be
another 16-bit message. All DSI messages are initiated by the master
MCU through the DSI/D. This cuases to some special cases when there
is a transition from one message size to a different message size. The
first DSI messages that set up the addresses of the DSI system
peripherals are 16-bit messages. The firing commands are also 16-bit
messages. All other messages are eight bits.
相關(guān)PDF資料
PDF描述
MC68HC705C4ACFN 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PQCC44
MC68HC705C4ACP 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PDIP40
MC68HC705C4ACFB 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PQFP44
MC68HC705CL4FU 8-BIT, MROM, 1.84 MHz, MICROCONTROLLER, PQFP80
MC68HC705E1P 8-BIT, OTPROM, 1 MHz, MICROCONTROLLER, PDIP28
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC68T1P 制造商:Motorola Inc 功能描述:
MC68HC705B16CFN 制造商:Motorola Inc 功能描述:
MC68HC705B16FN 制造商:Rochester Electronics LLC 功能描述:
MC68HC705B16NB 制造商:Rochester Electronics LLC 功能描述:
MC68HC705B16NCB 制造商:Rochester Electronics LLC 功能描述: