【正文】
而是提供一個扇區(qū)或整個用戶代碼區(qū)的 32 位 CRC 結(jié)果 附外文原文: P89LPC952 1. General description The P89LPC952 is a singlechip microcontroller, available in low cost packages, based on a high performance processor architecture that executes instructions in two to four clocks,six times the rate of standard 80C51 devices. Many systemlevel functions have been incorporated into the P89LPC952 in order to reduce ponent count, board space, and system cost. 2. Features Principal features 8 kB byteerasable flash code memory organized into 1 kB sectors and 64byte erasing allows any byte(s) to be used as nonvolatile data storage. 256byte RAM data memory and a 256byte auxiliary onchip RAM. 8input multiplexed 10bit ADC with window parator that can generate an interrupt for in or out of range results. Two analog parators with selectable inputs and reference source. Two 16bit counter/timers (each may be configured to toggle a port output upon timer overflow or to bee a PWM output) and a 23bit system timer that can also be used as a RTC. Two enhanced UARTs with a fractional baud rate generator, break detect, framing error detection, and automatic address detection。通過系統(tǒng)提供的串行時鐘 /串行數(shù)據(jù)接口來實現(xiàn) ICP 編程。因此,非加密扇區(qū)的任何字節(jié)都可用來存儲非易失性數(shù)據(jù)。每個扇區(qū)可進一步分 成 64 字節(jié)的頁。 ?可對每一個 Flash 扇區(qū)進行編程加密。 ?Boot 向量允許用戶將 Flash 裝載代碼放入 Flash 存儲器內(nèi)的任何位置。 ?使用 ISP/IAP/ICP 進行讀 /編程 /擦除。存儲單元的設(shè)計優(yōu)化了擦除和編程機制。 ICP 功能通過標準商用編程器來實現(xiàn)。 P89LPC952 Flash 存儲器 P89LPC952 Flash 存儲器提供電路中的電擦除和編程。 ? 施密特觸發(fā)端口輸入。當 P0 口管腳的值與一個可編程的模式匹配或者不匹配時,可產(chǎn)生一個中斷。 ? 振蕩器失效檢測。另外還提供軟件復(fù)位功能。典型的掉電電流為 1μA (比較器關(guān)閉時的完全掉電狀態(tài))。 ? 低電壓(掉電)檢測可在電源故障時使系統(tǒng)安全關(guān)閉。 Flash保密位可防止程序被讀出。 其它特性 ? 當操作頻率為 18MHz 時,除乘法和除法指令外,高速 80C51 CPU 的指令執(zhí)行時間為 111~222ns。其它所有的端口管腳都有高消耗電流的能力( 20mA)。 ? VDD 操作電壓范圍為 ~ 。 400kHz 字節(jié)寬度的 I2C 通信端口和 SPI 通信端口。 ? 具有 window 比較器的 8 輸入多路 10 位 A/D 轉(zhuǎn)換器,結(jié)果在允許范圍以內(nèi)或以外 都可產(chǎn)生中斷。 P89LPC952集成了許多系統(tǒng)級的功能,這樣可大大減少元件的數(shù)目和電路板面積并降低系統(tǒng)的成本。P89LPC952 1. 概述 P89LPC952 是一款單片封裝的微控制器,含有多種低成本的封裝形式。 2. 特性 主要特性 ? 8KB 可擦除 Flash 程序存儲器,具有 1KB 扇區(qū)和 64 字節(jié)頁。 2 個模擬比較器可選擇輸入和參考源。 ? 片內(nèi)高精度的 RC 振蕩器選項帶有時鐘倍頻器,無需外 接振蕩器件。 I/O 口可承受 5V(可上拉或驅(qū)動到)。整個芯片指定了最大值的限制。同一時鐘頻率下,其速度為標準 80C51 器件的 6 倍。 ? 串行 Flash 在系統(tǒng)編程( ISP