MC56F8257MLH Freescale Semiconductor, MC56F8257MLH Datasheet - Page 169

DSC 64K FLASH 60MHZ 64-LQFP

MC56F8257MLH

Manufacturer Part Number
MC56F8257MLH
Description
DSC 64K FLASH 60MHZ 64-LQFP
Manufacturer
Freescale Semiconductor
Series
56F8xxxr

Specifications of MC56F8257MLH

Core Processor
56800E
Core Size
16-Bit
Speed
60MHz
Connectivity
CAN, I²C, LIN, SCI, SPI
Peripherals
LVD, POR, PWM, WDT
Number Of I /o
54
Program Memory Size
64KB (32K x 16)
Program Memory Type
FLASH
Ram Size
4K x 16
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Data Converters
A/D 16x12b, D/A 1x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 105°C
Package / Case
64-LQFP
Product
DSCs
Processor Series
56800E
Core
56800E
Device Million Instructions Per Second
60 MIPs
Maximum Clock Frequency
60 MHz
Number Of Programmable I/os
54
Data Ram Size
8 KB
Operating Supply Voltage
3.3 V
Maximum Operating Temperature
+ 105 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
On-chip Adc
12 bit, 8 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC56F8257MLH
Manufacturer:
MOTOLOLA
Quantity:
560
Part Number:
MC56F8257MLH
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
>
6.6.2.4 Gated-Count Mode
If CTRL[CM] is set to '011', the counter will count while the selected secondary input
signal is high. This mode is used to time the duration of external events. If the selected
input is inverted by setting SCTRL[IPS] (input polarity select), then the counter will
count while the selected secondary input is low.
Example: 6.6.2.4.1 Capture Duration of External Pulse
>
Freescale Semiconductor
//
//
//
//
void Pulse_Init(void)
{
}
//
//
//
//
//
//
//
//
void Pulse1_Init(void)
{
}
/* TMRA1_CTRL: CM=0,PCS=3,SCS=0,ONCE=0,LENGTH=0,DIR=0,Co_INIT=0,OM=0 */
setReg(TMRA1_CTRL,0x0600);
/* TMRA1_SCTRL: TCF=0,TCFIE=0,TOF=0,TOFIE=0,IEF=0,IEFIE=0,IPS=0,INPUT=0,
setReg(TMRA1_SCTRL,0x00);
setReg(TMRA1_CNTR,0x00);
setReg(TMRA1_LOAD,0x00);
setRegBitGroup(TMRA1_CTRL,CM,0x02);
/* TMRA1_CTRL: CM=0,PCS=8,SCS=1,ONCE=0,LENGTH=0,DIR=0,Co_INIT=0,OM=0 */
setReg(TMRA1_CTRL,0x1080);
/* TMRA1_SCTRL: TCF=0,TCFIE=0,TOF=0,TOFIE=0,IEF=0,IEFIE=0,IPS=0,INPUT=0,
setReg(TMRA1_SCTRL,0x00);
setReg(TMRA1_CNTR,0x00);
setReg(TMRA1_LOAD,0x00);
setRegBitGroup(TMRA1_CTRL,CM,0x03);
This example uses TMRA1 to count pulse (actually counts rising edges of the pulse)
This example uses TMRA1 to determine the duration of an external pulse.
The IP_bus clock is used as the primary counter. If the duration of the
from an external source (TA3).
external pulse is longer than 0.001 seconds one of the other IP_bus clock
dividers can be used. If the pulse duration is longer than 0.128 seconds
an external clock source will have to be used as the primary clock source.
(See Processor Expert PulseAccumulator bean.)
(See Processor Expert PulseAccumulator bean.)
Capture_Mode=0,MSTR=0,EEOF=0,VAL=0,FORCE=0,OPS=0,OEN=0 */
Capture_Mode=0,MSTR=0,EEOF=0,VAL=0,FORCE=0,OPS=0,OEN=0 */
MC56F825x/4x Reference Manual, Rev. 2, 10/2010
/* Set up mode */
/* Reset counter register */
/* Reset load register */
/* Run counter */
/* Reset counter register */
/* Reset load register */
/* Run counter */
/* Set up mode */
Preliminary
Chapter 6 Quad Timer (TMR)
169

Related parts for MC56F8257MLH