MCHC912B32CFUE8 Freescale Semiconductor, MCHC912B32CFUE8 Datasheet - Page 157

IC MCU 32K FLASH 8MHZ 80-QFP

MCHC912B32CFUE8

Manufacturer Part Number
MCHC912B32CFUE8
Description
IC MCU 32K FLASH 8MHZ 80-QFP
Manufacturer
Freescale Semiconductor
Series
HC12r
Datasheet

Specifications of MCHC912B32CFUE8

Core Processor
CPU12
Core Size
16-Bit
Speed
8MHz
Connectivity
SCI, SPI
Peripherals
POR, PWM, WDT
Number Of I /o
63
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Eeprom Size
768 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
80-QFP
Cpu Family
HC12
Device Core Size
16b
Frequency (max)
8MHz
Interface Type
SCI/SPI
Total Internal Ram Size
1KB
# I/os (max)
63
Operating Supply Voltage (typ)
5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
4.5V
On-chip Adc
8-chx10-bit
Instruction Set Architecture
CISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
80
Package Type
PQFP
Package
80PQFP
Family Name
HC12
Maximum Speed
8 MHz
Operating Supply Voltage
5 V
Data Bus Width
16 Bit
Number Of Programmable I/os
63
Processor Series
HC912B
Core
HC12
Data Ram Size
1 KB
Maximum Clock Frequency
8 MHz
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
EWHCS12
Development Tools By Supplier
M68EVB912B32E
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCHC912B32CFUE8
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Company:
Part Number:
MCHC912B32CFUE8
Quantity:
300
----------------------------------------------------------------------
;
; ----------------------------------------------------------------------
;
MAIN:
;
DONE:
;* -----------------------------------------------------------------
;*
;* -----------------------------------------------------------------
TIMERINIT:
;
;
;
;
;* ------------------------------
;*
;* ------------------------------
SQWAVE:
;* -------
CLEARFLG:
;* -------
;*
;*
WTFLG:
Freescale Semiconductor
Subroutine TIMERINIT: Initialize Timer for Output Compare on OC2
To clear the C2F flag: 1) read TFLG1 when
C2F is set and then 2) write a logic "one" to C2F.
SUBROUTINE:
ORG
BSR
BSR
BRA
CLR
MOVB
MOVB
MOVB
MOVW
MOVB
RTS
LDAA
ORAA
STAA
BRCLR
LDD
ADDD
STD
BRA
RTS
END
MAIN PROGRAM
$7000
TIMERINIT
SQWAVE
DONE
TMSK1
#$02,TMSK2
#$10,TCTL2
#$04,TIOS
#$0400,TC2H
#$80,TSCR
TFLG1
#$04
TFLG1
TFLG1,#$04,WTFLG
TC2H
#$0400
TC2H
CLEARFLG
SQWAVE
M68HC12B Family Data Sheet, Rev. 9.1
; 16K On-Board RAM, User code data area,
; start main program at $7000
; Subroutine used to initialize the timer:
; Output compare channel, no interrupts
; Subroutine to generate square wave
; Branch to itself, Convinient for Breakpoint
; Disable All Interrupts
; Disable overflow interrupt, disable pull-up
; resistor function with normal drive capability
; and free running counter, Prescaler = sys clock/4.
; Initialize OC2 to toggle on successful compare.
; Select Channel 2 to act as output compare.
; Load TC2 Reg with initial compare value.
; Enable Timer, Timer runs during wait state, and
; while in Background Mode, also clear flags
; normally.
; Return from Subroutine
; To clear OC2 Flag, first it must be read,
; then a "1" must be written to it
; Wait (Polling) for C2F Flag
; Loads value of compare from TC2 Reg.
; Add hex value of 500us High Time
; Set-up next transition time in 500 us
; Continuously add 500 us, branch to CLEARFLAG
; return from Subroutine
; End of program
Using the Output Compare Function to Generate a Square Wave
157

Related parts for MCHC912B32CFUE8