![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
44-pin lqfp case: 10 x 10 mm 2 64-pin lqfp case: 10 x 10 mm 2 48-pin lqfp case: 7 x 7 mm 2 freescale semiconductor technical data document number: mc56f825x rev. 3, 04/2011 ? freescale semiconductor, inc., 2009-2011. all rights reserved. freescale reserves the right to change the deta il specifications as may be required to permit improvements in the design of its products. mc56f825x/mc56f824x the mc56f825x/mc56f824x is a member of the 56800e core-based family of digital signal controllers (dscs). it combines, on a single chip, the processing power of a dsp and the functionality of a microc ontroller with a flexible set of peripherals to create a cost-eff ective solution. because of its low cost, configuration flex ibility, and compact program code, it is well-suited for many applications. the mc56f825x/mc56f824x includes many peripherals that are especially useful for cost-sen sitive applications, including: ? industrial control ? home appliances ? smart sensors ? fire and security systems ? solar inverters ? battery chargers and management ? switched-mode power supplies and power management ?power metering ? motor control (acim, bldc, pmsm, sr, and stepper) ? handheld power tools ? arc detection ? medical devices/equipment ? instrumentation ? lighting ballast the 56800e core is based on a modified harvard-style architecture consisting of thr ee execution units operating in parallel, allowing as many as six operations per instruction cycle. the mcu-style progra mming model and optimized instruction set allow straightforward generation of efficient, compact dsp and control code. the instruction set is also highly efficient for c compilers to enable rapid development of optimized control applications. the mc56f825x/mc56f824x supports program execution from internal memories. two data operands per instruction cycle can be accessed from the on-chip data ram. a full set of programmable peripherals supports various applications. each peripheral can be independently shut down to save power. any pin, except power pins and the reset pin, can also be configured as general pu rpose input/outputs (gpios). on-chip features include: ? 60 mhz operation frequency ? dsp and mcu functionality in a unified, c-efficient architecture ? on-chip memory ? 56f8245/46: 48 kb (24k x 16) flash memory; 6 kb (3k x 16) unified data/program ram ? 56f8247: 48 kb (24k x 16) flash memory; 8 kb (4k x 16) unified data/program ram ? 56f8255/56/57: 64 kb (32k x 16) flash memory; 8 kb (4k x 16) unified data/program ram ? eflexpwm with up to 9 channels, including 6 channels with high (520 ps) reso lution nanoedge placement ? two 8-channel, 12-bit analog-t o-digital converters (adcs) with dynamic x2 and x4 programmable amplifier, conversion time as short as 600 ns, and input current-injection protection ? three analog comparators w ith integrated 5-bit dac references ? cyclic redundancy check (crc) generator ? two high-speed queued serial communication interface (qsci) modules with lin slave functionality ? queued serial peripheral interface (qspi) module ? two smbus-compatible inter-integrated circuit (i 2 c) ports ? freescale?s scalable controller area network (mscan) 2.0 a/b module ? two 16-bit quad timers (2 x 4 16-bit timers) ? computer operating properly (cop) watchdog module ? on-chip relaxation oscillator: 8 mhz (400 khz at standby mode) ? crystal/resonator oscillator ? integrated power-on reset (por) and low-voltage interrupt (lvi) and brown-out reset module ? inter-module crossbar connection ? up to 54 gpios ? 44-pin lqfp, 48-pin lqfp, and 64-pin lqfp packages ? single supply: 3.0 v to 3.6 v mc56f825x/mc56f824x digital signal controller www..net
mc56f825x/mc56f824x digital si gnal controller, rev. 3 freescale semiconductor 2 table of contents 1 mc56f825x/mc56f824x family configuration . . . . . . . . . . . .3 2 overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 2.1 mc56f825x/mc56f824x features. . . . . . . . . . . . . . . . .4 2.2 award-winning development environment. . . . . . . . . . .8 2.3 architecture block diagram. . . . . . . . . . . . . . . . . . . . . . .8 2.4 product documentation . . . . . . . . . . . . . . . . . . . . . . . .11 3 signal/connection descriptions . . . . . . . . . . . . . . . . . . . . . . .11 3.1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 3.2 pin assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 3.3 mc56f825x/mc56f824x signal pins . . . . . . . . . . . . . .18 4 memory maps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 4.1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29 4.2 program map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 4.3 data map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 4.4 interrupt vector table and reset vector . . . . . . . . . . . .33 4.5 peripheral memory-mapped registers . . . . . . . . . . . . .34 4.6 eonce memory map . . . . . . . . . . . . . . . . . . . . . . . . . .35 5 general system control information . . . . . . . . . . . . . . . . . . .36 5.1 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 5.2 power pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 5.3 reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 5.4 on-chip clock synthesis . . . . . . . . . . . . . . . . . . . . . . . .37 5.5 interrupt controller . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 5.6 system integration module (sim) . . . . . . . . . . . . . . . . .39 5.7 inter-module connections. . . . . . . . . . . . . . . . . . . . . . .40 5.8 joint test action group (jtag)/enhanced on-chip emulator (eonce) . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 6 security features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46 6.1 operation with security enabled. . . . . . . . . . . . . . . . . .46 6.2 flash access lock and unlock mechanisms . . . . . . . .47 6.3 product analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 7 specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48 7.1 general characteristics . . . . . . . . . . . . . . . . . . . . . . . .48 7.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . .49 7.3 esd protection and latch-up immunity . . . . . . . . . . . .50 7.4 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . .50 7.5 recommended operating conditions . . . . . . . . . . . . . .52 7.6 dc electrical characteristics . . . . . . . . . . . . . . . . . . . . 53 7.7 supply current characteristics . . . . . . . . . . . . . . . . . . 55 7.8 power-on reset, low voltage detection specification 56 7.9 voltage regulator specifications . . . . . . . . . . . . . . . . . 56 7.10 ac electrical characteristics . . . . . . . . . . . . . . . . . . . . 56 7.11 enhanced flex pwm characteristics . . . . . . . . . . . . . 57 7.12 flash memory characteristics . . . . . . . . . . . . . . . . . . . 57 7.13 external clock operation timing. . . . . . . . . . . . . . . . . 57 7.14 phase locked loop timing . . . . . . . . . . . . . . . . . . . . . 58 7.15 external crystal or resonator requirement . . . . . . . . 59 7.16 relaxation oscillator timing . . . . . . . . . . . . . . . . . . . . 59 7.17 reset, stop, wait, mode select, and interrupt timing. 60 7.18 queued serial peripheral interface (spi) timing . . . . 60 7.19 queued serial communication interface (sci) timing 64 7.20 freescale?s scalable controller area network (mscan)65 7.21 inter-integrated circuit interface (i2c) timing . . . . . . . 65 7.22 jtag timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 7.23 quad timer timing . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 7.24 cop specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 7.25 analog-to-digital converter (adc) parameters. . . . . . 68 7.26 digital-to-analog converter (dac) parameters . . . . . . 70 7.27 5-bit digital-to-analog converter (dac) parameters. . 71 7.28 hscmp specifications . . . . . . . . . . . . . . . . . . . . . . . . 71 7.29 optimize power consumption . . . . . . . . . . . . . . . . . . . 71 8 design considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 8.1 thermal design considerations . . . . . . . . . . . . . . . . . 72 8.2 electrical design considerations. . . . . . . . . . . . . . . . . 73 9 ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 10 package mechanical outline drawings . . . . . . . . . . . . . . . . . 76 10.1 44-pin lqfp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 10.2 48-pin lqfp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 10.3 64-pin lqfp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 11 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 appendix a interrupt vector table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 mc56f825x/mc56f824x family configuration mc56f825x/mc56f824x digital si gnal controller, rev. 3 freescale semiconductor 3 1 mc56f825x/mc56f824x family configuration table 1 compares the mc56f825x/mc56f824x devices. table 1. mc56f825x/mc56f824x device comparison feature 56f8245 56f8246 56f 8247 56f8255 56f8256 56f8257 operation frequency (mhz) 60 high speed peripheral clock (mhz) 120 flash memory size (kb) with 1024 words per page 48 48 48 64 64 64 ram size (kb) 668888 enhanced flex pwm (eflexpwm) high resolution nanoedge pwm (520ps res.) 666666 enhanced flex pwm with input capture 003003 pwm fault inputs (from crossbar input) 444444 12-bit adc with x1, 2x, 4x programmable gain 2 x 4ch 2 x 5ch 2 x 8ch 2 x 4ch 2 x 5 ch 2 x 8 ch analog comparators (acmp) each with integrated 5-bit dac 3 12-bit dac 1 cyclic redundancy check (crc) yes inter-integrated circuit (i 2 c) / smbus 2 queued serial peripheral interface (qspi) 1 high speed queued serial communications interface (qsci) 1 1 can be clocked by high speed peripheral clock up to 120 mhz 2 controller area network (mscan) 0 1 high speed 16-bit multi-purpose timers (tmr) 2 2 can be clocked by high speed peripheral clock up to 120 mhz 8 computer operating properly (cop) watchdog timer yes integrated power-on reset and low voltage detection yes phase-locked loop (pll) yes 8 mhz (400 khz at standby mode) on-chip rosc yes crystal/resonator oscillator yes crossbarinput pins 666666 output pins 226226 general purpose i/o (gpio) 3 3 shared with other function pins 35 39 54 35 39 54 ieee 1149.1 joint te st action group (jtag) interface yes enhanced on-chip emulator (eonce) yes operating temperature range -40 c to 105 c package 44lqfp 48lqfp 64lq fp 44lqfp 48lqfp 64lqfp mc56f825x/mc56f824x digital si gnal controller, rev. 3 overview freescale semiconductor 4 2 overview 2.1 mc56f825x/mc56f824x features 2.1.1 core ? efficient 56800e digital signal processor (dsp) engine with modified harvard architecture ? three internal address buses ? four internal data buses ? as many as 60 million instructions per second (mips) at 60 mhz core frequency ? 155 basic instructions in conjunction with up to 20 address modes ? 32-bit internal primary data buses supporting 8-bit, 16-bit, and 32-bit data movement, addition, subtraction, and logical operation ? single-cycle 16 16-bit parallel multiplier-accumulator (mac) ? four 36-bit accumulators, including extension bits ? 32-bit arithmetic and logic multi-bit shifter ? parallel instruction set with unique dsp addressing modes ? hardware do and rep loops ? instruction set supports dsp and controller functions ? controller-style addressing modes and instructions for compact code ? efficient c compiler and local variable support ? software subroutine and interrupt stack with depth limited only by memory ? jtag/enhanced on-chip emulation (eonce) for unobtrusive, processor speed?independent, real-time debugging 2.1.2 operation range ? 3.0 v to 3.6 v operation (power supplies and i/o) ? from power-on-reset: approximately 2.7 v to 3.6 v ? ambient temperature operating range: ?40 c to +105 c 2.1.3 memory ? dual harvard architecture that perm its as many as three simultaneous accesses to program and data memory ? 48 kb (24k x 16) to 64 kb (32k x 16) on-chip flash memory with 2048 bytes (1024 x 16) page size ? 6 kb (3k x 16) to 8 kb (4k x 16) on-chip ram with byte addressable ? eeprom emulation capability using flash ? support for 60 mhz program execution from both internal flash and ram memories ? flash security and protection that prevent unauthorized users from ga ining access to the internal flash 2.1.4 interrupt controller ? five interrupt priority levels ? three user programmable priority levels for each interrupt source: level 0, 1, 2 ? unmaskable level 3 interrupts include: illegal instruction, hardware stack overflow, misaligned data access, and swi3 instruction ? maskable level 3 interrupts include: eonce step co unter, eonce breakpoint unit, and eonce trace buffer overview mc56f825x/mc56f824x digital si gnal controller, rev. 3 freescale semiconductor 5 ? lowest-priority software interrupt: level lp ? nested interrupts: higher priority level interrupt re quest can interrupt lower priority interrupt subroutine ? two programmable fast interrupts that can be assigned to any interrupt source ? notification to system integration module (sim) to restart clock out of wait and stop states ? ability to relocate interrupt vector table the masking of interrupt priority level is managed by the 56800e core. 2.1.5 peripheral highlights ? one enhanced flex pulse width modulator (eflexpwm) module ? up to nine output channels ? 16-bit resolution for center aligned, edge aligned, and asymmetrical pwms ? each complementary pair can op erate with its own pwm frequency based and deadtime values ?4 time base ? independent top and bottom deadtime insertion ? pwm outputs can operate as complimentary pairs or independent channels ? independent control of both edges of each pwm output ? 6-channel nanoedge high resolution pwm ? fractional delay for enhanced resoluti on of the pwm period and edge placement ? arbitrary eflexpwm edge placement - pwm phase shifting ? nanoedge implementation: 520 ps pwm frequency resolution ? 3 channel pwm with full input capture features ? three pwm channels - pwma, pwmb, and pwmx ? enhanced input capture functionality ? support for synchronization to external hardware or other pwm ? double buffered pwm registers ? integral reload rates from 1 to 16 ? half cycle reload capability ? multiple output trigger events can be generated per pwm cycle via hardware ? support for double switching pwm outputs ? up to four fault inputs can be assigned to control multiple pwm outputs ? programmable filters for fault inputs ? independently programmable pwm output polarity ? individual software control for each pwm output ? all outputs can be progra mmed to change simultane ously via a force_out event ? pwmx pin can optionally output a th ird pwm signal from each submodule ? channels not used for pwm generation can be used for buffered output compare functions ? channels not used for pwm generation can be used for input capture functions ? enhanced dual edge capture functionality ? option to supply the source for each complementary pwm signal pa ir from any of the following: ? crossbar module outputs ? external adc input, taking into account values set in adc high and low limit registers ? two independent 12-bit analog-to-digital converters (adcs) ? 2 x 8 channel external inputs ? built-in x1, x2, x4 program mable gain pre-amplifier mc56f825x/mc56f824x digital si gnal controller, rev. 3 overview freescale semiconductor 6 ? maximum adc clock frequency: up to 10 mhz ? single conversion time of 8.5 adc clock cycles (8.5 x 100 ns = 850 ns) ? additional conversion time of 6-adc clock cycles (6 x 100 ns = 600 ns) ? sequential, parallel, and independent scan mode ? first 8 samples have offset, limit and zero-crossing calculation supported ? adc conversions can be synchronized by eflexpwm and timer modules via in ternal crossbar module ? support for simultaneous and software triggering conversions ? support for multi-trigg ering mode with a programmable numb er of conversions on each trigger ? inter-module crossbar switch (xbar) ? programmable internal module connections among th e eflexpwm, adcs, quad ti mers, 12-bit dac, hscmps, and package pins ? user-defined input/output pins for pwm fault inputs, timer input/output, adc triggers, and comparator outputs ? three analog comparators (cmps) ? selectable input source includes external pins, internal dacs ? programmable output polarity ? output can drive timer input, eflexpwm fault input, eflexpwm source, external pin output, and trigger adcs ? output falling and rising edge detection able to generate interrupts ? 32-tap programmable voltage reference per comparator ? one 12-bit digital-to-analog converter (12-bit dac) ? 12-bit resolution ? power down mode ? output can be routed to inte rnal comparator, or off chip ? two four-channel 16-bit multi-purpose timer (tmr) modules ? four independent 16-bit counter/timers with cascading capability per module ? up to 120 mhz operating clock ? each timer has capture and compare and quadrature decoder capability ? up to 12 operating modes ? four external inputs an d two external outputs ?two queued serial communication interface (qsci) modules with lin slave functionality ? up to 120 mhz operating clock ? four-byte-deep fifos available on both transmit and receive buffers ? full-duplex or single-wire operation ? programmable 8- or 9-bit data format ? 13-bit integer and 3-bit fractional baud rate selection ? two receiver wakeup methods: ? idle line ? address mark ? 1/16 bit-time noise detection ? support lin slave operation ? one queued serial peripheral in terface (qspi) module ? full-duplex operation ? four-word deep fifos available on both transmit and receive buffers ? master and slave modes ? programmable length transactions (2 to 16 bits) ? programmable transmit and recei ve shift order (msb as fi rst or last bit transmitted) overview mc56f825x/mc56f824x digital si gnal controller, rev. 3 freescale semiconductor 7 ? maximum slave module frequency = module clock frequency/2 ? 13-bit baud rate divider for low speed communication ? two inter-integrated circuit (i 2 c) ports ? operation at up to 100 kbps ? support for master and slave operation ? support for 10-bit address mode and broadcasting mode ? support for smbus, version 2 ? one freescale scalable controller area network (mscan) module ? fully compliant with can protocol version 2.0 a/b ? support for standard and extended data frames ? support for data rate up to 1 mbit/s ? five receive buffers and three transmit buffers ? computer operating properly (cop) watchdog timer capable of selecting different clock sources ? programmable prescaler and timeout period ? programmable wait, stop, and partial powerdown mode operation ? causes loss of reference reset 128 cycles after loss of reference clock to the pll is detected ? choice of clock sources from four sources in support of en60730 and iec61508: ? on-chip relaxation oscillator ? external crystal oscillat or/external clock source ? system clock (ip bus to 60 mhz) ? power supervisor (ps) ? on-chip linear regulator for digital and an alog circuitry to lower cost and reduce noise ? integrated low voltage detection to generate warning interrupt if vdd is below low voltage detection (lvi) threshold ? integrated power-on reset (por) ? reliable reset process du ring power-on procedure ? por is released after vdd passes low voltage detection (lvi) threshold ? integrated brown-out reset ? run, wait, and stop modes ? phase lock loop (pll) providing a high- speed clock to the co re and peripherals ? 2x system clock provided to quad timers and scis ? loss of lock interrupt ? loss of reference clock interrupt ? clock sources ? on-chip relaxation oscillator with two user selectab le frequencies: 400 khz for low speed mode, 8 mhz for normal operation ? external clock: crystal oscillator, ceram ic resonator, and external clock source ? cyclic redundancy check (crc) generator ? hardware crc generator circu it using 16-bit shift register ? crc16-ccitt complian cy with x16 + x12 + x5 + 1 polynomial ? error detection for all single, double, odd, and most multi-bit errors ? programmable initial seed value ? high-speed hardware crc calculation ? optional feature to transpose input data and crc result via transpose register, required on applications where bytes are in lsb (least significant bit) format. mc56f825x/mc56f824x digital si gnal controller, rev. 3 overview freescale semiconductor 8 ? up to 54 general-purpose i/o (gpio) pins ? 5 v tolerant i/o ? individual control for each pin to be in peripheral or gpio mode ? individual input/output direction control for each pin in gpio mode ? individual control for each output pin to be in push-pull mode or open-drain mode ? hysteresis and configurable pullup device on all input pins ? ability to generate interrupt with programmabl e rising or falling edge and software interrupt ? configurable drive strength: 4 ma / 8 ma sink/source current ? jtag/eonce debug programming interface for real-time debugging ? ieee 1149.1 joint test action group (jtag) interface ? eonce interface for real-time debugging 2.1.6 power saving features ? low-speed run, wait, and stop modes: as low as 781 hz clock provided by occs and internal rosc ? large regulator standby mode available for reducing power consumption at low-speed mode ? less than 30 s typical wakeup time from stop modes ? each peripheral can be indivi dually disabled to save power 2.2 award-winning development environment processor expert (pe) provides a rapid application design (r ad) tool that combines easy-t o-use component-based software application creation with an expert knowledge system. the codewarrior integrated development environment (ide) is a sophisticated tool for code navigation, compiling, and debugging. a complete set of evaluation modules (evms), dem onstration board kit, and development system cards supports concurrent engineering. together, pe, codewarrior, and evms create a complete, scalable tool s solution for easy, fast, and efficient development. 2.3 architecture block diagram the mc56f825x/mc56f824x?s architecture appears in figure 1 and figure 2 . figure 1 illustrates how the 56800e system buses communicate with internal memories and the ip bus interface as well as th e internal connections among the units of the 56800e core. overview mc56f825x/mc56f824x digital si gnal controller, rev. 3 freescale semiconductor 9 figure 1. 56800e core block diagram figure 2 shows the peripherals and control blocks connected to the ip bus bridge. refer to the system integration module (sim) section in the device?s reference manual fo r information about which signals are multiplexed with those of other peripherals. data dsp56800e core arithmetic logic unit (alu) xab2 pab pdb cdbw cdbr xdb2 program memory data/ ip bus interface bit- manipulation unit n3 m01 address xab1 generation unit (agu) pc la la2 hws0 hws1 fira omr sr fisr lc lc2 instruction decoder interrupt unit looping unit program control unit alu1 alu2 mac and alu a1 a2 a0 b1 b2 b0 c1 c2 c0 d1 d2 d0 y1 y0 x0 enhanced jtag tap r2 r3 r4 r5 sp r0 r1 n y multi-bit shifter once? program ram mc56f825x/mc56f824x digital si gnal controller, rev. 3 overview freescale semiconductor 10 figure 2. peripheral subsystem , q w h u 0 r g x o h & |