參數(shù)資料
型號: MC68HC16Z1VEH16
廠商: Freescale Semiconductor
文件頁數(shù): 32/56頁
文件大小: 0K
描述: IC MCU 16BIT 1K FLASH 132-PQFP
標準包裝: 36
系列: HC16
核心處理器: CPU16
芯體尺寸: 16-位
速度: 16MHz
連通性: EBI/EMI,SCI,SPI
外圍設(shè)備: POR,PWM,WDT
輸入/輸出數(shù): 16
程序存儲器類型: ROMless
RAM 容量: 1K x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 8x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 105°C
封裝/外殼: 132-BQFP 緩沖式
包裝: 托盤
MC68HC16Z1TUT/D
INCLUDE 'init_res.asm' ;initialize reset vector
INCLUDE 'init_int.asm' ;initialize exception table
ORG
$200
;begin program at $200, immediately after
;the exception table
INITSYS:
LDAB
#$0F
TBEK
;point to internal registers
LDAB
#$03
TBXK
;point XK to bank 3 for external RAM access
LDX
#$0000
;now X points to $30000
LDAA
#$7F
STAA
SYNCR
;set system clock to 16.78 MHz
CLRA
STAA
SYPCR
;disable software watchdog
LDD
MCR
ANDD
#$FFF0
;set interrupt arbitration field to a
ORD
#$0005
;unique value.
STD
MCR
INITCS:
* This section initializes two 32K x 8 RAM chips using the Chip Selects. The
* memory will start at address $30000 and will be both byte and word readable
* and writable. This program assumes that the RAM chips have access times of
* 85 ns and require no wait states. The DSACK field of the CSOR Registers may
* need to be adjusted for chips that have faster or slower access times.
* The hardware configuration should be similar to Figure 13b shown earlier
* in this tutorial in the section “Connecting Memory and Peripherals.” However,
* if loading this program into memory using a debugger, connect CSBOOT to
* RAM instead of ROM.
*******************************************************************
LDD
#$0003
STD
CSBARBT
;base address of $00000, block size of 64K
LDD
#$7870
STD
CSORBT
;both bytes, R/W, one wait state (if you
;are programming this code into ROM, set
;this field to $6B30).
* Set up chip selects with a base address of $30000, block size of 64K
LDD
#$0303
STD
CSBAR0
;set CS0 base addr to $30000, 64K blk
LDD
#$0303
STD
CSBAR1
;set CS1 RAM base addr to $30000, 64K blk
STD
CSBAR2
;set Chip Select 2 at base addr $30000
LDD
#$5030
STD
CSOR0
;set Chip Select 0, upper byte, write only
LDD
#$3030
STD
CSOR1
;set Chip Select 1, lower byte, write only
LDD
#$6830
STD
CSOR2
;set Chip Select 2, both bytes, read only
LDD
#$3FFF
STD
CSPAR0
;set Chip Selects 0,1,2 to 16-bit ports
CLRW
$0000,X
;write 0 to $30000
INIT_PIT:
* This section of code initializes the periodic interrupt timer to interrupt
* every second, assuming a 32 kHz input to EXTAL.
LDD
#CLKINT
STD
$0080,Z
;store starting addr of interrupt routine
;at location $80 ($40 X 2). Z was
;initialized to 0 in "init_res.asm".
LDD
#$0640
STD
PICR
;interrupt level 6, vector $40
LDD
#$0110
STD
PITR
;time-out period of 1 second
ANDP
#$FF1F
;mask interrupts below level 6
ORP
#$00A0
ITSELF
BRA ITSELF
;stay here while waiting for interrupts
CLKINT
;interrupt routine for PIT
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.
相關(guān)PDF資料
PDF描述
MC68HC705B16NCFN IC MCU 2.1MHZ 15K OTP 52-PLCC
MC68HC705C9ACFB IC MCU 16K 2.1MHZ OTP 44-QFP
MC68HC705JP7CDW IC MCU 8BIT 28-SOIC
MC68HC705KJ1CP IC MCU 4MHZ 1.2K OTP 16-DIP
MC68HC705P6ACP IC MCU 2.1MHZ 4.5K OTP 28-DIP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC16Z1VEH16 制造商:Freescale Semiconductor 功能描述:Microcontroller
MC68HC16Z1VFC16 制造商:Rochester Electronics LLC 功能描述:16 BIT MCU, 1K RAM - Bulk
MC68HC16Z3BCFC16 制造商:Rochester Electronics LLC 功能描述:
MC68HC16Z3BCPV16 制造商:Rochester Electronics LLC 功能描述:16BIT MCU, 4KRAM, 8KROM - Bulk
MC68HC16Z3BCPV25 制造商:Rochester Electronics LLC 功能描述:- Bulk 制造商:Freescale Semiconductor 功能描述: