MC56F8257MLH Freescale Semiconductor, MC56F8257MLH Datasheet - Page 178

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.13 Fixed-Frequency PWM Mode
If CTRL[CM]=001, count through roll-over (CTRL[LENGTH]=0), continuous count
(CTRL[ONCE]=0) and CTRL[OUTMODE] is '110' (set on compare, cleared on counter
roll-over), then the counter output yields a pulse-width modulated (PWM) signal with a
frequency equal to the count clock frequency divided by 65,536 and a pulse-width duty
cycle equal to the compare value divided by 65,536. This mode of operation is often used
to drive PWM amplifiers used to power motors and inverters.
Example: 6.6.2.13.1 Fixed-Frequency PWM Mode Example
178
//
// This example generates six 10ms pulses, from TA1 output.
// Assuming the chip is operating at 60 MHz.
//
// To do this, timer 3 is used to generate a clock with a period of 10ms.
//
// Timer 1 is used to gate these clocks and count the number of pulses that have
//
//
void PulseStream_Init(void)
{
// Select IP_bus_clk/16 as the clock source for Timer A3
// Timer 3 output is the clock source for this timer.
// set to interrupt after the last pulse
// Finally, start the counters running
}
/* TMRA3_CSCTRL: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,
/* TMRA3_CTRL: CM=0,PCS=0x0C,SCS=0,ONCE=0,LENGTH=1,DIR=0,Co_INIT=0,OM=3 */
/* TMRA3_SCTRL: TCF=0,TCFIE=0,TOF=0,TOFIE=0,IEF=0,IEFIE=0,IPS=0,INPUT=0,
setReg(TMRA3_CSCTRL,0x00);
/* TMRA1_CTRL: CM=0,PCS=7,SCS=0,ONCE=1,LENGTH=1,DIR=0,Co_INIT=0,OM=7 */
setReg(TMRA1_CTRL,0x0E67);
/* TMRA1_SCTRL: TCF=0,TCFIE=0,TOF=0,TOFIE=0,IEF=0,IEFIE=0,IPS=0,INPUT=0,
/* TMRA1_CSCTRL: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,
setReg(TMRA1_CSCTRL,0x40);
setReg(TMRA3_CNTR,0);
setRegBitGroup(TMRA3_CTRL,CM,0x01);
setRegBitGroup(TMRA1_CTRL,CM,0x01);
setReg(TMRA3_CTRL,0x1823);
setReg(TMRA3_SCTRL,0x00);
setReg(TMRA3_LOAD,0x00);
setReg(TMRA3_COMP1,37500);
setReg(TMRA1_SCTRL,0x01);
setReg(TMRA1_CNTR,0x00);
setReg(TMRA1_LOAD,0x00);
setReg(TMRA1_COMP1,0x04);
been generated.
(See Processor Expert PulseStream 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=1 */
TCF2EN=0,TCF1EN=0,TCF2=0,TCF1=0,CL2=0,CL1=0 */
TCF2EN=0,TCF1EN=1,TCF2=0,TCF1=0,CL2=0,CL1=0 */
MC56F825x/4x Reference Manual, Rev. 2, 10/2010
/* Set up mode */
/* Reset counter register */
/* Reset load register */
/* Reset load register */
/* (16 * 37500 ) / 60e6 = 0.01 sec */
/* Set up comparator control register */
/* Set up compare 1 register */
/* Set up comparator control register */
/* Reset counter */
/* Run source clock counter */
/* Run counter */
Preliminary
/* Set up mode */
Freescale Semiconductor

Related parts for MC56F8257MLH