MC16Z3BCAG16 Freescale Semiconductor, MC16Z3BCAG16 Datasheet - Page 472

no-image

MC16Z3BCAG16

Manufacturer Part Number
MC16Z3BCAG16
Description
IC MCU 16BIT HI SPEED 144-LQFP
Manufacturer
Freescale Semiconductor
Series
HC16r
Datasheet

Specifications of MC16Z3BCAG16

Core Processor
CPU16
Core Size
16-Bit
Speed
16MHz
Connectivity
EBI/EMI, SCI, SPI
Peripherals
POR, PWM, WDT
Number Of I /o
16
Program Memory Size
8KB (8K x 8)
Program Memory Type
Mask ROM
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
144-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC16Z3BCAG16
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
NO_DOG: LDX
PRINT:
*****
MAIN:
*****
SEND_STRING:
string
STRING_DONE:
SEND_CH:
again
TC_LOOP:
*****
DOG_STRING
NO_DOG_STR
AUTOV_STRING DC 'Feeding the dog...',0a,0d,00
*****
VECRT:
SECONDS:
E-20
The Main Program
Subroutines
The STRINGs
Periodic Interrupt Vector Routine
CMPB
BNE
LDX
BRA
JSR
ANDP
NOP
BRA
LDAB
BEQ
JSR
AIX
BRA
RTS
LDAA
ANDA
BEQ
LDAA
STD
LDAB
ANDB
BEQ
RTS
DC 'The Software Watchdog just caused a reset!',0a,0d,00
DC 'The last reset was not caused by the COP.',0a,0d,00
#$20
NO_DOG
#DOG_STRING
PRINT
#NO_DOG_STR
SEND_STRING
#$FF1F
MAIN
0,X
STRING_DONE
SEND_CH
#$01
SEND_STRING
SCSR
#$01
SEND_CH
#$00
SCDR
SCSR+1
#$80
TC_LOOP
INITIALIZATION AND PROGRAMMING EXAMPLES
*****
*****
Freescale Semiconductor, Inc.
For More Information On This Product,
*****
Go to: www.freescale.com
;choose which string start address to load
;COP caused the reset
;COP did not cause the reset
;print the string to the screen
;set interrupt priority mask level to 0
;keep on looping until watchdog causes a reset
;or we get some other interrupt
;subroutine to send out the entire ASCII
;get next byte in string as pointed to by IX
;if B=00, then we're done
;go send out the byte
;increment IX to point to the next byte
;loop back and do next byte in string
;go back to whence we came
;subroutine to send out one byte to SCI
;read SCI status reg to check/clear TDRE bit
;check only the TDRE flag bit
;if TDR is not empty, go back to check it
;clear A to send a full word to SCDR ($FFC0E)
;transmit one ASCII character to the screen
;test the TC bit (transfer complete)
;continue to wait until TC is set
;finish sending out byte
;When the processor is interrupted by the
;periodic timer, it will run this routine.
;This routine simply increments a clock
;every time it is interrupted, and prints
;the clock out on the dummy terminal.
;advance the counter for seconds
*****
M68HC16 Z SERIES
USER’S MANUAL

Related parts for MC16Z3BCAG16