MCHC912B32CFUE8 Freescale Semiconductor, MCHC912B32CFUE8 Datasheet - Page 140

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
Pulse-Width Modulator (PWM)
11.4.3 Code Listing
INCLUDE 'EQUATES.ASM'
; ----------------------------------------------------------------------
;
; ----------------------------------------------------------------------
;
MAIN:
;
;
;
DONE:
;* --------------------------------------------------------
;*
;* --------------------------------------------------------
TIMERINIT:
;
;
;
;
;
;
140
Subroutine TIMERINIT: Initialize Timer for PWM on OC5
ORG
BSR
BRA
CLR
MOVB
MOVB
MOVB
MOVB
MOVB
MOVW
MOVW
MOVB
RTS
A comment line is deliminted by a semi-colon. If there is no code before
comment, an “;” must be placed in the first column to avoid assembly
errors.
MAIN PROGRAM
$7000
TIMERINIT
DONE
TMSK1
#$0A,TMSK2
#$88,TCTL1
#$A0,TIOS
#$20,OC7M
#$20,OC7D
#$0800,TC7H
#$0400,TC5H
#$80,TSCR
; Equates for all registers
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:
; Out. comp. chan. using OC7 & OC5,
; no interrupts
; OC7 = PERIOD & OC5 = HIGH TIME of PWM
; Branch to itself, Convinient for Breakpoint
; Disable All Interrupts
; Disable overflow interrupt, disable pull-up
; resistor function with normal drive capability
; and Cntr reset by a succesful OC7 compare,
; Prescaler = sys clock / 4.
; Init. OC5 to Clear ouput line to zero on
; successful compare.
; Select Channel 5 and 7 to act as output compare.
; Initialize OC7 compare to affect OC5 pin(OC7M)
; Enable OC7 to set output compare 5 pin high(OC7D).
; Load TC7 with "PERIOD" of the PWM
; Load TC5 with "HIGH TIME" of the PWM.
; Enable Timer, Timer runs during wait state,
; and while in Background Mode, also clear flags
; normally.
; Return from Subroutine
NOTE
Freescale Semiconductor

Related parts for MCHC912B32CFUE8