MC56F8257MLH Freescale Semiconductor, MC56F8257MLH Datasheet - Page 170

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
Functional Description
6.6.2.5 Quadrature-Count Mode
If CTRL[CM] is set to '100', the counter will decode the primary and secondary external
inputs as quadrature encoded signals. Quadrature signals are usually generated by rotary
or linear sensors used to monitor movement of motor shafts or mechanical equipment.
The quadrature signals are square waves that are 90 degrees out of phase. The decoding
of quadrature signal provides both count and direction information.
This figure shows a timing diagram illustrating the basic operation of a quadrature
incremental position encoder.
Example: 6.6.2.5.1 Quadrature Count Mode Example
>
170
//
//
//
//
//
//
void Pulse_Init(void)
{
}
/* TMRA0_CTRL: CM=0,PCS=0,SCS=1,ONCE=0,LENGTH=0,DIR=0,Co_INIT=0,OM=0 */
setReg(TMRC0_CTRL,0x80);
/* TMRA0_SCTRL: TCF=0,TCFIE=0,TOF=0,TOFIE=0,IEF=0,IEFIE=0,IPS=0,INPUT=0,
setReg(TMRA0_SCTRL,0x00);
setReg(TMRA0_CNTR,0x00);
setReg(TMRA0_LOAD,0x00);
setReg(TMRA0_COMP1,0xFFFF);
setReg(TMRA0_COMP2,0x00);
/* TMRA0_CSCTRL: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,
setReg(TMRA0_CSCTRL,0x00);
setRegBitGroup(TMRA0_CTRL,CM,0x04);
This example uses TMRA0 for counting states of a quadrature position encoder.
Timer input 0 is used as the primary count source (PHASEA).
Timer input 1 is used as the secondary count source (PHASEB).
(See Processor Expert PulseAccumulator bean.)
PHASEA
PHASEB
COUNT
Capture_Mode=0,MSTR=0,EEOF=0,VAL=0,FORCE=0,OPS=0,OEN=0 */
UP/DN
Figure 6-119. Quadrature Incremental Position Encoder
TCF2EN=0,TCF1EN=0,TCF2=0,TCF1=0,CL2=0,CL1=0 */
+1
MC56F825x/4x Reference Manual, Rev. 2, 10/2010
+1
+1
+1
+1
/* Reset counter register */
/* Reset load register */
/* Set up mode */
/* Set up compare 1 register */
/* Set up compare 2 register */
/* Run counter */
+1
Preliminary
+1
+1
-1
-1
-1
-1
-1
-1
-1
-1
-1
Freescale Semiconductor
-1

Related parts for MC56F8257MLH