|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
56f8000 16-bit digital signal controllers freescale.com 56f8037/56F8027 data sheet technical data mc56f8037 rev. 6 02/2010
56f8037/56F8027 data sheet, rev. 6 2 freescale semiconductor document revision history version history description of change rev. 0 initial public release. rev. 1 ? in table 10-4, added an entry for flash data retention with less than 100 program/erase cycles (minimum 20 years). ? in table 10-6, changed the device clock spee d in stop mode from 8mhz to 4mhz. ? in table 10-12, changed the typical relaxation oscillator output fre quency in standby mode from 400khz to 200khz. ? changed input propagation delay values in table 10-21 as follows: old values: 1 s typical, 2 s maximum new values: 35 ns typical, 45 ns maximum rev. 2 in table 10-20, changed the maximum adc inter nal clock frequency from 8mhz to 5.33mhz. rev. 3 ? added the following note to the description of the tms signal in table 2-3: note: always tie the tms pin to v dd through a 2.2k resistor. ? changed the description of the gpioc4 signal in table 2-3 (was ? ...the signal goes to both the ana0 and cmpai3 ?, is ? ...the signal goes to both anb0 and cmpb13 ?). rev. 4 ? changed the itcn_base address in table 5-3 (was $00 f060, is $00 f0e0). ?in figure 5-10 , moved the footnote marker (super script 1) from bit 4 to ?reset?. ? changed the standby > stop i dd values in table 10-6 as follows: typical: was 290 a, is 540 a maximum: was 390 a, is 650 a ? changed the powerdown i dd values in table 10-6 as follows: typical: was 190 a, is 440 a maximum: was 250 a, is 550 a ? changed footnote 1 in table 10-12 (was ?output frequency after application of 8mhz trim value, at 125c.?, is ?output frequen cy after application of factory trim?). ? deleted the text ?at 125c? from figure 10-5 . ? changed the maximum input offset voltage in table 10-21 (was +/- 20 mv, is 35 mv). rev. 5 ? in table 2-3 , changed v cap value from 4.7 f to 2.2 f. ? revised section 7, security features . ? added information for 56F8027 device throughout document. ? fixed miscellaneous typos. 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 3 rev. 6 in the table recommended operating conditions , removed the line ?xtal not driven by an external clock? from the characteristic: ?oscillator input voltage high xtal not driven by an external clock xtal driven by an external clock source? in the table 56f8037/56F8027 ordering information , changed ?mc56F8027vld? to ?mc56F8027vlh? removed ?preliminary? from data sheet in the select peripheral input source for pwm2/pwm3 pair source bits , fixed typos added new part number to ordering information: mc56F8027mlh document revision history version history description of change please see http://www.freescale.com for the most current data sheet revision. 56f8037/56F8027 data sheet, rev. 6 4 freescale semiconductor 56f8037/56F8027 block diagram dac or gpiod programmable interval timer program controller and hardware looping unit data alu 16 x 16 + 36 -> 36-bit mac three 16-bit input registers four 36-bit accumulators address generation unit bit manipulation unit 16-bit 56800e core interrupt controller 4 unified data / program ram 4k x 16 2k x 16 pdb pdb xab1 xab2 xdb2 cdbr qspi0 or pwm or i 2 c or tmra or gpiob ipbus bridge (ipbb) system bus control r/w control memory pab pab cdbw cdbr cdbw jtag/eonce port or gpiod digital reg analog reg low-voltage supervisor v cap v dd v ss v dda v ssa 4 reset or gpioa ad0 8 clock generator* system integration module p o r o s c pwm or tmra or tmrb or cmp or qspi1 or gpioa *includes on-chip relaxation oscillator cop/ watchdog ad1 8 program memory 32k x 16 flash 16k x 16 flash adc or cmp or qsci1 or gpioc qsci0 or pwm or i 2 c or qspi1 or tmra or tmrb or gpiob 4 4 i 2 c or can or tmrb or cmp or gpiob 6 2 xtal, clkin, or gpiod extal or gpiod 3 14 2 ? up to 32 mips at 32mhz core frequency ? dsp and mcu functionality in a unified, c-efficient architecture ? 56f8037 offers 64kb (32k x 16) program flash ? 56F8027 offers 32kb (16k x 16) program flash ? 56f8037 offers 8kb (4k x 16) unified data/program ram ? 56F8027 offers 4kb (2k x 16) unified data/program ram ? one 6-channel pwm module ? two 8-channel 12-bit analog-to-digital converters (adcs) ? two 12-bit digital-to-analog converters (dacs) ? two analog comparators ? three programmable interval timers (pits) ? two queued serial commun ication interfaces (qscis) with lin slave functionality ? two queued serial peri pheral interfaces (qspis) ? freescale?s scalable contro ller area network (mscan) 2.0 a/b module ? two 16-bit quad timers ? one inter-integrated circuit (i 2 c) port ? computer operating properly (cop)/watchdog ? on-chip relaxation oscillator ? integrated power-on reset (por) and low-voltage interrupt (lvi) module ? jtag/enhanced on-chip emulation (once?) for unobtrusive, real-time debugging 56f8037/56F8027 general description 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 5 part 1 overview. . . . . . . . . . . . . . . . . . . . . . . . 6 1.1 56f8037/56F8027 features . . . . . . . . . . . 6 1.2 56f8037/56F8027 description . . . . . . . . . 8 1.3 award-winning development environment . . . . . . . . . . . . . . . . . . . 9 1.4 architecture block diagram . . . . . . . . . . . 9 1.5 product documentation . . . . . . . . . . . . . 18 1.6 data sheet conventions . . . . . . . . . . . . . 18 part 2 signal/connection descriptions . . . 19 2.1 introduction . . . . . . . . . . . . . . . . . . . . . . . 19 2.2 56f8037/56F8027 signal pins . . . . . . . . 24 part 3 occs . . . . . . . . . . . . . . . . . . . . . . . . . 40 3.1 overview . . . . . . . . . . . . . . . . . . . . . . . . . 40 3.2 features . . . . . . . . . . . . . . . . . . . . . . . . . 41 3.3 operating modes . . . . . . . . . . . . . . . . . . 41 3.4 internal clock source . . . . . . . . . . . . . . . 42 3.5 crystal oscillator. . . . . . . . . . . . . . . . . . . 42 3.6 ceramic resonator . . . . . . . . . . . . . . . . . 43 3.7 external clock input - crystal oscillator option. . . . . . . . . . . . . . . . . . . . . . . 43 3.8 alternate external clock input . . . . . . . . 44 part 4 memory maps. . . . . . . . . . . . . . . . . . . 44 4.1 introduction . . . . . . . . . . . . . . . . . . . . . . . 44 4.2 interrupt vector table . . . . . . . . . . . . . . . 45 4.3 program map . . . . . . . . . . . . . . . . . . . . . 47 4.4 data map . . . . . . . . . . . . . . . . . . . . . . . . 48 4.5 eonce memory map . . . . . . . . . . . . . . . 50 4.6 peripheral memory-mapped registers . . 51 part 5 interrupt controller (itcn) . . . . . . . . 68 5.1 introduction . . . . . . . . . . . . . . . . . . . . . . . 68 5.2 features . . . . . . . . . . . . . . . . . . . . . . . . . 68 5.3 functional description . . . . . . . . . . . . . . 68 5.4 block diagram. . . . . . . . . . . . . . . . . . . . . 70 5.5 operating modes . . . . . . . . . . . . . . . . . . 71 5.6 register descriptions . . . . . . . . . . . . . . . 71 5.7 resets. . . . . . . . . . . . . . . . . . . . . . . . . . . 92 part 6 system integration module (sim) . . . 93 6.1 introduction . . . . . . . . . . . . . . . . . . . . . . . 93 6.2 features . . . . . . . . . . . . . . . . . . . . . . . . . 94 6.3 register descriptions . . . . . . . . . . . . . . . 95 6.4 clock generation overview . . . . . . . . . 124 6.5 power-saving modes . . . . . . . . . . . . . . 124 6.6 resets. . . . . . . . . . . . . . . . . . . . . . . . . . 126 6.7 clocks . . . . . . . . . . . . . . . . . . . . . . . . . . 127 6.8 interrupts. . . . . . . . . . . . . . . . . . . . . . . . 129 part 7 security features. . . . . . . . . . . . . . . 129 7.1 operation with security enabled. . . . . . 129 7.2 flash access lock and unlock mechanisms130 7.3 product analysis. . . . . . . . . . . . . . . . . . 131 part 8 general purpose input/output (gpio) . . . . . . . . . . . . . . . . . . . . . . . .131 8.1 introduction. . . . . . . . . . . . . . . . . . . . . . 131 8.2 configuration . . . . . . . . . . . . . . . . . . . . 131 8.3 reset values . . . . . . . . . . . . . . . . . . . . 135 part 9 joint test action group (jtag) . . .140 9.1 56f8037/56F8027 information . . . . . . . 140 part 10specifications. . . . . . . . . . . . . . . . . .140 10.1 general characteristics . . . . . . . . . . . . 140 10.2 dc electrical characteristics . . . . . . . . 144 10.3 ac electrical characteristics . . . . . . . . 147 10.4 flash memory characteristics . . . . . . . 148 10.5 external clock operation timing . . . . . 148 10.6 phase locked loop timing . . . . . . . . . 149 10.7 relaxation oscillator timing. . . . . . . . . 149 10.8 reset, stop, wait, mode select, and interrupt timing . . . . . . . . . . . . . . 151 10.9 serial peripheral interface (spi) timing 152 10.10 quad timer timing. . . . . . . . . . . . . . . . 156 10.11 queued serial communication interface (qsci) timing . . . . . . . . . . . . . . . 158 10.12 freescale?s scalable controller area network (mscan) timing . . . . . . 159 10.13 inter-integrated cir cuit interface (i2c) timing . . . . . . . . . . . . . . . . . . . . . 159 10.14 jtag timing. . . . . . . . . . . . . . . . . . . . . 161 10.15 analog-to-digital converter (adc) parameters . . . . . . . . . . . . . . . . . 162 10.16 equivalent circuit for adc inputs . . . . . 163 10.17 comparator (cmp) parameters . . . . . . 164 10.18 digital-to-analog converter (dac) parameters . . . . . . . . . . . . . . . . . 164 10.19 power consumption . . . . . . . . . . . . . . . 166 part 11packaging . . . . . . . . . . . . . . . . . . . . .168 11.1 56f8037/56F8027 package and pin-out information . . . . . . . . . . . 168 part 12design considerations . . . . . . . . . .171 12.1 thermal design considerations . . . . . . 171 12.2 electrical design considerations . . . . . 172 part 13ordering information . . . . . . . . . . . .173 part 14appendix. . . . . . . . . . . . . . . . . . . . . .174 56f8037/56F8027 data sheet table of contents 56f8037/56F8027 data sheet, rev. 6 6 freescale semiconductor part 1 overview 1.1 56f8037/56F8027 features 1.1.1 digital signal controller core ? efficient 16-bit 56800e family digital signal cont roller (dsc) engine with dual harvard architecture ? as many as 32 million instructions pe r second (mips) at 32mhz core frequency ? 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 ? three internal address buses ? four internal data buses ? instruction set supports both dsp and controller functions ? controller-style addressing modes and instructions for compact code ? efficient c compiler and local variable support ? software subroutine and interrupt stac k with depth limited only by memory ? jtag/enhanced on-chip emulation (once) for unobtrusive, processor speed-independent, real-time debugging 1.1.2 difference between devices table 1-1 outlines the key differences betw een the 56f8037 and 56F8027 devices. 1.1.3 memory ? dual harvard architecture permits as many as thre e simultaneous accesses to program and data memory ? flash security and protection that prevent unauth orized users from gaining access to the internal flash ?on-chip memory ? 64kb of program flash (56f8037 device) 32kb of program flash (56F8027 device) ? 8kb of unified data/program ram (56f8037 device) 4kb of unified data/program ram (56F8027 device) ? eeprom emulation capability using flash table 1-1 device differences feature 56f8037 56F8027 program flash 64kb 32kb unified data/program ram 8kb 4kb 56f8037/56F8027 features 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 7 1.1.4 peripheral circui ts for 56f8037/56F8027 ? one multi-function six-output pu lse width modulator (pwm) module ? up to 96mhz pwm operating clock ? 15 bits of resolution ? center-aligned and edge-aligned pwm signal mode ? four programmable fault inputs with programmable digital filter ? double-buffered pwm registers ? each complementary pwm signal pair allows selection of a pwm supply source from: ?pwm generator ?external gpio ? internal timers ? analog comparator outputs ? adc conversion result which compares with valu es of adc high- and low-limit registers to set pwm output ? two independent 12-bit analog-to-digital converters (adcs) ? 2 x 8 channel inputs ? supports both simultaneous and sequential conversions ? adc conversions can be synchronized by both pwm and timer modules ? sampling rate up to 2.67msps ? 16-word result buffer registers ? two 12-bit digital-to-a nalog converters (dacs) ? 2 microsecond settling time when output swing from rail to rail ? automatic waveform generation generates sq uare, triangle and sawtooth waveforms with programmable period, update rate, and range ? two 16-bit multi-purpose quad timer modules (tmrs) ? up to 96mhz operating clock ? eight independent 16-bit counter/ timers with cascading capability ? each timer has capture and compare capability ? up to 12 operating modes ? two queued serial communication interfa ces (qscis) with lin slave functionality ? full-duplex or single-wire operation ? two receiver wake-up methods: ? idle line ? address mark ? four-bytes-deep fifos are availabl e on both transmitter and receiver ? two queued serial peripheral interfaces (qspis) 56f8037/56F8027 data sheet, rev. 6 8 freescale semiconductor ? full-duplex operation ? master and slave modes ? four-words-deep fifos available on both transmitter and receiver ? programmable length transactions (2 to 16 bits) ? one inter-integrated circuit (i 2 c) port ? operates up to 400kbps ? supports both master and slave operation ? supports both 10-bit address mode and broadcasting mode ? one freescale scalable controller area network (mscan) module ? fully compliant with can protocol - version 2.0 a/b ? supports standard and extended data frames ? supports data rate up to 1mbps ? five receive buffers and three transmit buffers ? three 16-bit programmable interval timers (pits) ? two analog comparators (cmps) ? selectable input source includes external pins, dacs ? programmable output polarity ? output can drive timer input, pw m fault input, pwm source, extern al pin output and trigger adcs ? output falling and rising edge det ection able to generate interrupts ? computer operating properly (cop)/watchdog tim er capable of selecting different clock sources ? up to 53 general-purpose i/o (g pio) pins with 5v tolerance ? integrated power-on reset an d low-voltage interrupt module ? phase lock loop (pll) to provide high- speed clock to the co re and peripherals ? clock sources: ? on-chip relaxation oscillator ? external clock: crystal oscillator, cera mic resonator and external clock source ? jtag/eonce debug programming in terface for real-time debugging 1.1.5 energy information ? fabricated in high-density cmos with 5v tolerance ? on-chip regulators for digital and analog circuitry to lower cost and reduce noise ? wait and stop modes available ? adc smart power management ? each peripheral can be indivi dually disabled to save power 1.2 56f8037/56F8027 description the 56f8037/56F8027 is a member of the 56800e core-based family of digital sign al controllers (dscs). it combines, on a single chip, the processing power of a dsp and the functionality of a microcontroller with a flexible set of peripherals to create an extremely cost-effectiv e solution. because of its low cost, award-winning development environment 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 9 configuration flexibility, and co mpact program code, the 56f803 7/56F8027 is well-suited for many applications. the 56f8037/56F8027 incl udes many peripherals that are es pecially useful for industrial control, motion control, home appl iances, general purpose i nverters, smart sensor s, fire and security systems, switched-mode power supply, power management, and me dical monitoring applications. the 56800e core is based on a dual harvard-style architecture consisting of three execution units operating in parallel, allowing as many as six operations per inst ruction cycle. the mcu-style programming model and optimized instru ction set allow straightforward ge neration 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 56f8037/56F8027 supports program execution from internal memo ries. two data operands can be accessed from the on-chip data ram per instruction cycle. the 56f8037/56F8027 also offers up to 53 general purpose input/output (gpio) line s, depending on peripheral configuration. the 56f8037 digital signal controll er includes 64kb of progra m flash and 8kb of unified data/program ram. the 56F8027 digital signal contro ller includes 32kb of program flash and 4kb of unified data/program ram. program flash memory can be independently bulk eras ed or erased in pages. program flash page erase size is 512 bytes (256 words). a full set of programmable peri pherals?pwm, adcs, qscis, qspis, i2c, pits, quad timers, dacs and analog comparators?supports vari ous applications. each peripheral can be independently shut down to save power. any pin in these pe ripherals can also be used as ge neral purpose input/outputs (gpios). 1.3 award-winning development environment processor expert tm (pe) provides a rapid application design (rad) tool that combines easy-to-use component-based software application cr eation with an expert knowledge system. the codewarrior integrated devel opment environment is a sophisti cated tool for code navigation, compiling, and debugging. a complete set of evaluation modules (evms) , demonstration board kit and development system cards will s upport concurrent engin eering. together, pe, codewarrior and evms create a complete, scalable tools solution for easy, fast, and efficient development. 1.4 architecture block diagram the 56f8037/56F8027?s arch itecture is shown in figures 1-1 , 1-2 , 1-3 , 1-4 , 1-5 , 1-6 , and 1-7 . figure 1-1 illustrates how the 56800e system bu ses communicate with internal me mories and the ipbus bridge and the internal connections betw een each unit of the 56800e core. figure 1-2 shows the peripherals and control blocks connected to the ipbus bridge. figures 1-3 , 1-4 , 1-5 , 1-6 and 1-7 detail how the device?s i/o pins are muxed. the figures do not show the on-board regulator and power and ground signals. please see part 2, signal/connection descriptions , for information about which signals are multiplexed with those of other peripherals. 1.4.1 pwm, tmr and adc connections figure 1-6 shows the over-limit and un der-limit connections from the adc to the pwm and the 56f8037/56F8027 data sheet, rev. 6 10 freescale semiconductor connections to the pwm from the tmr and gpio. these signa ls can control the pw m outputs in a similar manner as the pwm generator. see the 56f802x and 56f 803x peripheral reference manual for additional information. the pwm_reload_sync output ca n be connected to timer a?s (tmra) channel 3 input; tmra?s channels 2 and 3 outputs are connect ed to the adc sync inputs. tmra channel 3 output is connected to sync0 and tmra channel 2 is conn ected to sync1. sync0 is the mast er adc sync input that is used to trigger adca and adcb in seque nce and parallel mode. sync1 is used to trigger adcb in parallel independent mode. these are controlled by bits in the sim control register; see section 6.3.1 . architecture block diagram 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 11 figure 1-1 56800e core block diagram data dsp56800e core arithmetic logic unit (alu) xab2 pab pdb cdbw cdbr xdb2 program memory data / ipbus 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 56f8037/56F8027 data sheet, rev. 6 12 freescale semiconductor figure 1-2 peripheral subsystem ipbus gpio a interrupt controller to/from ipbus bridge gpio b gpio c occs (rosc / pll / osc) por & lvi sim gpio d low-voltage interrupt system por cop reset rese t (muxed with gpioa7) cop (continues on figure 1-3 ) architecture block diagram 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 13 figure 1-3 56f8037/56F8027 i/o pin-out muxing (part 1/5) to/from ipbus bridge ipbus 3 dac sync on figure 1-5 intc pit0 pit1 pit2 sync sync sync mstr_cnt_en mstr_cnt_en mstr_cnt_en sync0, sync1 3 2 sync0, sync1 on figure 1-7 limit on figure 1-6 over/under limits ana1, 5-7 anb1, 5-7 ana4 anb4 adc gpioc1, 9-11 gpioc5, 13-15 ana0 ana0 on figure 1-5 ana2 (v refha ) gpioc2 ana3 (v refla ) gpioc3 anb0 anb0 on figure 1-5 anb3 (v reflb ) gpioc7 anb2 (v refha ) gpioc6 ana4 on figure 1-4 ana1, 5-7 4 anb4 on figure 1-4 anb1, 5-7 4 56f8037/56F8027 data sheet, rev. 6 14 freescale semiconductor figure 1-4 56f8037/56F8027 i/o pin-out muxing (part 2/5) to/from ipbus bridge ipbus qspi1 tmrb gpiob4 t0 t1 t2, t3 qsci0 qspi0 i 2 c mscan qsci1 ta1-3 on figure 1-7 sclk1, miso1, mosi1 3 3 3 1 2 2 2 tb0 on figure 1-5 tb1 on figure 1-5 tb2, tb3 on figure 1-5 ta0 on figure 1-7 clko gpioa12 - 14 ss 1 2 2 rxd0, txd0 ta2, ta3 on figure 1-7 miso0, mosi0 2 2 sclk0, ss0 scl, sda 2 2 2 2 txd1, rxd1 2 ana4, anb4 on figure 1-3 2 cantx, canrx 2 2 gpiob6 - 7 gpiob2 - 3 gpiob0 - 1 gpiob8 - 9 gpiob12 - 13 gpioc8 - 12 architecture block diagram 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 15 figure 1-5 56f8037/56F8027 i/o pin-out muxing (part 3/5) to/from ipbus bridge ipbus gpioa8 dac0 ta2 on figure 1-7 fault1 on figure 1-6 gpioc0 gpiod6 gpiod7 gpiob11 gpioa11 gpioc4 gpioa9 cmpa cmp_in1 cmp_in3 cmp_in2 export import cmpai1 cmpai3 cmpai2 ana0 on figure 1-3 tb2 on figure 1-4 tb0 on figure 1-4 dac0 dac1 dac1 ta3 on figure 1-7 fault2 on figure 1-6 cmpbi1 cmpbi3 cmpbi2 tb3 on figure 1-4 tb1 on figure 1-4 cmpb cmp_in2 cmp_in3 cmp_in1 export import gpiob10 gpioa10 2 3 ta0o, ta1o on figure 1-7 dac sync on figure 1-3 reload on figure 1-6 cmp_out cmpao on figure 1-6 , figure 1-7 anb0 on figure 1-3 cmp_out cmpbo on figure 1-6 , figure 1-7 56f8037/56F8027 data sheet, rev. 6 16 freescale semiconductor figure 1-6 56f8037/56F8027 i/o pin-out muxing (part 4/5) to/from ipbus bridge ipbus gpioa6 ta0 on figure 1-7 ta2 - 3 on figure 1-7 gpioa0 - 3 pwm pwm0 - 3 fault0 pwma4 - 5 fault1 reload psrc0 - 2 gpioa4 - 5 fault2 fault3 reload on figure 1-7 , figure 1-5 2 4 2 2 1 1 fault1 on figure 1-5 gpiob5 ta1 on figure 1-7 3 3 3 gpiob2 - 4 on figure 1-4 limit on figure 1-3 ta0o, ta2o, ta3o on figure 1-3 cmpao on figure 1-5 3 cmpbo on figure 1-5 fault2 on figure 1-5 cmpao on figure 1-5 cmpbo on figure 1-5 architecture block diagram 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 17 figure 1-7 56f8037/56F8027 i/o pin-out muxing (part 5/5) to/from ipbus bridge ipbus tmra t0o t0i t1o t1i t2o t2i t3o t3i ta0o on figure 1-6 (pwm) ta0 on figure 1-6 (gpioa6) ta0 on figure 1-4 (gpiob4) ta1 on figure 1-4 (gpioa12) ta1 on figure 1-6 (gpiob5) cmpao on figure 1-6 (cmpa) sync1 on figure 1-3 (adc) ta2o on figure 1-6 (pwm) ta2 on figure 1-6 (gpioa4) ta2 on figure 1-5 (gpioa8) ta2 on figure 1-4 (gpioa13) ta2 on figure 1-4 (gpiob2) cmpbo on figure 1-6 (cmpb) sync0 on figure 1-3 (adc) ta3o on figure 1-6 (pwm) ta3 on figure 1-6 (gpioa5) ta3 on figure 1-5 (gpioa9) ta3 on figure 1-4 (gpioa14) ta 3 on figure 1-4 (gpiob3) reload on figure 1-6 (pwm) 56f8037/56F8027 data sheet, rev. 6 18 freescale semiconductor 1.5 product documentation the documents listed in table 1-2 are required for a complete description and proper design with the 56f8037/56F8027. documentation is ava ilable from local freescale distri butors, freescale semiconductor sales offices, freescale literature distribution centers, or online at: http://www.freescale.com table 1-2 56f8037/56F8027 chip documentation 1.6 data sheet conventions this data sheet uses the following conventions: topic description order number dsp56800e reference manual detailed description of the 56800e family architecture, 16-bit digital signal controller core processor, and the instruction set dsp56800erm 56f802x and 56f803x peripheral reference manual detailed description of peripherals of the 56f802x and 56f803x family of devices mc56f80xxrm 56f802x and 56f803x serial bootloader user guide detailed description of the serial bootloader in the 56f802x and 56f803x family of devices 56f80xxblug 56f8037/56F8027 technical data sheet electrical and timing specifications, pin descriptions, and package descriptions (this document) mc56f8037/56F8027 56f8037/56F8027 errata details any chip issues that might be present mc56f8037/56F8027e overbar this is used to indicate a signal that is active when pulled low. for example, the reset pin is active when low. ?asserted? a high true (active high) signal is hi gh or a low true (active low) signal is low. ?deasserted? a high true (active high) signal is low or a low true (active low) signal is high. examples: signal/symbol logic state signal state voltage 1 1. values for v il , v ol , v ih , and v oh are defined by individual product specifications. pin true asserted v il /v ol pin false deasserted v ih /v oh pin true asserted v ih /v oh pin false deasserted v il /v ol introduction 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 19 part 2 signal/connection descriptions 2.1 introduction the input and output signals of th e 56f8037/56F8027 are organized into functional groups, as detailed in table 2-1 . table 2-2 summarizes all device pins. in table 2-2 , each table row describes the signal or signals present on a pin, sorted by pin number. table 2-1 functional gr oup pin allocations functional group number of pins power inputs (v dd , v dda )4 ground (v ss , v ssa )5 supply capacitors 2 reset 1 1. pins may be shared with other peripherals. see table 2-2 . 1 pulse width modulator (pwm) ports 1 13 queued serial peripheral interface 0 (qspi0) ports 1 4 queued serial peripheral interface 1 (qspi1) ports 1 4 timer module a (tmra) ports 1 4 timer module b (tmrb) ports 1 4 analog-to-digital converter (adc) ports 1 16 digital-to-analog c onverter (dac) ports 1 2 queued serial communications interface 0 (qsci0) ports 1 2 queued serial communications interface 1 (qsci1) ports 1 2 inter-integrated circuit interface (i 2 c) ports 1 2 mscan ports 1 2 oscillator signals 1 2 jtag/enhanced on-chip emulation (eonce) 1 4 56f8037/56F8027 data sheet, rev. 6 20 freescale semiconductor in table 2-2 , peripheral pins in bold identify reset state. table 2-2 56f8037/56F8027 pins peripherals: pin # pin name signal name gpio i2c qsci qspi adc pwm quad timer dac comp mscan power & ground jtag misc. 1 gpiob6 gpiob6, rxd0, sda, clkin b6 sda rxd0 clkin 2 gpiob1 gpiob1, ss 0 , sda b1 sda ss 0 3 gpiob7 gpiob7, txd0, scl b7 scl txd0 4 gpiob5 gpiob5, ta1, fault3, clkin b5 fault3 ta1 clkin 5 gpioa9 gpioa9, fault2, ta3, cmpbi1 a9 fault2 ta3 cmpbi1 6 gpioa11 gpioa11, tb3, cmpbi2 a11 tb3 cmpbi2 7 vdd v dd v dd 8 vss v ss v ss 9 gpioc12 gpioc12, anb4, rxd1 c12 rxd1 anb4 10 gpioc4 gpioc4, anb0, cmpbi3 c4 anb0 cmpbi3 11 gpioc5 gpioc5, anb1 c5 anb1 12 gpioc13 gpioc13, anb5 c13 anb5 13 gpioc6 anb2, v refhb c6 anb2 v refhb 14 gpioc7 gpioc7, anb3, v reflb c7 anb3 v reflb 15 gpiod7 gpiod7, dac1 d7 dac1 16 vdda v dda v dda 17 vssa v ssa v ssa 18 gpiod6 gpiod6, dac0 d6 dac0 19 gpioc3 gpioc3, ana3, v refla c3 ana3 v refla 20 gpioc2 gpioc2, ana2, v refha c2 ana2 v refha 21 gpioc9 gpioc9, ana5 c9 ana5 22 gpioc1 gpioc1, ana1 c1 ana1 23 gpioc10 gpioc10, ana6 c10 ana6 24 gpioc0 gpioc0, ana0, cmpai3 c0 ana0 cmpai3 25 gpioc11 gpioc11, ana7 c11 ana7 26 gpioc8 gpioc8, ana4, txd1 c8 txd1 ana4 27 vss v ss v ss introduction 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 21 28 vcap v cap v cap 29 tck tck, gpiod2 d2 tck 30 gpiob10 gpiob10, cmpao, tb0 b10 tb0 cmpao 31 reset reset , gpioa7 a7 rese t 32 gpiob3 gpiob3, mosi0, ta3, psrc1 b3 mosi0 psrc1 ta3 33 gpiob2 gpiob2, miso0, ta2, psrc0 b2 miso0 psrc0 ta2 34 gpioa6 gpioa6, fault0, ta0 a6 fault0 ta0 35 gpioa10 gpioa10, tb2, cmpai2 a10 tb2 cmpai2 36 gpioa8 gpioa8, fault1, ta2, cmpai1 a8 fault1 ta2 cmpai1 37 gpioa12 gpioa12, tb1, sclk1, ta1 a12 sclk1 tb1 ta1 38 gpiob4 gpiob4, ss1 , tb0, ta0, psrc2, clko b4 ss1 psrc2 ta0 tb0 clko 39 gpioa5 gpioa5, pwm5, ta3, fault2 a5 pwm5 fault2 ta3 40 vss v ss v ss 41 vdd v dd v dd 42 gpiob0 gpiob0, sclk0, scl b0 scl sclk0 43 gpioa4 gpioa4, pwm4, ta2, fault1 a4 pwm4 fault1 ta2 44 gpioa13 gpioa13, tb2, miso1, ta2 a13 miso1 tb2 ta2 45 gpioa14 gpioa14, tb3, mosi1, ta3 a14 mosi1 tb3 ta3 46 gpiob9 gpiob9, sda, canrx b9 sda canrx 47 gpioa2 gpioa2, pwm2 a2 pwm2 48 gpioa3 gpioa3, pwm3 a3 pwm3 49 vcap v cap v cap 50 vdd v dd v dd 51 vss v ss v ss 52 gpiod5 gpiod5, xtal, clkin d5 xtal clkin 53 gpiod4 gpiod4, extal d4 extal 54 gpiob8 gpiob8, scl, cantx b8 scl cantx 55 gpioa1 gpioa1, pwm1 a1 pwm1 table 2-2 56f8037/56F8027 pins (continued) peripherals: pin # pin name signal name gpio i2c qsci qspi adc pwm quad timer dac comp mscan power & ground jtag misc. 56f8037/56F8027 data sheet, rev. 6 22 freescale semiconductor 56 gpioa0 gpioa0, pwm0 a0 pwm0 57 gpiob12 gpiob12, cantx b12 cantx 58 gpiob13 gpiob13, canrx b13 canrx 59 tdi tdi, gpiod0 d0 td1 60 gpiob11 gpiob11, cmpbo, tb1 b11 tb1 cmpbo 61 gpioc15 gpioc15, anb7 c15 anb7 62 gpioc14 gpioc14, anb6 c14 anb6 63 tms tms, gpiod3 d3 tms 64 tdo tdo, gpiod1 d1 tdo table 2-2 56f8037/56F8027 pins (continued) peripherals: pin # pin name signal name gpio i2c qsci qspi adc pwm quad timer dac comp mscan power & ground jtag misc. introduction 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 23 figure 2-1 56f8037/56F8027 signals identified by functional group v dd v dda v ssa gpiod5 (xtal, clkin) gpiod4 (extal) other supply ports osc port or gpio jtag/ eonce or gpiod 3 1 4 v cap 2 1 1 tck (gpiod2) tms (gpiod3) gpioc2 (ana2, v refha ) 1 1 1 56f8037/56F8027 1 tdi (gpiod0) tdo (gpiod1) gpiob5 (ta1, fault3, clkin) gpiob6 (rxd0, sda, clkin) gpiob7 (txd0, scl) 1 1 1 v ss power ground power ground gpioc1 (ana1) 1 gpioc0 (ana0 & cmpai3) 1 gpioc3 (ana3, v refla ) 1 gpioc8 (ana4, txd1) 1 reset or gpioa reset (gpioa7) 1 gpiob0 (sclk0, scl) gpiob1 (ss0 , sda) qspi0 or i 2 c or pwm or tmra or gpiob 1 1 qsci0 or pwm or i 2 c or tmra or tmrb or qspi1 or gpiob adc or cmp or qsci1 or gpioc gpiob2 (miso0, ta2, psrc0) gpiob3 (mosi0, ta3, psrc1) 1 1 gpioa9 (fault2, ta3, cmpbi1) 1 gpioa0-3 (pwm0-3) gpioa4 (pwm4, ta2, fault1) gpioa5 (pwm5, ta3, fault2) 4 1 1 gpioa8 (fault1, ta2, cmpai1) 1 gpioa6 (fault0, ta0) 1 gpioa10 (tb2, cmpai2) 1 gpioa11 (tb3, cmpbi2) 1 pwm or tmra or tmrb or cmp or qspi1 or gpioa 1 1 1 gpiob10 (tb0, cmpao) 1 gpiob9 (sda, canrx) 1 gpiob8 (scl, cantx) 1 gpiob11 (tb1, cmpbo) 1 i 2 c or can or tmrb or cmp or gpiob gpioc6 (anb2, v refhb ) 1 gpioc5 (anb1) 1 gpioc4 (anb0 & cmpbi3) 1 gpioc7 (anb3, v reflb ) 1 gpioc12 (anb4, rxd1) 1 gpiob4 (ss1 , tb0, ta0, psrc2, clko) 1 dac or gpiod gpiod6-7 (dac0-1) 2 gpioa12 (sclk1, tb1, ta1) 1 gpioa13 (miso1, tb2, ta2) 1 gpioa14 (mosi1, tb3, ta3) 1 gpiob12 (cantx) 1 gpiob13 (canrx) 1 gpioc9-11 (ana5-7) 3 gpioc13-15 (ana5-7) 3 56f8037/56F8027 data sheet, rev. 6 24 freescale semiconductor 2.2 56f8037/56F8027 signal pins after reset, each pin is configured for its primary function (listed first). any alternate functionality must be programmed. table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp signal name lqfp pin no. type state during reset signal description v dd 7 supply supply i/o power ? this pin supplies 3.3v power to the chip i/o interface. v dd 41 v dd 50 v ss 8 supply supply v ss ? these pins provide ground fo r chip logic and i/o drivers. v ss 27 v ss 40 v ss 51 v dda 16 supply supply adc power ? this pin supplies 3.3v power to the adc modules. it must be connected to a clean analog power supply. v ssa 17 supply supply adc analog ground ? this pin supplies an analog ground to the adc modules. v cap 28 supply supply v cap ? connect this pin to a 2.2 f or greater bypass capacitor in order to bypass the core voltage regulator, required for proper chip operation. see section 10.2.1 . v cap 49 reset (gpioa7) 31 input input/open drain output input, internal pull-up enabled reset ? this input is a direct hardware reset on the processor. when reset is asserted low, the chip is initialized and placed in the reset state. a schmitt trigger input is used for noise immunity. the internal reset signal will be deasserted synchronous with the internal clocks after a fixed numbe r of internal clocks. port a gpio ? this gpio pin can be individually programmed as an input or open dr ain output pin. note that reset functionality is disabled in this mode and the chip can only be reset via por, cop reset, or software reset. after reset, the default state is reset . return to table 2-2 56f8037/56F8027 signal pins 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 25 gpioa0 (pwm0) 56 input/ output output input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. pwm0 ? this is one of the six pwm output pins. after reset, the default state is gpioa0. gpioa1 (pwm1) 55 input/ output output input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. pwm1 ? this is one of the six pwm output pins. after reset, the default state is gpioa1. gpioa2 (pwm2) 47 input/ output output input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. pwm2 ? this is one of the six pwm output pins. after reset, the default state is gpioa2. gpioa3 (pwm3) 48 input/ output output input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. pwm3 ? this is one of the six pwm output pins. after reset, the default state is gpioa3. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 data sheet, rev. 6 26 freescale semiconductor gpioa4 (pwm4) (ta2 1 ) (fault1 2 ) 43 input/ output output input/ output input input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. pwm4 ? this is one of the six pwm output pins. ta2 ? timer a, channel 2 fault1 ? this fault input pin is used for disabling selected pwm outputs in cases where fault conditions originate off-chip. after reset, the default state is gp ioa4. the peripheral functionality is controlled via the sim. see section 6.3.16 . 1 the ta2 signal is also brought out on the gpioa8-9, gpioa13-14 and gpiob2-3 pins. 2 the fault1 signal is also brought out on the gpioa8-9, gpiob4 and gpiob10 pins. gpioa5 (pwm5) (ta3 3 ) (fault2 4 ) 39 input/ output output input/ output input input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. pwm5 ? this is one of the six pwm output pins. ta3 ? timer a, channel 3 fault2 ? this fault input pin is used for disabling selected pwm outputs in cases where fault conditions originate off-chip. after reset, the default state is gp ioa5. the peripheral functionality is controlled via the sim. see section 6.3.16 . 3 the ta3 signal is also brought out on the gpioa8-9, gpioa13-14 and gpiob2-3 pins. 4 the fault2 signal is also brought out on the gpioa8-9, gpiob4 and gpiob10 pins. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 signal pins 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 27 gpioa6 (fault0) (ta0 5 ) 34 input/ output input input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. fault0 ? this fault input pin is used for disabling selected pwm outputs in cases where fault conditions originate off-chip. ta0 ? timer a, channel 0. after reset, the default state is gp ioa6. the peripheral functionality is controlled via the sim. see section 6.3.16 . 5 the ta0 signal is also brought out on the gpiob4 pin. gpioa8 (fault1) (ta2) (cmpai1) 36 input/ output input input/ output input input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. fault1 ? this fault input pin is used for disabling selected pwm outputs in cases where fault conditions originate off-chip. ta2 ? timer a, channel 2. comparator a, input 1 ? this is an analog input to comparator a. after reset, the default state is gp ioa8. the peripheral functionality is controlled via the sim. see section 6.3.16 . gpioa9 (fault2) (ta3) (cmpbi1) 5 input/ output input input/ output input input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. fault2 ? this fault input pin is used for disabling selected pwm outputs in cases where fault conditions originate off-chip. ta2 ? timer a, channel 3. comparator b, input 1 ? this is an analog input to comparator b. after reset, the default state is gp ioa9. the peripheral functionality is controlled via the sim. see section 6.3.16 . return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 data sheet, rev. 6 28 freescale semiconductor gpioa10 (tb2 6 ) (cmpai2) 35 input/ output input/ output input input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. tb2 ? timer b, channel 2. comparator a, input 2 ? this is an analog input to comparator a. after reset, the default state is gp ioa10. the peripheral functionality is controlled via the sim. see section 6.3.16 . 6 the tb2 signal is also brought out on the gpioa13 pin. gpioa11 (tb3 7 ) (cmpbi2) 6 input/ output input/ output input input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. tb3 ? timer b, channel 3. comparator b, input 2 ? this is an analog input to comparator b. after reset, the default state is gp ioa11. the peripheral functionality is controlled via the sim. see section 6.3.16 . 7 the tb3 signal is also brought out on the gpioa14 pin. gpioa12 (sclk1) (tb1 8 ) (ta1 9 ) 37 input/ output input/ output input/ output input/ output input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. qspi1 serial clock ? in the master mode, this pin serves as an output, clocking slaved listeners. in slave mode, this pin serves as the data clock input. a schmitt trigger input is used for noise immunity. tb1 ? timer b, channel 1. ta1 ? timer a, channel 1. after reset, the default state is gp ioa12. the peripheral functionality is controlled via the sim. see section 6.3.16 . 8 the tb1 signal is also brought out on the gpiob11 pin. 9 the ta1 signal is also brought out on the gpiob5 pin. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 signal pins 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 29 gpioa13 (miso1) (tb2 10 ) (ta2 11 ) 44 input/ output input/ output input/ output input/ output input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. qspi1 master in/slave out ? this serial data pin is an input to a master device and an output from a slave device. the miso line of a slave device is placed in the high-im pedance state if the slave device is not selected. the slave device places data on the miso line a half-cycle before the clock edge the master devices uses to latch the data. tb2 ? timer b, channel 2. ta2 ? timer a, channel 2. after reset, the default state is gp ioa13. the peripheral functionality is controlled via the sim. see section 6.3.16 . 10 the tb2 signal is also br ought out on the gpioa10 pin. 11 the ta2 signal is also brought out on the gpioa4, gpioa8 and gpiob2 pins. gpioa14 (mosi1) (tb3 12 ) (ta3 13 ) 45 input/ output input/ output input/ output input/ output input, internal pull-up enabled port a gpio ? this gpio pin can be individually programmed as an input or output pin. qspi1 masterout/slave in ? this serial data pin is an output from a master device and an input to a slave device. the master device places data on the mosi line a half-cycle before t he clock edge the slave devices uses to latch the data. tb3 ? timer b, channel 3. ta3 ? timer a, channel 3. after reset, the default state is gp ioa14. the peripheral functionality is controlled via the sim. see section 6.3.16 . 12 the tb3 signal is also br ought out on the gpioa11 pin. 13 the ta3 signal is also brought out on the gpioa5, gpioa9, and gpiob3 pins. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 data sheet, rev. 6 30 freescale semiconductor gpiob0 (sclk0) (scl 14 ) 42 input/ output input/ output input/ output input, internal pull-up enabled port b gpio ? this gpio pin can be individually programmed as an input or output pin. qspi0 serial clock ? in the master mode, this pin serves as an output, clocking slaved listeners. in slave mode, this pin serves as the data clock input. a schmitt trigger input is used for noise immunity. serial clock ? this pin serves as the i 2 c serial clock. after reset, the default state is gp iob0. the peripheral functionality is controlled via the sim. see section 6.3.16 . 14 the scl signal is also brought out on the gpiob7 and gpiob8 pins. gpiob1 (ss 0 ) (sda 15 ) 2 input/ output input/ output input input, internal pull-up enabled port b gpio ? this gpio pin can be individually programmed as an input or output pin. qspi0 slave select ? ss is used in slave mode to indicate to the qspi0 module that the current transfer is to be received. serial data ? this pin serves as the i 2 c serial data line. after reset, the default state is gp iob1. the peripheral functionality is controlled via the sim. see section 6.3.16 . 15 the sda signal is also brought out on the gpiob6 and gpiob9 pins. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 signal pins 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 31 gpiob2 (miso0) (ta2 16 ) (psrc0) 33 input/ output input/ output input/ output input input, internal pull-up enabled port b gpio ? this gpio pin can be individually programmed as an input or output pin. qspi0 master in/slave out ? this serial data pin is an input to a master device and an output from a slave device. the miso line of a slave device is placed in the high-im pedance state if the slave device is not selected. the slave device places data on the miso line a half-cycle before the cloc k edge the master device uses to latch the data. ta2 ? timer a, channel 2 psrc0 ? external pwm signal source input for the complementary pwm4/pwm5 pair. after reset, the default state is gp iob2. the peripheral functionality is controlled via the sim. see section 6.3.16 . 16 the ta2 signal is also brought out on the gpioa4, gpioa8 and gpioa13 pins. gpiob3 (mosi0) (ta3 17 ) (psrc1) 32 input/ output input/ output input/ output input input, internal pull-up enabled port b gpio ? this gpio pin can be individually programmed as an input or output pin. qspi0 master out/slave in ? this serial data pin is an output from a master device and an input to a slave device. the master device places data on the mosi line a half-cycle before t he clock edge the slave device uses to latch the data. ta3 ? timer a, channel 3 psrc1 ? external pwm signal source input for the complementary pwm2/pwm3 pair. after reset, the default state is gp iob3. the peripheral functionality is controlled via the sim. see section 6.3.16 . 17 the ta3 signal is also brought out on the gpioa5, gpioa9 and gpioa14 pins. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 data sheet, rev. 6 32 freescale semiconductor gpiob4 (ss1 ) (tb0 18 ) (ta0 19 ) (psrc2) (clko) 38 input/ output input/ output input/ output input/ output input output input, internal pull-up enabled port b gpio ? this gpio pin can be individually programmed as an input or output pin. qspi1 slave select ? this is used in slave mode to indicate to the qspi1 module that the current transfer is to be received. tb0 ? timer b, channel 0 ta0 ? timer a, channel 0 psrc2 ? external pwm signal source input for the complementary pwm0/pwm1 pair. clock output ? this is a buffered clock out put; the clock source is selected by clockout select (clkosel) bits in the clock output select register (clkout). see section 6.3.7 . after reset, the default state is gp iob4. the peripheral functionality is controlled via the sim. see section 6.3.16 . 18 the tb0 signal is also brought out on the gpiob4 and gpiob10 pins. 19 the ta0 signal is also brought out on the gpiob4 and gpioa6 pins. gpiob5 (ta1 20 ) (fault3) (clkin) 4 input/ output input/ output input input input, internal pull-up enabled port b gpio ? this gpio pin can be individually programmed as an input or output pin. ta1 ? timer a, channel 1 fault3 ? this fault input pin is used for disabling selected pwm outputs in cases where fault conditions originate off-chip. external clock input ? this pin serves as an external clock input. after reset, the default state is gp iob5. the peripheral functionality is controlled via the sim. see section 6.3.16 . 20 the ta1 signal is also br ought out on the gpioa12 pin. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 signal pins 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 33 gpiob6 (rxd0) (sda 21 ) (clkin) 1 input/ output input input/ output input input, internal pull-up enabled port b gpio ? this gpio pin can be individually programmed as an input or output pin. receive data 0 ? qsci0 receive data input. serial data ? this pin serves as the i 2 c serial data line. external clock input ? this pin serves as an optional external clock input. after reset, the default state is gp iob6. the peripheral functionality is controlled via the sim (see section 6.3.16 ) and the clkmode bit of the occs oscillator control register. 21 the sda signal is also brought out on the gpiob1 and gpiob9 pins. gpiob7 (txd0) (scl 22 ) 3 input/ output input/ output input/ output input, internal pull-up enabled port b gpio ? this gpio pin can be individually programmed as an input or output pin. transmit data 0 ? qsci0 transmit data output or transmit / receive in single wire operation. serial clock ? this pin serves as the i 2 c serial clock. after reset, the default state is gp iob7. the peripheral functionality is controlled via the sim. see section 6.3.16 . 22 the scl signal is also brought out on the gpiob0 and gpiob8 pins. gpiob8 (scl 23 ) (cantx 24 ) 54 input/ output input/ output open drain output input, internal pull-up enabled port b gpio ? this gpio pin can be individually programmed as an input or output pin. serial clock 1 ? this pin serves as the i 2 c serial clock. can transmit data ? this is the scan interface output. after reset, the default state is gp iob8. the peripheral functionality is controlled via the sim. see section 6.3.16 . 23 the scl signal is also brought out on the gpiob0 and gpiob7 pins. 24 the cantx signal is also brought out on the gpiob12 pin. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 data sheet, rev. 6 34 freescale semiconductor gpiob9 (sda 25 ) (canrx 26 ) 46 input/ output input/ output input input, internal pull-up enabled port b gpio ? this gpio pin can be individually programmed as an input or output pin. serial data 1 ? this pin serves as the i 2 c serial data line. can receive data ? this is the mscan interface input. after reset, the default state is gp iob9. the peripheral functionality is controlled via the sim. see section 6.3.16 . 25 the sda signal is also brought out on the gpiob1 and gpiob6 pins. 26 the canrx signal is also br ought out on the gpiob13 pin. gpiob10 (tb0 27 ) (cmpao) 30 input/ output input/ output output input, internal pull-up enabled port b gpio ? this gpio pin can be individually programmed as an input or output pin. tb0 ? timer b, channel 0. comparator a output ? this is the output of comparator a. after reset, the default state is gp iob10. the peripheral functionality is controlled via the sim. see section 6.3.16 . 27 the tb0 signal is also brought out on the gpiob4 pin. gpiob11 (tb1 28 ) (cmpbo) 60 input/ output input/ output output input, internal pull-up enabled port b gpio ? this gpio pin can be individually programmed as an input or output pin. tb1 ? timer b, channel 1. comparator b output ? this is the output of comparator b. after reset, the default state is gp iob11. the peripheral functionality is controlled via the sim. see section 6.3.16 . 28 the tb1 signal is also br ought out on the gpioa12 pin. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 signal pins 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 35 gpiob12 (cantx 29 ) 57 input/ output open drain output input port b gpio ? this gpio pin can be individually programmed as an input or output pin. can transmit data ? this is the mscan interface output. after reset, the default state is gpiob12. 29 the cantx signal is also brought out on the gpiob8 pin. gpiob13 (canrx 30 ) 58 input/ output input input port b gpio ? this gpio pin can be individually programmed as an input or output pin. can receive data ? this is the mscan interface input. after reset, the default state is gpiob13. 30 the canrx signal is also brought out on the gpiob9 pin. gpioc0 (ana0 & cmpai3) 24 input/ output analog input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. ana0 ? analog input to adc a, channel 0. comparator a, input 3 ? this is an analog input to comparator a. when used as an analog input, the signal goes to both ana0 and cmpai3. after reset, the default state is gpioc0. gpioc1 (ana1) 22 input/ output analog input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. ana1 ? analog input to adc a, channel 1. after reset, the default state is gpioc1. gpioc2 (ana2) (v refha ) 20 input/ output analog input analog input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. ana2 ? analog input to adc a, channel 2. v refha ? analog reference voltage high (adc a). after reset, the default state is gpioc2. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 data sheet, rev. 6 36 freescale semiconductor gpioc3 (ana3) (v refla ) 19 input/ output analog input analog input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. ana3 ? analog input to adc a, channel 3. v refla ? analog reference voltage low. (adc a). after reset, the default state is gpioc3. gpioc4 (anb0 & cmpbi3) 10 input/ output analog input analog input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. anb0 ? analog input to adc b, channel 0. comparator b, input 3 ? this is an analog input to comparator b. when used an analog input, the signal goes to both anb0 and cmpb13. after reset, the default state is gpioc4. gpioc5 (anb1) 11 input/ output analog input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. anb1 ? analog input to adc b, channel 1. after reset, the default state is gpioc5. gpioc6 (anb2) (v refhb ) 13 input/ output analog input input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. anb2 ? analog input to adc b, channel 2. v refhx ? analog reference voltage high (adc b). after reset, the default state is gpioc6. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 signal pins 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 37 gpioc7 (anb3) (v reflb ) 14 input/ output analog input input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. anb3 ? analog input to adc b, channel 3. v reflb ? analog reference voltage low (adc b). after reset, the default state is gpioc7. gpioc8 (ana4) (txd1) 26 input/ output analog input input/ output input port c gpio ? this gpio pin can be individually programmed as an input or output pin. ana4 ? analog input to adc a, channel 4. transmit data 1 ? sci1 transmit data output. after reset, the default state is gpioc8. gpioc9 (ana5) 21 input/ output analog input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. ana5 ? analog input to adc a, channel 5. after reset, the default state is gpioc9. gpioc10 (ana6) 23 input/ output analog input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. ana6 ? analog input to adc a, channel 6. after reset, the default state is gpioc10. gpioc11 (ana7) 25 input/ output analog input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. ana7 ? analog input to adc a, channel 7. after reset, the default state is gpioc11. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 data sheet, rev. 6 38 freescale semiconductor gpioc12 (anb4) (rxd1) 9 input/ output analog input input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. anb4 ? analog input to adc b, channel 4. receive data 1 ? sci1 receive data input. after reset, the default state is gpioc12. gpioc13 (anb5) 12 input/ output analog input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. anb5 ? analog input to adc b, channel 5. after reset, the default state is gpioc13. gpioc14 (anb6) 62 input/ output analog input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. anb6 ? analog input to adc b, channel 6. after reset, the default state is gpioc14. gpioc15 (anb7) 61 input/ output analog input input port c gpio ? this gpio pin can be individually programmed as an input or output pin. anb7 ? analog input to adc b, channel 7. after reset, the default state is gpioc15. gpiod4 (extal) 53 input/ output analog input input port d gpio ? this gpio pin can be individually programmed as an input or output pin. external crystal oscillator input ? this input can be connected to an 8mhz external crystal. tie this pin low if xtal is being driven by an external clock source. after reset, the default state is gpiod4. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 signal pins 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 39 gpiod5 (xtal) (clkin) 52 input/ output analog input/ output input input port d gpio ? this gpio pin can be individually programmed as an input or output pin. external crystal oscillator output ? this output connects the internal crystal oscillator out put to an external crystal. external clock input ? this pin serves as an external clock input. after reset, the default state is gpiod5. gpiod6 (dac0) 18 input/ output analog input input, internal pull-up enabled port d gpio ? this gpio pin can be individually programmed as an input or output pin. dac0 ? digital-to-analog converter output 0. after reset, the default state is gpiod6. gpiod7 (dac1) 15 input/ output analog input input, internal pull-up enabled port d gpio ? this gpio pin can be individually programmed as an input or output pin. dac1 ? digital-to-analog converter output 1. after reset, the default state is gpiod7. tdi (gpiod0) 59 input input/ output input, internal pull-up enabled test data input ? this input pin provides a serial input data stream to the jtag/eonce port. it is sampled on the rising edge of tck and has an on-chip pull-up resistor. port d gpio ? this gpio pin can be individually programmed as an input or output pin. after reset, the default state is tdi. tdo (gpiod1) 64 output input/ output output tri-stated, internal pull-up enabled test data output ? this tri-stateable output pin provides a serial output data stream from the jtag/eonce port. it is driven in the shift-ir and shift-dr controller states, and changes on the falling edge of tck. port d gpio ? this gpio pin can be individually programmed as an input or output pin. after reset, the default state is tdo. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description 56f8037/56F8027 data sheet, rev. 6 40 freescale semiconductor part 3 occs 3.1 overview the on-chip clock synthesis (occs) module allows designers using an internal relaxation oscillator, an external crystal, or an external clock to run 56f8000 fami ly devices at user-sel ectable frequencies up to 32mhz. for details, see the occs chapter in the 56f802x and 56f803x peripher al reference manual . tck (gpiod2) 29 input input/ output input, internal pull-up enabled test clock input ? this input pin provides a gated clock to synchronize the test logic and shift serial data to the jtag/eonce port. the pin is connected internally to a pull-up resistor. a schmitt trigger input is used for noise immunity. port d gpio ? this gpio pin can be individually programmed as an input or output pin. after reset, the default state is tck. tms (gpiod3) 63 input input/ output input, internal pull-up enabled test mode select input ? this input pin is used to sequence the jtag tap controller?s state machine. it is sampled on the rising edge of tck and has an on-chip pull-up resistor. port d gpio ? this gpio pin can be individually programmed as an input or output pin. after reset, the default state is tms. note: always tie the tms pin to v dd through a 2.2k resistor. return to table 2-2 table 2-3 56f8037/56F8027 signal and package information for the 64-pin lqfp (continued) signal name lqfp pin no. type state during reset signal description features 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 41 3.2 features the occs module interfaces to the oscillat or and pll and offers these features: ? internal relaxation oscillator ? ability to power down the internal rela xation oscillator or crystal oscillator ? ability to put the internal rela xation oscillator into standby mode ? 3-bit postscaler provides control for the pll output ? ability to power down the pll ? provides a 2x system clock which operates at twice the system clock to the system integration module (sim) ? provides a 3x system clock which operates at thr ee times the system clock to pwm and timer modules ? safety shutdown feature is availabl e if the pll reference clock is lost ? can be driven from an external clock source the clock generation module provid es the programming interface for the pll, internal relaxation oscillator, and cr ystal oscillator. 3.3 operating modes in 56f8000 family devices, an internal oscillator, an external crystal, or an external clock source can be used to provide a reference clock to the sim. the 2x system clock source output from the occs ca n be described by one of the following equations: 2x system frequency = oscillator frequency 2x system frequency = (oscillato r frequency x 8) / (postscaler) where: postscaler = 1, 2, 4, 8, 16, or 32 the sim is responsible for further dividing these frequencies by two, wh ich will insure a 50% duty cycle in the system clock output. the 56f8000 family devices? on-chip clock s ynthesis module has the following registers: ? control register (occs_ctrl) ? divide-by register (occs_divby) ? status register (occs_stat) ? shutdown register (occs_shutdn) ? oscillator control register (occs_octrl) for more information on these registers, please refer to the 56f802x and 56f803x peripheral reference manual. 56f8037/56F8027 data sheet, rev. 6 42 freescale semiconductor 3.4 internal clock source an internal relaxation osci llator can supply the refere nce frequency when an exte rnal frequency source or crystal is not used. it is optimiz ed for accuracy and pr ogrammability while provi ding several power-saving configurations which accommodate different operating conditions. the in ternal relaxation oscillator has very little temperature and voltage variability. to optimize power, the architectu re supports a standby state and a power-down state. during a boot or reset sequence, the relaxation oscill ator is enabled by defaul t (the precs bit in the pllcr word is set to 0). application code can then also switch to the extern al clock sour ce and power down the internal oscillator, if de sired. if a changeover be tween internal and exte rnal clock sources is required at power-on, the user must en sure that the clock source is not switched until the desired external clock source is en abled and stable. to compensate for variances in th e device manufacturing process, the ac curacy of the relaxation oscillator can be incrementally adjusted to within + 0.078% of 8mhz by trim ming an internal capacitor. bits 0-9 of the osctl (oscillator control) register allow the user to set in an addi tional offset (trim) to this preset value to increase or decrease cap acitance. each unit adde d or subtracted change s the output frequency by about 0.078% of 8mhz, allowing increm ental adjustment until the desire d frequency accuracy is achieved. the center frequency of the internal os cillator is calibrated at the factory to 8mhz and the trim value is stored in the flash information block and loaded to the fmopt1 register at reset. when using the relaxation oscillator, the boot code should read the fmopt1 register and set this value as osctl trim. for further information, see the 56f802x and 56f803x periph eral reference manual . 3.5 crystal oscillator the internal crystal oscillat or circuit is designed to in terface with a parallel-resonant crystal resonator in a frequency range of 4-8mhz, specif ied for the external crystal. figure 3-1 shows a typical crystal oscillator circuit. follow the crystal supplier ? s recommendations when selecting a crystal, since crystal parameters determine the component values required to provid e maximum stability and re liable start-up. the load capacitance values used in the oscillator circuit de sign should include all stra y layout capacitances. the crystal and associated components should be mounted as near as pos sible to the extal and xtal pins to minimize output distortion an d start-up stabilization time. ceramic resonator 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 43 figure 3-1 external cryst al oscillator circuit 3.6 ceramic resonator the internal crystal oscillator circui t is also designed to interface with a ceramic resonator in the frequency range of 4-8mhz. figure 3-2 shows the typical 2 and 3 terminal ce ramic resonators and their circuits. follow the resonator supplier ? s recommendations when selecting a resonator, since their parameters determine the component values required to provide maximum stability and re liable start up. the load capacitance values used in the re sonator circuit design should includ e all stray layout capacitances. the resonator and associated components should be mounte d as near as possible to the extal and xtal pins to minimize output distortion an d start-up stabilization time. figure 3-2 external cera mic resonator circuit 3.7 external clock input - crystal oscillator option the recommended method of connecting an external cl ock is illustrated in figure 3-3 . the external clock source is connected to xtal and th e extal pin is grounded. the external clock input must be generated using a relatively low impedance driver. sample external crystal parameters: r z = 750 k note: if the operating temperature range is limited to below 85 o c (105 o c junction), then r z = 10 meg extal xtal r z cl1 cl2 crystal frequency = 4 - 8mhz (optimized for 8mhz) extal xtal r z extal xtal r z sample external cerami c resonator parameters: r z = 750 k extal xtal r z c1 cl1 cl2 c2 resonator frequency = 4 - 8mhz (optimized for 8mhz) 3 terminal 2 terminal 56f8037/56F8027 data sheet, rev. 6 44 freescale semiconductor figure 3-3 connecting an extern al clock signal using xtal 3.8 alternate external clock input the recommended method of connecting an external clock is illustrated in figure 3-3 . the external clock source is connected to gpio6/ rxd (primary) or gpiob5/ta1 /fault3/xtal/extal (secondary). the user has the option of us ing gpio6/rxd/clkin or gpiob5 /ta1/fault3/clkin as external clock input. figure 3-4 connecting an extern al clock signal using gpio part 4 memory maps 4.1 introduction the 56f8037/56F8027 device is a 16-bi t motor-control chip based on the 56800e core. it uses a harvard-style architecture with two independent me mory spaces for data a nd program. on-chip ram is shared by both spaces and flash memo ry is used only in program space. this section provides memory maps for: ? program address space, including the interrupt vector table ? data address space, including the eonce memory and peripheral memory maps on-chip memory sizes for the device are summarized in table 4-1 . flash memories? restrictions are identified in the ?use restrictions? column of table 4-1 . 56f8037/56F8027 external clock xtal extal gnd or gpio clkmode = 1 56f8037/56F8027 gpio external clock interrupt vector table 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 45 4.2 interrupt vector table table 4-2 provides the 56f8037/56F8027?s reset and interr upt priority struct ure, including on-chip peripherals. the table is organized with higher-priority vectors at th e top and lower-priority interrupts lower in the table. as indicated, the priority of an interrupt can be assigned to different levels, allowing some control over interrupt priorities. all level 3 in terrupts will be serviced be fore level 2, and so on. for a selected priority level, the lowest vector number has the highest priority. the location of the vector table is determined by the vector base addr ess (vba). please see section 5.6.8 for the reset value of the vba. by default, the chip reset address and cop reset address wi ll correspond to vector 0 and 1 of the interrupt vector table. in these instances, the first two locati ons in the vector table must contain branch or jmp instructions. all other entries must contain jsr instructions. table 4-1 chip memo ry configurations on-chip memory 56f8037 56F8027 use restrictions program flash (pflash) 32k x 16 or 64kb 16k x 16 or 32kb erase / program via flash interfac e unit and word writes to cdbw unified ram (ram) 4k x 16 or 8kb 2k x 16 or 4kb usable by both the program and data memory spaces table 4-2 interrupt v ector table contents 1 peripheral vector number priority level vector base address + interrupt function core p:$00 reserved for reset overlay 2 core p:$02 reserved for cop reset overlay core 2 3 p:$04 illegal instruction core 3 3 p:$06 sw interrupt 3 core 4 3 p:$08 hw stack overflow core 5 3 p:$0a misaligned long word access core 6 1-3 p:$0c eonce step counter core 7 1-3 p:$0e eonce breakpoint unit core 8 1-3 p:$10 eonce trace buffer core 9 1-3 p:$12 eonce transmit register empty core 10 1-3 p:$14 eonce receive register full core 11 2 p:$16 sw interrupt 2 core 12 1 p:$18 sw interrupt 1 core 13 0 p:$1a sw interrupt 0 14 reserved 56f8037/56F8027 data sheet, rev. 6 46 freescale semiconductor lvi 15 1-3 p:$1e low-voltage detector (power sense) pll 16 1-3 p:$20 phase-locked loop fm 17 0-2 p:$22 fm access error interrupt fm 18 0-2 p:$24 fm command complete fm 19 0-2 p:$26 fm command, data , and address buffers empty mscan 20 0-2 p:$28 mscan error mscan 21 0-2 p:$2a mscan receive mscan 22 0-2 p:$2c mscan transmit mscan 23 0-2 p:$2e mscan wake-up gpiod 24 0-2 p:$30 gpiod gpioc 25 0-2 p:$32 gpioc gpiob 26 0-2 p:$34 gpiob gpioa 27 0-2 p:$36 gpioa qspi0 28 0-2 p:$38 qspi 0 receiver full qspi0 29 0-2 p:$3a qspi0 transmitter empty qspi1 30 0-2 p:$3c qspi 1 receiver full qspi1 31 0-2 p:$3e qspi1 transmitter empty qsci0 32 0-2 p:$40 qsci0 transmitter empty qsci0 33 0-2 p:$42 qsci0 transmitter idle qsci0 34 0-2 p:$44 qsci0 receiver error qsci0 35 0-2 p:$46 qsci0 receiver full qsci1 36 0-2 p:$48 qsci1 transmitter empty qsci1 37 0-2 p:$4a qsci1 transmitter idle qsci1 38 0-2 p:$4c qsci1 receiver error qsci1 39 0-2 p:$4e qsci1 receiver full i2c 40 0-2 p:$50 i 2 c error i2c 41 0-2 p:$52 i 2 c general i2c 42 0-2 p:$54 i 2 c receive i2c 43 0-2 p:$56 i 2 c transmit i2c 44 0-2 p:$58 i 2 c status tmra 45 0-2 p:$5a timer a, channel 0 tmra 46 0-2 p:$5c timer a, channel 1 tmra 47 0-2 p:$5e timer a, channel 2 tmra 48 0-2 p:$60 timer a, channel 3 tmrb 49 0-2 p:$62 timer b, channel 0 tmrb 50 0-2 p:$64 timer b, channel 1 tmrb 51 0-2 p:$66 timer b, channel 2 tmrb 52 0-2 p:$68 timer b, channel 3 table 4-2 interrupt vector table contents 1 (continued) peripheral vector number priority level vector base address + interrupt function program map 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 47 4.3 program map the program memory map is shown in table 4-3 and table 4-4 . cmpa 53 0-2 p:$6a comparator a cmpb 54 0-2 p:$6c comparator b pit0 55 0-2 p:$6e interval timer 0 pit1 56 0-2 p:$70 interval timer 1 pit2 57 0-2 p:$72 interval timer 2 adc 58 0-2 p:$74 adc a conversion complete adc 59 0-2 p:$76 adc b conversion complete adc 60 0-2 p:$78 adc zero crossing or limit error pwm 61 0-2 p:$7a reload pwm pwm 62 0-2 p:$7c pwm fault swilp 63 -1 p:$7e sw interrupt low priority 1. two words are allocated for each entry in the vector table. this does not allow the full address range to be referenced from the vector table, providing only 19 bits of address. 2. if the vba is set to the reset value, the first two locations of the vector table will overlay the chip reset addresses since the reset address would match the base of this vector table. table 4-3 program memory map 1 at reset for 56f8037 1. all addresses are 16-bit word addresses. begin/end address memory allocation p: $1f ffff p: $00 9000 reserved p: $00 8fff p: $00 8000 on-chip ram 2 8kb 2. this ram is shared with data space starting at address x: $00 0000; see figure 4-1 . p: $00 7fff p: $00 0000 internal program flash 64kb cop reset address = $00 0002 boot location = $00 0000 table 4-2 interrupt vector table contents 1 (continued) peripheral vector number priority level vector base address + interrupt function 56f8037/56F8027 data sheet, rev. 6 48 freescale semiconductor 4.4 data map table 4-4 program memory map 1 at reset for 56F8027 1. all addresses are 16-bit word addresses. begin/end address memory allocation p: $1f ffff p: $00 8800 reserved p: $00 87ff p: $00 8000 on-chip ram 2 4kb 2. this ram is shared with data space starting at address x: $00 0000; see figure 4-2 . p: $00 7fff p: $00 4000 internal program flash 32kb cop reset address = $00 4002 boot location = $00 4000 p: $00 3fff p: $00 0000 reserved table 4-5 data memory map for 56f8037 1 1. all addresses are 16-bit word addresses. begin/end address memory allocation x:$ff ffff x:$ff ff00 eonce 256 locations allocated x:$ff feff x:$01 0000 reserved x:$00 ffff x:$00 f000 on-chip peripherals 4096 locations allocated x:$00 efff x:$00 9000 reserved x:$00 8fff x:$00 8000 reserved x:$00 7fff x:$00 1000 reserved x:$00 0fff x:$00 0000 on-chip data ram 8kb 2 2. this ram is shared with program space starting at p: $00 8000; see figure 4-1 . data map 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 49 figure 4-1 dual port ram for 56f8037 table 4-6 data memory map for 56F8027 1 1. all addresses are 16-bit word addresses. begin/end address memory allocation x:$ff ffff x:$ff ff00 eonce 256 locations allocated x:$ff feff x:$01 0000 reserved x:$00 ffff x:$00 f000 on-chip peripherals 4096 locations allocated x:$00 efff x:$00 9000 reserved x:$00 8fff x:$00 8000 reserved x:$00 7fff x:$00 0800 reserved x:$00 07ff x:$00 0000 on-chip data ram 4kb 2 2. this ram is shared with program space starting at p: $00 8000; see figure 4-2 . reserved ram flash reserved eonce peripherals reserved ram dual port ram program data 56f8037/56F8027 data sheet, rev. 6 50 freescale semiconductor figure 4-2 dual port ram for 56F8027 4.5 eonce memory map figure 4-7 lists all eonce registers necessary to access or control the eonce. table 4-7 eonce memory map address register acronym register name x:$ff ffff otx1 / orx1 transmit register upper word receive register upper word x:$ff fffe otx / orx (32 bits) transmit register receive register x:$ff fffd otxrxsr transmit and receive status and control register x:$ff fffc oclsr core lock / unlock status register x:$ff fffb - x:$ff ffa1 reserved x:$ff ffa0 ocr control register x:$ff ff9f instruction step counter x:$ff ff9e oscntr (24 bits) instruction step counter x:$ff ff9d osr status register x:$ff ff9c obase peripheral base address register x:$ff ff9b otbcr trace buffer control register x:$ff ff9a otbpr trace bu ffer pointer register x:$ff ff99 trace buffer register stages x:$ff ff98 otb (21 - 24 bits/stage) trace buffer register stages x:$ff ff97 breakpoint unit control register x:$ff ff96 obcr (24 bits) breakpoint unit control register x:$ff ff95 breakpoint unit address register 1 x:$ff ff94 obar1 (24 bits) breakpoint unit address register 1 x:$ff ff93 breakpoint unit address register 2 reserved ram flash reserved eonce peripherals reserved ram dual port ram program data reserved peripheral memory-mapped registers 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 51 4.6 peripheral memory-mapped registers on-chip peripheral registers are pa rt of the data memory map on th e 56800e series. these locations may be accessed with the same addressing modes used for ordinary data memory, except all peripheral registers should be read or wr itten using word accesses only. table 4-8 summarizes base addresses for the set of peripherals on the 56f8037/56F8027 device. peripherals are listed in order of the base address. the following tables list all of the peripheral registers requi red to control or access the peripherals. x:$ff ff92 obar2 (32 bits) breakpoint unit address register 2 x:$ff ff91 breakpoint unit mask register 2 x:$ff ff90 obmsk (32 bits) breakpoint unit mask register 2 x:$ff ff8f reserved x:$ff ff8e obcntr eonce breakpoint unit counter x:$ff ff8d reserved x:$ff ff8c reserved x:$ff ff8b reserved x:$ff ff8a oescr external signal control register x:$ff ff89 - x:$ff ff00 reserved table 4-8 data memory periph eral base address map summary peripheral prefix base address table number timer a tmra x:$00 f000 4-9 timer b tmrb x:$00 f040 4-10 adc adc x:$00 f080 4-11 pwm pwm x:$00 f0c0 4-12 itcn itcn x:$00 f0e0 4-13 sim sim x:$00 f100 4-14 cop cop x:$00 f120 4-15 clk, pll, osc occs x:$00 f130 4-16 power supervisor ps x:$00 f140 4-17 gpio port a gpioa x:$00 f150 4-18 gpio port b gpiob x:$00 f160 4-19 gpio port c gpioc x:$00 f170 4-20 gpio port d gpiod x:$00 f180 4-21 pit 0 pit0 x:$00 f190 4-22 pit 1 pit1 x:$00 f1a0 4-23 pit 2 pit2 x:$00 f1b0 4-24 table 4-7 eonce memo ry map (continued) address register acronym register name 56f8037/56F8027 data sheet, rev. 6 52 freescale semiconductor dac 0 dac0 x:$00 f1c0 4-25 dac 1 dac1 x:$00 f1d0 4-26 comparator a cmpa x:$00 f1e0 4-27 comparator b cmpb x:$00 f1f0 4-28 qsci 0 qsci0 x:$00 f200 4-29 qsci 1 qsci1 x:$00 f210 4-30 qspi 0 qspi0 x:$00 f220 4-31 qspi 1 qspi1 x:$00 f230 4-32 i 2 c i2c x:$00 f280 4-33 fm fm x:$00 f400 4-34 mscan can x:$00 f800 4-35 table 4-8 data memory peripheral base address map su mmary (continued) peripheral prefix base address table number peripheral memory-mapped registers 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 53 table 4-9 quad timer a registers address map (tmra_base = $00 f000) register acronym address offset register description tmra0_comp1 $0 compare register 1 tmra0_comp2 $1 compare register 2 tmra0_capt $2 capture register tmra0_load $3 load register tmra0_hold $4 hold register tmra0_cntr $5 counter register tmra0_ctrl $6 control register tmra0_sctrl $7 status and control register tmra0_cmpld1 $8 comparator load register 1 tmra0_cmpld2 $9 comparator load register 2 tmra0_csctrl $a comparator status and control register tmra0_filt $b input filter register reserved tmra0_enbl $f timer channel enable register tmra1_comp1 $10 compare register 1 tmra1_comp2 $11 compare register 2 tmra1_capt $12 capture register tmra1_load $13 load register tmra1_hold $14 hold register tmra1_cntr $15 counter register tmra1_ctrl $16 control register tmra1_sctrl $17 status and control register tmra1_cmpld1 $18 comparator load register 1 tmra1_cmpld2 $19 comparator load register 2 tmra1_csctrl $1a comparator status and control register tmra1_filt $1b input filter register reserved tmra2_comp1 $20 compare register 1 tmra2_comp2 $21 compare register 2 tmra2_capt $22 capture register tmra2_load $23 load register tmra2_hold $24 hold register tmra2_cntr $25 counter register tmra2_ctrl $26 control register tmra2_sctrl $27 status and control register tmra2_cmpld1 $28 comparator load register 1 56f8037/56F8027 data sheet, rev. 6 54 freescale semiconductor tmra2_cmpld2 $29 comparator load register 2 tmra2_csctrl $2a comparator status and control register tmra2_filt $2b input filter register reserved tmra3_comp1 $30 compare register 1 tmra3_comp2 $31 compare register 2 tmra3_capt $32 capture register tmra3_load $33 load register tmra3_hold $34 hold register tmra3_cntr $35 counter register tmra3_ctrl $36 control register tmra3_sctrl $37 status and control register tmra3_cmpld1 $38 comparator load register 1 tmra3_cmpld2 $39 comparator load register 2 tmra3_csctrl $3a comparator status and control register tmra3_filt $3b input filter register reserved table 4-10 quad timer b registers address map (tmrb_base = $00 f040) register acronym address offset register description tmrb0_comp1 $0 compare register 1 tmrb0_comp2 $1 compare register 2 tmrb0_capt $2 capture register tmrb0_load $3 load register tmrb0_hold $4 hold register tmrb0_cntr $5 counter register tmrb0_ctrl $6 control register tmrb0_sctrl $7 status and control register tmrb0_cmpld1 $8 comparator load register 1 tmrb0_cmpld2 $9 comparator load register 2 tmrb0_csctrl $a comparator status and control register tmrb0_filt $b input filter register reserved tmrb0_enbl $f timer channel enable register tmrb1_comp1 $10 compare register 1 tmrb1_comp2 $11 compare register 2 tmrb1_capt $12 capture register table 4-9 quad timer a regi sters address map (continued) (tmra_base = $00 f000) register acronym address offset register description peripheral memory-mapped registers 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 55 tmrb1_load $13 load register tmrb1_hold $14 hold register tmrb1_cntr $15 counter register tmrb1_ctrl $16 control register tmrb1_sctrl $17 status and control register tmrb1_cmpld1 $18 comparator load register 1 tmrb1_cmpld2 $19 comparator load register 2 tmrb1_csctrl $1a comparator status and control register tmrb1_filt $1b input filter register reserved tmrb2_comp1 $20 compare register 1 tmrb2_comp2 $21 compare register 2 tmrb2_capt $22 capture register tmrb2_load $23 load register tmrb2_hold $24 hold register tmrb2_cntr $25 counter register tmrb2_ctrl $26 control register tmrb2_sctrl $27 status and control register tmrb2_cmpld1 $28 comparator load register 1 tmrb2_cmpld2 $29 comparator load register 2 tmrb2_csctrl $2a comparator status and control register tmrb2_filt $2b input filter register reserved tmrb3_comp1 $30 compare register 1 tmrb3_comp2 $31 compare register 2 tmrb3_capt $32 capture register tmrb3_load $33 load register tmrb3_hold $34 hold register tmrb3_cntr $35 counter register tmrb3_ctrl $36 control register tmrb3_sctrl $37 status and control register tmrb3_cmpld1 $38 comparator load register 1 tmrb3_cmpld2 $39 comparator load register 2 tmrb3_csctrl $3a comparator status and control register tmrb3_filt $3b input filter register reserved table 4-10 quad timer b regi sters address map (continued) (tmrb_base = $00 f040) register acronym address offset register description 56f8037/56F8027 data sheet, rev. 6 56 freescale semiconductor table 4-11 analog-to-digital c onverter registers address map (adc_base = $00 f080) register acronym address offset register description adc_ctrl1 $0 control register 1 adc_ctrl2 $1 control register 2 adc_zxctrl $2 zero crossing control register adc_clist 1 $3 channel list register 1 adc_clist 2 $4 channel list register 2 adc_clist 3 $5 channel list register 3 adc_clist 4 $6 channel list register 4 adc_sdis $7 sample disable register adc_stat $8 status register adc_rdy $9 conversion ready register adc_limstat $a limit status register adc_zxstat $b zero crossing status register adc_rslt0 $c result register 0 adc_rslt1 $d result register 1 adc_rslt2 $e result register 2 adc_rslt3 $f result register 3 adc_rslt4 $10 result register 4 adc_rslt5 $11 result register 5 adc_rslt6 $12 result register 6 adc_rslt7 $13 result register 7 adc_rslt8 $14 result register 8 adc_rslt9 $15 result register 9 adc_rslt10 $16 result register 10 adc_rslt11 $17 result register 11 adc_rslt12 $18 result register 12 adc_rslt13 $19 result register 13 adc_rslt14 $1a result register 14 adc_rslt15 $1b result register 15 adc_lolim0 $1c low limit register 0 adc_lolim1 $1d low limit register 1 adc_lolim2 $1e low limit register 2 adc_lolim3 $1f low limit register 3 adc_lolim4 $20 low limit register 4 adc_lolim5 $21 low limit register 5 adc_lolim6 $22 low limit register 6 adc_lolim7 $23 low limit register 7 peripheral memory-mapped registers 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 57 adc_hilim0 $24 high limit register 0 adc_hilim1 $25 high limit register 1 adc_hilim2 $26 high limit register 2 adc_hilim3 $27 high limit register 3 adc_hilim4 $28 high limit register 4 adc_hilim5 $29 high limit register 5 adc_hilim6 $2a high limit register 6 adc_hilim7 $2b high limit register 7 adc_offst0 $2c offset register 0 adc_offst1 $2d offset register 1 adc_offst2 $2e offset register 2 adc_offst3 $2f offset register 3 adc_offst4 $30 offset register 4 adc_offst5 $31 offset register 5 adc_offst6 $32 offset register 6 adc_offst7 $33 offset register 7 adc_pwr $34 power control register adc_cal $35 calibration register reserved table 4-12 pulse width modula tor registers address map (pwm_base = $00 f0c0) register acronym address offset register description pwm_ctrl $0 control register pwm_fctrl $1 fault control register pwm_fltack $2 fault status acknowledge register pwm_out $3 output control register pwm_cntr $4 counter register pwm_cmod $5 counter modulo register pwm_val0 $6 value register 0 pwm_val1 $7 value register 1 pwm_val2 $8 value register 2 pwm_val3 $9 value register 3 pwm_val4 $a value register 4 pwm_val5 $b value register 5 pwm_dtim0 $c dead time register 0 table 4-11 analog-to-digit al converter register s address map (continued) (adc_base = $00 f080) register acronym address offset register description 56f8037/56F8027 data sheet, rev. 6 58 freescale semiconductor pwm_dtim1 $d dead time register 1 pwm_dmap1 $e disable mapping register 1 pwm_dmap2 $f disable mapping register 2 pwm_cnfg $10 configure register pwm_cctrl $11 channel control register pwm_port $12 port register pwm_icctrl $13 internal correction control register pwm_sctrl $14 source control register pwm_sync $15 synchronization window register pwm_ffilt0 $16 fault0 filter register pwm_ffilt1 $17 fault1 filter register pwm_ffilt2 $18 fault2 filter register pwm_ffilt3 $19 fault3 filter register table 4-13 interrupt contro l registers address map (itcn_base = $00 f0e0) register acronym address offset register description itcn_ipr0 $0 interrupt priority register 0 itcn_ipr1 $1 interrupt priority register 1 itcn_ipr2 $2 interrupt priority register 2 itcn_ipr3 $3 interrupt priority register 3 itcn_ipr4 $4 interrupt priority register 4 itcn_ipr5 $5 interrupt priority register 5 itcn_ipr6 $6 interrupt priority register 6 itcn_vba $7 vector base address register itcn_fim0 $8 fast interrupt match 0 register itcn_fival0 $9 fast interrupt ve ctor address low 0 register itcn_fivah0 $a fast interrupt vector address high 0 register itcn_fim1 $b fast interrupt match 1 register itcn_fival1 $c fast interrupt ve ctor address low 1 register itcn_fivah1 $d fast interrupt vector address high 1 register itcn_irqp0 $e irq pending register 0 itcn_irqp1 $f irq pending register 1 itcn_irqp2 $10 irq pending register 2 table 4-12 pulse width modulator registers address map (continued) (pwm_base = $00 f0c0) register acronym address offset register description peripheral memory-mapped registers 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 59 itcn_irqp3 $11 irq pending register 3 reserved itcn_ictrl $16 interrupt control register reserved table 4-14 sim registers address map (sim_base = $00 f100) register acronym address offset register description sim_ctrl $0 control register sim_rstat $1 reset status register sim_swc0 $2 software control register 0 sim_swc1 $3 software control register 1 sim_swc2 $4 software control register 2 sim_swc3 $5 software control register 3 sim_mshid $6 most significant half jtag id sim_lshid $7 least signifi cant half jtag id sim_pwr $8 power control register reserved sim_clkout $a clock out select register sim_pcr $b peripheral clock rate register sim_pce0 $c peripheral clock enable register 0 sim_pce1 $d peripheral clock enable register 1 sim_sd0 $e peripheral stop disable register 0 sim_sd1 $f peripheral stop disable register 1 sim_iosahi $10 i/o short address location high register sim_iosalo $11 i/o short address location low register sim_prot $12 protection register sim_gpsa0 $13 gpio peripheral se lect register 0 for gpioa sim_gpsa1 $14 gpio peripheral se lect register 1 for gpioa sim_gpsb0 $15 gpio peripheral se lect register 0 for gpiob sim_gpsb1 $16 gpio peripheral se lect register 1 for gpiob sim_gpscd $17 gpio periph eral select register for gpioc and gpiod sim_ips0 $18 internal peripheral source select register 0 for pwm sim_ips1 $19 internal peripheral source select register 1 for dacs sim_ips2 $1a internal peripheral so urce select register 2 for tmra reserved table 4-13 interrupt control re gisters address map (continued) (itcn_base = $00 f0e0) register acronym address offset register description 56f8037/56F8027 data sheet, rev. 6 60 freescale semiconductor table 4-15 computer operating properly registers address map (cop_base = $00 f120) register acronym address offset register description cop_ctrl $0 control register cop_tout $1 time-out register cop_cntr $2 counter register table 4-16 clock generation module registers address map (occs_base = $00 f130) register acronym address offset register description occs_ctrl $0 control register occs_divby $1 divide-by register occs_stat $2 status register reserved occs_octrl $5 oscillator control register occs_clkchk $6 clock check register occs_prot $7 protection register table 4-17 power supervisor registers address map (ps_base = $00 f140) register acronym address offset register description ps_ctrl $0 control register ps_stat $1 status register reserved table 4-18 gpioa re gisters address map (gpioa_base = $00 f150) register acronym address offset register description gpioa_pupen $0 pull-up enable register gpioa_data $1 data register gpioa_ddir $2 data direction register gpioa_peren $3 peripheral enable register gpioa_iassrt $4 interrupt assert register gpioa_ien $5 interrupt enable register gpioa_ipol $6 interrupt polarity register peripheral memory-mapped registers 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 61 gpioa_ipend $7 interrupt pending register gpioa_iedge $8 interrupt edge-sensitive register gpioa_ppoutm $9 push-pull output mode control register gpioa_rdata $a raw data input register gpioa_drive $b output drive strength control register table 4-19 gpiob re gisters address map (gpiob_base = $00 f160) register acronym address offset register description gpiob_pupen $0 pull-up enable register gpiob_data $1 data register gpiob_ddir $2 data direction register gpiob_peren $3 peripheral enable register gpiob_iassrt $4 interru pt assert register gpiob_ien $5 interrupt enable register gpiob_ipol $6 interrupt polarity register gpiob_ipend $7 interrupt pending register gpiob_iedge $8 interrupt edge-sensitive register gpiob_ppoutm $9 push-pull output mode control register gpiob_rdata $a raw data input register gpiob_drive $b output drive strength control register table 4-20 gpioc re gisters address map (gpioc_base = $00 f170) register acronym address offset register description gpioc_pupen $0 pull-up enable register gpioc_data $1 data register gpioc_ddir $2 data direction register gpioc_peren $3 peripheral enable register gpioc_iassrt $4 interrupt assert register gpioc_ien $5 interrupt enable register gpioc_ipol $6 interrupt polarity register gpioc_ipend $7 interrupt pending register gpioc_iedge $8 interrupt edge-sensitive register gpioc_ppoutm $9 push-pull output mode control register gpioc_rdata $a raw data input register gpioc_drive $b output drive strength control register table 4-18 gpioa register s address map (continued) (gpioa_base = $00 f150) register acronym address offset register description 56f8037/56F8027 data sheet, rev. 6 62 freescale semiconductor table 4-21 gpiod re gisters address map (gpiod_base = $00 f180) register acronym address offset register description gpiod_pupen $0 pull-up enable register gpiod_data $1 data register gpiod_ddir $2 data direction register gpiod_peren $3 peripheral enable register gpiod_iassrt $4 interr upt assert register gpiod_ien $5 interrupt enable register gpiod_ipol $6 interrupt polarity register gpiod_ipend $7 interrupt pending register gpiod_iedge $8 interrupt edge-sensitive register gpiod_ppoutm $9 push-pull output mode control register gpiod_rdata $a raw data input register gpiod_drive $b output drive strength control register table 4-22 programmable interval timer 0 registers address map (pit0_base = $00 f190) register acronym address o ffset register description pit0_ctrl $0 control register pit0_mod $1 modulo register pit0_cntr $2 counter register table 4-23 programmable interval timer 1 registers address map (pit1_base = $00 f1a0) register acronym address o ffset register description pit1_ctrl $0 control register pit1_mod $1 modulo register pit1_cntr $2 counter register table 4-24 programmable interval timer 2 registers address map (pit2_base = $00 f1b0) register acronym address o ffset register description pit2_ctrl $0 control register pit2_mod $1 modulo register peripheral memory-mapped registers 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 63 pit2_cntr $2 counter register table 4-25 digital-to-analog con verter 0 registers address map (dac0_base = $00 f1c0) register acronym address o ffset register description dac0_ctrl $0 control register dac0_data $1 data register dac0_step $2 step register dac0_minval $3 minimum value register dac0_maxval $4 maximum value register table 4-26 digital-to-analog con verter 0 registers address map (dac1_base = $00 f1d0) register acronym address o ffset register description dac1_ctrl $0 control register dac1_data $1 data register dac1_step $2 step register dac1_minval $3 minimum value register dac1_maxval $4 maximum value register table 4-27 comparator a registers address map (cmpa_base = $00 f1e0) register acronym address o ffset register description cmpa_ctrl $0 control register cmpa_stat $1 status register cmpa_filt $2 filter register table 4-28 comparator b registers address map (cmpb_base = $00 f1f0) register acronym address o ffset register description cmpb_ctrl $0 control register cmpb_stat $1 status register cmpb_filt $2 filter register table 4-24 programmable interval time r 2 registers addr ess map (continued) (pit2_base = $00 f1b0) register acronym address o ffset register description 56f8037/56F8027 data sheet, rev. 6 64 freescale semiconductor table 4-29 queued serial communicati on interface 0 registers address map (qsci0_base = $00 f200) register acronym address o ffset register description qsci0_rate $0 baud rate register qsci0_ctrl1 $1 control register 1 qsci0_ctrl2 $2 control register 2 qsci0_stat $3 status register qsci0_data $4 data register table 4-30 queued serial communicati on interface 1 registers address map (qsci1_base = $00 f210) register acronym address o ffset register description qsci1_rate $0 baud rate register qsci1_ctrl1 $1 control register 1 qsci1_ctrl2 $2 control register 2 qsci1_stat $3 status register qsci1_data $4 data register table 4-31 queued serial periphera l interface 0 regi sters address map (qspi0_base = $00 f220) register acronym address offset register description qspi0_sctrl $0 status and control register qspi0_dsctrl $1 data size and control register qspi0_drcv $2 data receive register qspi0_dxmit $3 data transmit register qspi0_fifo $4 fifo control register qspi0_delay $5 delay register table 4-32 queued serial periphera l interface 1 regi sters address map (qspi1_base = $00 f230) register acronym address offset register description qspi1_sctrl $0 status and control register qspi1_dsctrl $1 data size and control register qspi1_drcv $2 data receive register qspi1_dxmit $3 data transmit register qspi1_fifo $4 fifo control register peripheral memory-mapped registers 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 65 qspi1_delay $5 delay register table 4-33 i 2 c registers address map (i2c_base = $00 f280) register acronym address offset register description i2c_ctrl $0 control register i2c_tar $2 target address register i2c_sar $4 slave address register i2c_data $8 rx/tx data buffer and command register i2c_sshcnt $a standard speed clock scl high count register i2c_sslcnt $c standard speed clock scl low count register i2c_fshcnt $e fast speed clock scl high count register i2c_fslcnt $10 fast speed clock scl low count register i2c_istat $16 interrupt status register i2c_imask $18 interrupt mask register i2c_ristat $1a raw interrupt status register i2c_rxft $1c receive fifo threshold register i2c_txft $1e transmit fifo threshold register i2c_clrint $20 clear combined and individual interrupts register i2c_clrrxund $22 clear rx_under interrupt register i2c_clrrxovr $24 clear rx_o ver interrupt register i2c_clrtxovr $26 clear tx_over interrupt register i2c_clrrdreq $28 clear rd_req interrupt register i2c_clrtxabrt $2a clear tx_ abrt interrupt register i2c_clrrxdone $2c clear rx_done interrupt register i2c_clract $2e clear acti vity interrupt register i2c_clrstpdet $30 clear stop_det interrupt register i2c_clrstdet $32 clear start_det interrupt register i2c_clrgc $34 clear gen_call interrupt register i2c_enbl $36 enable register i2c_stat $38 status register i2c_txflr $3a transmit fifo level register i2c_rxflr $3c receive fifo level register i2c_txabrtsrc $40 transmit abort status register table 4-32 queued serial periphera l interface 1 regi sters address map (qspi1_base = $00 f230) register acronym address offset register description 56f8037/56F8027 data sheet, rev. 6 66 freescale semiconductor table 4-34 flash module registers address map (fm_base = $00 f400) register acronym address o ffset register description fm_clkdiv $0 clock divider register fm_cnfg $1 configuration register $2 reserved fm_sechi $3 security high half register fm_seclo $4 security low half register $5 - $9 reserved fm_prot $10 protection register $11 - $12 reserved fm_ustat $13 user status register fm_cmd $14 command register $15 - $17 reserved fm_data $18 data buffer register $19 - $a reserved fm_opt1 $1b information option register 1 $1c reserved fm_tstsig $1d test array signature register table 4-35 mscan re gisters address map (mscan_base = $00 f800) register acronym address offset register description mscan_ctrl0 $00 control register 0 mscan_ctrl1 $01 control register 1 mscan_btr0 $02 bus timing register 0 mscan_btr1 $03 bus timing register 1 mscan_rflg $04 receiver flag register mscan_rier $05 receiver interrupt enable register mscan_tflg $06 transmitter flag register mscan_tier $07 transmitter interrupt enable register mscan_tarq $08 transmitter message abort request register mscan_taak $09 transmitter message abort acknowledge register mscan_tbsel $0a transmitter buffer selection register mscan_idac $0b identifier acceptance control register reserved mscan_misc $0d miscellaneous register mscan_rxerr $0e receive error register mscan_txerr $0f transmit error register peripheral memory-mapped registers 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 67 mscan_idar0 $10 identifier acceptance register 0 mscan_idar1 $11 identifier acceptance register 1 mscan_idar2 $12 identifier acceptance register 2 mscan_idar3 $13 identifier acceptance register 3 mscan_idmr0 $14 identifier mask register 0 mscan_idmr1 $15 identifier mask register 1 mscan_idmr2 $16 identifier mask register 2 mscan_idmr3 $17 identifier mask register 3 mscan_idar4 $18 identifier acceptance register 4 mscan_idar5 $19 identifier acceptance register 5 mscan_idar6 $1a identifier acceptance register 6 mscan_idar7 $1b identifier acceptance register 7 mscan_idmr4 $1c identifier mask register 4 mscan_idmr5 $1d identifier mask register 5 mscan_idmr6 $1e identifier mask register 6 mscan_idmr7 $1f identifier mask register 7 mscan_rxfg0 $20 foreground receive buffer 0 mscan_rxfg1 $21 foreground receive buffer 1 mscan_rxfg2 $22 foreground receive buffer 2 mscan_rxfg3 $23 foreground receive buffer 3 mscan_rxfg4 $24 foreground receive buffer 4 mscan_rxfg5 $25 foreground receive buffer 5 mscan_rxfg6 $26 foreground receive buffer 6 mscan_rxfg7 $27 foreground receive buffer 7 mscan_rxfg8 $28 foreground receive buffer 8 mscan_rxfg9 $29 foreground receive buffer 9 mscan_rxfg10 $2a foreground receive buffer 10 mscan_rxfg11 $2b foreground receive buffer 11 mscan_rxfg12 $2c foreground receive buffer 12 mscan_rxfg13 $2d foreground receive buffer 13 mscan_rxfg14 $2e foreground receive buffer 14 mscan_rxfg15 $2f foreground receive buffer 15 mscan_txfg0 $30 foreground transmit buffer 0 mscan_txfg1 $31 foreground transmit buffer 1 mscan_txfg2 $32 foreground transmit buffer 2 mscan_txfg3 $33 foreground transmit buffer 3 table 4-35 mscan register s address map (continued) (mscan_base = $00 f800) register acronym address offset register description 56f8037/56F8027 data sheet, rev. 6 68 freescale semiconductor part 5 interrupt controller (itcn) 5.1 introduction the interrupt controller (itcn) module arbitrates between various interrupt requests (irqs), signals to the 56800e core when an interrupt of sufficient priori ty exists, and to what a ddress to jump in order to service this interrupt. 5.2 features the itcn module design includes these distinctive features: ? programmable priority levels for each irq ? two programmable fast interrupts ? notification to sim module to restar t clocks out of wait and stop modes ? ability to drive initial address on the address bus after reset for further information, see table 4-2 , interrupt vector table contents. 5.3 functional description the interrupt controller is a slave on the ipbus. it contains register s that allow each of the 64 interrupt sources to be set to one of four priority levels (excluding certain inte rrupts that are of fi xed priority). next, all of the interrupt requests of a gi ven level are priority encoded to de termine the lowest numerical value of the active interrupt requests for that level. within a given priority le vel, number 0 is th e highest priority and number 63 is the lowest. mscan_txfg4 $34 foreground transmit buffer 4 mscan_txfg5 $35 foreground transmit buffer 5 mscan_txfg6 $36 foreground transmit buffer 6 mscan_txfg7 $37 foreground transmit buffer 7 mscan_txfg8 $38 foreground transmit buffer 8 mscan_txfg9 $39 foreground transmit buffer 9 mscan_txfg10 $3a foreground transmit buffer 10 mscan_txfg11 $3b foreground transmit buffer 11 mscan_txfg12 $3c foreground transmit buffer 12 mscan_txfg13 $3d foreground transmit buffer 13 mscan_txfg14 $3e foreground transmit buffer 14 mscan_txfg15 $3f foreground transmit buffer 15 reserved table 4-35 mscan register s address map (continued) (mscan_base = $00 f800) register acronym address offset register description functional description 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 69 5.3.1 normal interrupt handling once the intc has determined that an interrupt is to be serviced and which interrupt has the highest priority, an interrupt vect or address is generated. no rmal interrupt handling con catenates the vector base address (vba) and the vector number to determine the vector address, generating an offset into the vector table for each interrupt. 5.3.2 interrupt nesting interrupt exceptions may be nested to allow an irq of higher priori ty than the current exception to be serviced. the 56800e core controls th e masking of interrupt priority le vels it will acc ept by setting the i0 and i1 bits in its status register. the ipic bits of the ictr l register reflect the state of the pr iority level being presented to the 56800e core. 5.3.3 fast interrupt handling fast interrupts are described in the dsp56800e reference manual . the interrupt c ontroller recognizes fast interrupts before the core does. a fast interrupt is de fined (to the itcn) by: 1. setting the priority of the interrupt as level 2, with the appropriate field in the ipr registers 2. setting the fim n register to the appropriate vector number table 5-1 interrupt mask bit definition sr[9] (i1) sr[8] (i0) exceptions permitted exceptions masked 0 0 priorities 0, 1, 2, 3 none 0 1 priorities 1, 2, 3 priority 0 1 0 priorities 2, 3 priorities 0, 1 1 1 priority 3 priorities 0, 1, 2 table 5-2 interrupt priority encoding ipic_value[1:0] current interrupt priority level required nested exception priority 00 no interrupt or swilp priorities 0, 1, 2, 3 01 priority 0 priorities 1, 2, 3 10 priority 1 priorities 2, 3 11 priority 2 or 3 priority 3 56f8037/56F8027 data sheet, rev. 6 70 freescale semiconductor 3. setting the fival n and fivah n registers with the address of the code for the fast interrupt when an interrupt occurs, its vector number is compar ed with the fim0 and fim1 register values. if a match occurs, and it is a level 2 inte rrupt, the itcn handles it as a fast interrupt. the itcn takes the vector address from the appropriate fival n and fivah n registers, instead of gene rating an addres s that is an offset from the vba. the core then fetches the instruction from the indicated vector address and if it is not a jsr, the core starts its fast interrupt handling. 5.4 block diagram figure 5-1 interrupt controller block diagram priority level 2 -> 4 decode int1 priority level 2 -> 4 decode int64 level 0 64 -> 6 priority encoder any0 level 3 64 -> 6 priority encoder any3 int vab ipic control 6 6 pic_en iack sr[9:8] operating modes 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 71 5.5 operating modes the itcn module design contains two major modes of operation: ? functional mode the itcn is in this mode by default. ? wait and stop modes during wait and stop modes, the syst em clocks and the 56800e core are turned off. the itcn will signal a pending irq to the system integr ation module (sim) to restart the clocks and service the irq. an irq can only wake up the core if the irq is enab led prior to entering the wait or stop mode. 5.6 register descriptions a register address is the sum of a base address and an addr ess offset. the base addr ess is defined at the system level and the a ddress offset is define d at the module level. table 5-3 itcn register summary (itcn_base = $00 f0e0) register acronym base address + register name section location ipr0 $0 interrupt priority register 0 5.6.1 ipr1 $1 interrupt priority register 1 5.6.2 ipr2 $2 interrupt priority register 2 5.6.3 ipr3 $3 interrupt priority register 3 5.6.4 ipr4 $4 interrupt priority register 4 5.6.5 ipr5 $5 interrupt priority register 5 5.6.6 ipr6 $6 interrupt priority register 6 5.6.7 vba $7 vector base address register 5.6.8 fim0 $8 fast interrupt match 0 register 5.6.9 fival0 $9 fast interrupt 0 vector address low register 5.6.10 fivah0 $a fast interrupt 0 vector address high 0 register 5.6.11 fim1 $b fast interrupt match 1 register 5.6.12 fival1 $c fast interrupt 1 vector address low register 5.6.13 fivah1 $d fast interrupt 1 vector address high register 5.6.14 irqp0 $e irq pending register 0 5.6.15 irqp1 $f irq pending register 1 5.6.16 irqp2 $10 irq pending register 2 5.6.17 irqp3 $11 irq pending register 3 5.6.18 reserved ictrl $16 interrupt control register 5.6.19 reserved 56f8037/56F8027 data sheet, rev. 6 72 freescale semiconductor figure 5-2 itcn register map summary add. offset register name 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 $0 ipr0 r pll ipl lvi ipl 0 0 rx_reg ipl tx_reg ipl trbuf ipl bkpt_u ipl stpcnt ipl w $1 ipr1 r gpiod ipl mscan_wk up ipl mscan_tx ipl mscan_rx ipl mscan_err ipl fm_cbe ipl fm_cc ipl fm_err ipl w $2 ipr2 r qsci0_xmit ipl qspi1_xmit ipl qspi1_rcv ipl qspi0_xmit ipl qspi0_rcv ipl gpioa ipl gpiob ipl gpioc ipl w $3 ipr3 r i2c_err ipl qsci1_rcv ipl qsci1_rer r ipl qsci1_tidl ipl qsci1_xmit ipl qsci0_rcv ipl qsci0_rerr ipl qsci0_tidl ipl w $4 ipr4 r tmra_3 ipl tmra_2 ipl tmra_1 ipl tmra_0 ipl i2c_stat ipl i2c_tx ipl i2c_rx ipl i2c_gen ipl w $5 ipr5 r pit1 ipl pit0 ipl compb ipl compa ipl tmrb_3 ipl tmrb_2 ipl tmrb_1 ipl tmrb_0 ipl w $6 ipr6 0 0 0 0 pwm_f ipl pwm_rl ipl adc_zc ipl adcb_cc ipl adca_cc ipl pit2 ipl $7 vba r 0 0 vector_base_address w $8 fim0 r 0 0 0 0 0 0 0 0 0 0 fast interrupt 0 w $9 fival0 r fast interrupt 0 vector address low w $a fivah0 r 0 0 0 0 0 0 0 0 0 0 0 fast interrupt 0 vector address high w $b fim1 r 0 0 0 0 0 0 0 0 0 0 fast interrupt 1 w $c fival1 r fast interrupt 1 vector address low w $d fivah1 r 0 0 0 0 0 0 0 0 0 0 0 fast interrupt 1 vector address high w $e irqp0 r pending[16:2] 1 w $f irqp1 r pending[32:17] w $10 irqp2 r pending[48:33] w $11 irqp3 r pending[63:49] w reserved $16 ictrl r int ipic vab int_ dis 1 1 1 0 0 w reserved = reserved register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 73 5.6.1 interrupt priority register 0 (ipr0) figure 5-3 interrupt prio rity register 0 (ipr0) 5.6.1.1 pll loss of referenc e or change in lock sta tus interrupt priority level (pll ipl)?bits 15?14 this field is used to set the interrupt priority levels for the pll loss of reference or change in lock status irq. this irq is limited to priorities 1 through 3. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 1 ? 10 = irq is priority level 2 ? 11 = irq is priority level 3 5.6.1.2 low voltage detector interru pt priority level (lvi ipl)?bits 13?12 this field is used to set the interrupt priority levels for the low voltage detector irq. this irq is limited to priorities 1 through 3 an d is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 1 ? 10 = irq is priority level 2 ? 11 = irq is priority level 3 5.6.1.3 reserved?bits 11?10 this bit field is reserved. each bit must be set to 0. 5.6.1.4 eonce receive register full interrupt priority level (rx_reg ipl)? bits 9?8 this field is used to set the interrupt priority level for the eonce receive register full irq. this irq is limited to priorities 1 throu gh 3. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 1 ? 10 = irq is priority level 2 ? 11 = irq is priority level 3 base + $0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read pll ipl lvi ipl 0 0 rx_reg ipl tx_reg ipl trbuf ipl bkpt_u ipl stpcnt ipl write reset 0 0 0 0 0 0 0 000000000 56f8037/56F8027 data sheet, rev. 6 74 freescale semiconductor 5.6.1.5 eonce transmit regist er empty interrupt priority level (tx_reg ipl)? bits 7?6 this field is used to set the interr upt priority level for the eonce tran smit register empt y irq. this irq is limited to priorities 1 thr ough 3. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 1 ? 10 = irq is priority level 2 ? 11 = irq is priority level 3 5.6.1.6 eonce trace buffer interrupt priority level (trbuf ipl)? bits 5?4 this field is used to set the interrupt priority level for the eonce trace buffer irq. this irq is limited to priorities 1 through 3. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 1 ? 10 = irq is priority level 2 ? 11 = irq is priority level 3 5.6.1.7 eonce breakpoint un it interrupt priority level (bkpt_u ipl)? bits 3?2 this field is used to set the interr upt priority level for the eonce breakpoi nt unit irq. this irq is limited to priorities 1 through 3. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 1 ? 10 = irq is priority level 2 ? 11 = irq is priority level 3 5.6.1.8 eonce step counte r interrupt priority level (stpcnt ipl)? bits 1?0 this field is used to set the interrupt priority leve l for the eonce step counter irq. this irq is limited to priorities 1 through 3. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 1 ? 10 = irq is priority level 2 ? 11 = irq is priority level 3 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 75 5.6.2 interrupt priority register 1 (ipr1) figure 5-4 interrupt prio rity register 1 (ipr1) 5.6.2.1 gpiod interrupt priorit y level (gpiod ipl)?bits 15?14 this field is used to set the interrupt priority level for the gpiod irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.2.2 mscan wake up interrupt priority level (mscan_wkup ipl)?bits 13?12 this field is used to set the interrupt priority leve l for the mscan wake up ir q. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.2.3 mscan transmit interrupt priority level (mscan_tx ipl)?bits 11?10 this field is used to set the inte rrupt priority level for the mscan tr ansmit irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.2.4 mscan receive interrupt pri ority level (mscan_rx ipl)?bits 9?8 this field is used to set the inte rrupt priority level for mscan receive irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 base + $1 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read gpiod ipl mscan_wk up ipl mscan_tx ipl mscan_rx ipl mscan_err ipl fm_cbe ipl fm_cc ipl fm_err ipl write reset 0 0 0 0 0 0 0 0 0 0 000000 56f8037/56F8027 data sheet, rev. 6 76 freescale semiconductor ? 11 = irq is priority level 2 5.6.2.5 mscan error interrupt priori ty level (mscan_err ipl)?bits 7?6 this field is used to set the interrupt priority le vel for the mscan error irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.2.6 fm command, data, address buffers empty interrupt priority level (fm_cbe ipl)?bits 5?4 this field is used to set the in terrupt priority level for the fm command, data address buffers empty irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.2.7 fm command complete inte rrupt priority level (fm_cc ipl)?bits 3?2 this field is used to set the in terrupt priority level for the fm command complete irq. this irq is limited to priorities 0 throu gh 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.2.8 fm error interrupt prio rity level (fm_e rr ipl)?bits 1?0 this field is used to set the interrupt priority level for the fm error irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 77 5.6.3 interrupt priority register 2 (ipr2) figure 5-5 interrupt prio rity register 2 (ipr2) 5.6.3.1 qsci 0 transmitter empty inte rrupt priority level (qsci0_xmit ipl)? bits 15?14 this field is used to set the inte rrupt priority level fo r the qsci0 transmitter empty irq. this irq is limited to priorities 0 throu gh 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.3.2 qspi 1 transmitter empty i nterrupt priority level (qspi1_xmit ipl)? bits 13?12 this field is used to set the interrupt priority le vel for the qspi1 transmitte r empty irq. this irq is limited to priorities 0 throu gh 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.3.3 qspi 1 receiver full interr upt priority level (qspi1_rcv ipl)? bits 11?10 this field is used to set the interru pt priority level for the qspi1 recei ver full irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.3.4 qspi 0 transmitter empty i nterrupt priority level (qspi0_xmit ipl)? bits 9?8 this field is used to set the interrupt priority le vel for the qspi0 transmitte r empty irq. this irq is limited to priorities 0 throu gh 2. it is disabled by default. base + $2 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read qsci0_xmit ipl qspi1_xmit ipl qspi1_rcv ipl qspi0_xmit ipl qspi0_rcv ipl gpioa ipl gpiob ipl gpioc ipl write reset 0000000000000000 56f8037/56F8027 data sheet, rev. 6 78 freescale semiconductor ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.3.5 qspi 0 receiver full interrupt pr iority level (qspi0_rcv ipl)?bits 7?6 this field is used to set the interru pt priority level for the qspi0 recei ver full irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.3.6 gpioa interrupt priority level (gpioa ipl)?bits 5?4 this field is used to set the interrupt priority level for the gpioa irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.3.7 gpiob interrupt priority level (gpiob ipl)?bits 3?2 this field is used to set the interr upt priority level for the gpiob irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.3.8 gpioc interrupt priority level (gpioc ipl)?bits 1?0 this field is used to set the interr upt priority level for the gpioc irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 79 5.6.4 interrupt priority register 3 (ipr3) figure 5-6 interrupt prio rity register 3 (ipr3) 5.6.4.1 i 2 c error interrupt priority level (i2c_err ipl)?bits 15?14 this field is used to set the in terrupt priority level for the i 2 c error irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.4.2 qsci 1 receiver full interr upt priority level (qsci1_rcv ipl)? bits 13?12 this field is used to set the interr upt priority level for th e qsci1 receiver full irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.4.3 qsci 1 receiver error inte rrupt priority leve l (qsci1_rerr ipl)? bits 11?10 this field is used to set the interrupt priority level for the qsci1 receiver error irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.4.4 qsci 1 transmitter idle i nterrupt priority leve l (qsci1_tidl ipl)? bits 9?8 this field is used to set the interrupt priority level for the qsci1 transmitter idle irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 base + $3 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read i2c_err ipl qsci1_rcv ipl qsci1_rer r ipl qsci1_tidl ipl qsci1_xmit ipl qsci0_rcv ipl qsci0_rerr ipl qsci0_tidl ipl write reset 0 00000000000 0 0 00 56f8037/56F8027 data sheet, rev. 6 80 freescale semiconductor ? 11 = irq is priority level 2 5.6.4.5 qsci 1 transmitter empty inte rrupt priority level (qsci1_xmit ipl)? bits 7?6 this field is used to set the inte rrupt priority level fo r the qsci1 transmitter empty irq. this irq is limited to priorities 0 throu gh 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.4.6 qsci 0 receiver full interrupt pr iority level (qsci0 _rcv ipl)?bits 5?4 this field is used to set the interr upt priority level for th e qsci0 receiver full irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.4.7 qsci 0 receiver error inte rrupt priority leve l (qsci0_rerr ipl)? bits 3?2 this field is used to set the interrupt priority level for the qsci0 receiver error irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.4.8 qsci 0 transmitter idle i nterrupt priority leve l (qsci0_tidl ipl)? bits 1?0 this field is used to set the interrupt priority level for the qsci0 transmitter idle irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 81 5.6.5 interrupt priority register 4 (ipr4) figure 5-7 interrupt prio rity register 4 (ipr4) 5.6.5.1 timer a, channel 3 i nterrupt priority l evel (tmra_3 ipl)? bits 15?14 this field is used to set the interr upt priority level for the timer a, ch annel 3 irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.5.2 timer a, channel 2 i nterrupt priority l evel (tmra_2 ipl)? bits 13?12 this field is used to set the interr upt priority level for the timer a, ch annel 2 irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.5.3 timer a, channel 1 i nterrupt priority l evel (tmra_1 ipl)? bits 11?10 this field is used to set the interr upt priority level for the timer a, ch annel 1 irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 base + $4 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read tmra_3 ipl tmra_2 ipl tmra_1 ipl tmra_0 ipl i2c_stat ipl i2c_tx ipl i2c_rx ipl i2c_gen ipl write reset 0000000000000000 56f8037/56F8027 data sheet, rev. 6 82 freescale semiconductor 5.6.5.4 timer a, channel 0 i nterrupt priority l evel (tmra_0 ipl)? bits 9?8 this field is used to set the interr upt priority level for the timer a, ch annel 0 irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.5.5 i 2 c status interrupt priority l evel (i2c_stat ipl)?bits 7?6 this field is used to set the interrupt priority level for the i 2 c status irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.5.6 i 2 c transmit interrupt priority level (i2c_tx ipl)?bits 5?4 this field is used to set the in terrupt priority level for the i 2 c transmit irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.5.7 i 2 c receive interrupt priority le vel (i2c_rx ipl)? bits 3?2 this field is used to set the interrupt priority level for the i 2 c receiver irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.5.8 i 2 c general call interrupt priority level (i2c_gen ipl)?bits 1?0 this field is used to set the interrupt priority level for the i 2 c general call irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 83 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.6 interrupt priority register 5 (ipr5) figure 5-8 interrupt prio rity register 5 (ipr6) 5.6.6.1 programmable interval timer 1 interrupt priority level (pit1 ipl)? bits 15?14 this field is used to set the interrupt priority leve l for the programmable interv al timer 1 irq. this irq is limited to priorities 0 thr ough 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.6.2 programmable interval timer 0 interrupt priority level (pit0 ipl)? bits 13?12 this field is used to set the interrupt priority leve l for the programmable interv al timer 0 irq. this irq is limited to priorities 0 thr ough 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.6.3 comparator b interru pt priority level (compb ipl)? bits 11?10 this field is used to set the interrupt priority level for the comparator b irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 base + $5 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read pit1 ipl pit0 ipl compb ipl compa ipl tmrb_3 ipl tmrb_2 ipl tmrb_1 ipl tmrb_0 ipl write reset 0000000000000000 56f8037/56F8027 data sheet, rev. 6 84 freescale semiconductor 5.6.6.4 comparator a interru pt priority level (compa ipl)? bits 9?8 this field is used to set the interrupt priority level fo r the comparator irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.6.5 timer b, channel 3 interr upt priority level (tm rb_3 ipl)?bits 7?6 this field is used to set the interr upt priority level for the timer b, ch annel 3 irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.6.6 timer b, channel 2 interr upt priority level (tm rb_2 ipl)?bits 5?4 this field is used to set the interr upt priority level for the timer b, ch annel 2 irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.6.7 timer b, channel 1 interr upt priority level (tm rb_1 ipl)?bits 3?2 this field is used to set the interr upt priority level for the timer b, ch annel 1 irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.6.8 timer b, channel 0 interr upt priority level (tm rb_0 ipl)?bits 1?0 this field is used to set the interr upt priority level for the timer b, ch annel 0 irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 85 ? 11 = irq is priority level 2 5.6.7 interrupt priority register 6 (ipr6) figure 5-9 interrupt prio rity register 6 (ipr6) 5.6.7.1 reserved?bits 15?12 this bit field is reserved. each bit must be set to 0. 5.6.7.2 pwm fault interrupt priori ty level (pwm_f ipl)?bits 11?10 this field is used to set the interr upt priority level for the pwm fault interrupt irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.7.3 reload pwm interrupt pri ority level (pwm_rl ipl)?bits 9?8 this field is used to set the interr upt priority level for the reload pwm interrupt irq. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.7.4 adc zero crossing interrupt pr iority level (adc_zc ipl)?bits 7?6 this field is used to set the interrupt priority leve l for the adc zero crossing ir q. this irq is limited to priorities 0 through 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 base + $6 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 pwm_f ipl pwm_rl ipl adc_zc ipl adcb_cc ipl adca_cc ipl pit2 ipl write reset 0000000000000000 56f8037/56F8027 data sheet, rev. 6 86 freescale semiconductor 5.6.7.5 adc b conversion comp lete interrupt priority level (adcb_cc ipl)?bits 5?4 this field is used to set the inte rrupt priority level for the adc b conversion comp lete irq. this irq is limited to priorities 0 throu gh 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.7.6 adc a conversion comp lete interrupt priority level (adca_cc ipl)?bits 3?2 this field is used to set the interrupt priority le vel for the adc a conversion complete irq. this irq is limited to priorities 0 throu gh 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.7.7 programmable interval timer 2 interrupt priority level (pit2 ipl)?bits 1?0 this field is used to set the interrupt priority leve l for the programmable interv al timer 2 irq. this irq is limited to priorities 0 thr ough 2. it is disabled by default. ? 00 = irq disabled (default) ? 01 = irq is priority level 0 ? 10 = irq is priority level 1 ? 11 = irq is priority level 2 5.6.8 vector base address register (vba) figure 5-10 vector base address register (vba) 5.6.8.1 reserved?bits 15?14 this bit field is reserved. each bit must be set to 0. base + $7 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 vector_base_address write reset 1 1. the 56f8037 resets to a value of 0x0000. this corresponds to reset addresses of 0x000000. the 56F8027 resets to a value of 0x0080. this corresponds to reset addresses of 0x004000. 000000 0 0 00000000 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 87 5.6.8.2 vector address bus (vab) bits 13?0 the value in this register is used as the upper 14 bits of the interrupt vector vab[20:0]. the lower 7 bits are determined based on the highest priority interrupt and are then a ppended onto vba be fore presenting the full vab to the core. 5.6.9 fast interrupt match 0 register (fim0) figure 5-11 fast interrupt match 0 register (fim0) 5.6.9.1 reserved?bits 15?6 this bit field is reserved. each bit must be set to 0. 5.6.9.2 fast interrupt 0 vector number (fast inte rrupt 0)?bits 5?0 these values determine which irq will be fast interrupt 0. fast interrupts vector directly to a service routine based on values in the fast interrupt vector address registers without having to go to a jump table first. irqs used as fast interrupts must be set to priority level 2. unexp ected results will occur if a fast interrupt vector is set to any othe r priority. a fast interrupt automa tically becomes the highest-priority level 2 interrupt regardless of its location in the interru pt table prior to being de clared as fast interrupt. fast interrupt 0 has priority over fa st interrupt 1. to determine the v ector number of each irq, refer to the vector table. 5.6.10 fast interrupt 0 vector address low register (fival0) figure 5-12 fast interrupt 0 vect or address low register (fival0) 5.6.10.1 fast interrupt 0 vector address low (fi val0)?bits 15?0 the lower 16 bits of the vector addr ess used for fast interrupt 0. this register is combined with fivah0 to form the 21-bit vector address for fast interrupt 0 defined in the fim0 register. base + $8 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 0 0 0 0 0 0 fast interrupt 0 write reset 0000000000000000 base + $9 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read fast interrupt 0 vector address low write reset 0000000000000000 56f8037/56F8027 data sheet, rev. 6 88 freescale semiconductor 5.6.11 fast interrupt 0 vector address high register (fivah0) figure 5-13 fast interr upt 0 vector address high register (fivah0) 5.6.11.1 reserved?bits 15?5 this bit field is reserved. each bit must be set to 0. 5.6.11.2 fast interrupt 0 vector address high (fi vah0)?bits 4?0 the upper five bits of the vector a ddress used for fast inte rrupt 0. this register is combined with fival0 to form the 21-bit vector address for fast interrupt 0 defined in the fim0 register. 5.6.12 fast interrupt 1 match register (fim1) figure 5-14 fast interrupt 1 match register (fim1) 5.6.12.1 reserved?bits 15?6 this bit field is reserved. each bit must be set to 0. 5.6.12.2 fast interrupt 1 vector number (fast inte rrupt 1)?bits 5?0 these values determine which irq will be fast interrupt 1. fast interrupts vector directly to a service routine based on values in the fast interrupt vector address registers without having to go to a jump table first. irqs used as fast interrupts must be set to priority level 2. unexp ected results will occur if a fast interrupt vector is set to any othe r priority. a fast inte rrupt automatically beco mes the highest priority level 2 interrupt, regardless of its location in the interr upt table prior to being d eclared as fast interrupt. fast interrupt 0 has priority over fast interrupt 1. to determine the vector numbe r of each irq, refer to the vector table. 5.6.13 fast interrupt 1 vector address low register (fival1) figure 5-15 fast interrupt 1 vect or address low register (fival1) base + $a 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 0 0 0 0 0 0 0 fast interrupt 0 vector address high write reset 0000000000000000 base + $b 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 0 0 0 0 0 0 fast interrupt 1 write reset 0000000000000000 base + $c 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read fast interrupt 1 vector address low write reset 0000000000000000 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 89 5.6.13.1 fast interrupt 1 vector address low (fi val1)?bits 15?0 the lower 16 bits of the vector addr ess used for fast interrupt 1. this register is combined with fivah1 to form the 21-bit vector address for fast interrupt 1 defined in the fim1 register. 5.6.14 fast interrupt 1 vector address high (fivah1) figure 5-16 fast interr upt 1 vector address high register (fivah1) 5.6.14.1 reserved?bits 15?5 this bit field is reserved. each bit must be set to 0. 5.6.14.2 fast interrupt 1 vector address high (fi vah1)?bits 4?0 the upper five bits of the vector a ddress used for fast inte rrupt 1. this register is combined with fival1 to form the 21-bit vector address for fast interrupt 1 defined in the fim1 register. 5.6.15 irq pending register 0 (irqp0) figure 5-17 irq pending register 0 (irqp0) 5.6.15.1 irq pending (pending)?bits 16?2 this register bit values repres ent the pending irqs for interrupt vector numbers 2 through 16. ascending irq numbers correspond to ascending bit locations. ? 0 = irq pending for this vector number ? 1 = no irq pending for this vector number 5.6.15.2 reserved?bit 0 this bit field is reserved. it must be set to 0. base + $d 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 0 0 0 0 0 0 0 fast interrupt 1 vector address high write reset 0000000000000000 base + $e 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read pending[16:2] 1 write reset 1111111111111111 56f8037/56F8027 data sheet, rev. 6 90 freescale semiconductor 5.6.16 irq pending register 1 (irqp1) figure 5-18 irq pending register 1 (irqp1) 5.6.16.1 irq pending (pending)?bits 32?17 this register bit values represent the pending irqs for interrupt vector numbers 17 through 32. ascending irq numbers correspond to ascending bit locations. ? 0 = irq pending for this vector number ? 1 = no irq pending for this vector number 5.6.17 irq pending register 2 (irqp2) figure 5-19 irq pending register 2 (irqp2) 5.6.17.1 irq pending (pending)?bits 48?33 this register bit values represent the pending irqs for interrupt vector numbers 33 through 48. ascending irq numbers correspond to ascending bit locations. ? 0 = irq pending for this vector number ? 1 = no irq pending for this vector number 5.6.18 irq pending register 3 (irqp3) figure 5-20 irq pending register 3 (irqp3) 5.6.18.1 irq pending (pending)?bits 63?49 this register bit values represent the pending irqs for interrupt vector numbers 49 through 63. ascending irq numbers correspond to ascending bit locations. ? 0 = irq pending for this vector number ? 1 = no irq pending for this vector number base + $f 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read pending[32:17] write reset 1111111111111111 base + $10 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read pending[48:33] write reset 1111111111111111 base + $11 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read pending[63:49] write reset 1111111111111111 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 91 5.6.19 interrupt contro l register (ictrl) figure 5-21 interrupt control register (ictrl) 5.6.19.1 interrupt (int)?bit 15 this read-only bit reflects the state of th e interrupt to the 56800e core. ? 0 = no interrupt is be ing sent to the 56800e core ? 1 = an interrupt is be ing sent to the 56800e core 5.6.19.2 interrupt priority level (ipic)?bits 14?13 these read-only bits reflect the state of the new interrupt priority level bits be ing presented to the 56800e core. these bits indicate the priority level needed fo r a new irq to interrupt the current interrupt being sent to the 56800e core. this field is only updated wh en the 56800e core jumps to a new interrupt service routine. note: nested interrupts may cause this field to be update d before the original inte rrupt service routine can read it. ? 00 = required nested exception prio rity levels are 0, 1, 2, or 3 ? 01 = required nested exception pr iority levels are 1, 2, or 3 ? 10 = required nested exceptio n priority levels are 2 or 3 ? 11 = required nested exception priority level is 3 5.6.19.3 vector number - vec tor address bus (vab)?bits 12?6 this read-only field shows bits [7:1] of the vector address bus used at th e time the last irq was taken. in the case of a fast interrupt, it s hows the lower address bits of the jump address. this field is only updated when the 56800e core jumps to a new interrupt service routine. $base + $16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read int ipic vab int_ dis 1 1 1 0 0 write reset 0000000000011100 table 5-4 interrupt priority encoding ipic_value[1:0] current interrupt priority level required nested exception priority 00 no interrupt or swilp priorities 0, 1, 2, 3 01 priority 0 priorities 1, 2, 3 10 priority 1 priorities 2, 3 11 priority 2 or 3 priority 3 56f8037/56F8027 data sheet, rev. 6 92 freescale semiconductor note: nested interrupts may cause this field to be update d before the original inte rrupt service routine can read it. 5.6.19.4 interrupt disable (int_dis)?bit 5 this bit allows all interrupts to be disabled. ? 0 = normal operation (default) ? 1 = all interrupts disabled 5.6.19.5 reserved?bits 4-2 this bit field is reserved. each bit must be set to 1. 5.6.19.6 reserved?bits 1?0 this bit field is reserved. each bit must be set to 0. 5.7 resets 5.7.1 general 5.7.2 description of reset operation 5.7.2.1 reset handshake timing the itcn provides the 56800e core with a reset vector address on the vab pins whenever reset is asserted from the sim. th e reset vector will be pr esented until the second risi ng clock edge after reset is released. the genera l timing is shown in figure 5-22 . figure 5-22 reset interface table 5-5 reset summary reset priority source characteristics core reset rst core reset from the sim res clk vab pab reset_vector_adr read_adr introduction 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 93 5.7.3 itcn after reset after reset, all of the itcn regist ers are in their default states. this means all interrupts are disabled, except the core irqs wi th fixed priorities: ? illegal instruction ? sw interrupt 3 ? hw stack overflow ? misaligned long word access ? sw interrupt 2 ? sw interrupt 1 ? sw interrupt 0 ? sw interrupt lp these interrupts are enabled at their fixed priority levels. part 6 system integration module (sim) 6.1 introduction the sim module is a system catchall for the glue logic that ties together the system-on-chip. it controls distribution of resets and clocks and provides a number of control features. the system integration module?s functions are discussed in mo re detail in the following sections. 56f8037/56F8027 data sheet, rev. 6 94 freescale semiconductor 6.2 features the sim has the following features: ? chip reset sequencing ? core and peripheral clock control and distribution ? stop/wait mode control ? system status control ? registers containing the jtag id of the chip ? controls for programmable peripheral and gpio connections ? peripheral clocks for tmr and pwm with a high-speed (3x) option ? power-saving clock gating for peripherals ? three power modes (run, wait, st op) to control power utilization ? stop mode shuts down the 56800e core, system clock, and peripheral clock ? wait mode shuts down the 56800e core and unnecessary system clock operation ? run mode supports full device operation ? controls the enable/disable functions of the 56800e core wait and stop instructions with write protection capability ? controls the enable/disable functio ns of large regulator standby mode with write protection capability ? permits selected peripherals to run in stop mode to gene rate stop recovery interrupts ? controls for programmable peripheral and gpio connections ? software chip reset ? i/o short address ba se location control ? peripheral protection control to provide runaway code protectio n for safety-critical applications ? controls output of internal clock sources to clko pin ? four general-purpose software control registers are reset only at power-on ? peripherals stop mode clocking control register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 95 6.3 register descriptions a write to an address without an associated register is an nop. a read from an address without an associated register returns unknown data. table 6-1 sim register s (sim_base = $00 f100) register acronym base address + register name section location ctrl $0 control register 6.3.1 rstat $1 reset status register 6.3.2 swc0 $2 software control register 0 6.3.3 swc1 $3 software control register 1 6.3.3 swc2 $4 software control register 2 6.3.3 swc3 $5 software control register 3 6.3.3 mshid $6 most significant half of jtag id 6.3.4 lshid $7 least signific ant half of jtag id 6.3.5 pwr $8 power control register 6.3.6 reserved clkout $a clko select register 6.3.7 pcr $b peripheral clock rate register 6.3.8 pce0 $c peripheral clock enable register 0 6.3.9 pce1 $d peripheral clock enable register 0 6.3.10 sd0 $e stop disable register 0 6.3.11 sd1 $f stop disable register 1 6.3.12 iosahi $10 i/o short address location high register 6.3.13 iosalo $11 i/o short address location low register 6.3.14 prot $12 protection register 6.3.15 gpsa0 $13 gpio peripheral sele ct register 0 for gpioa 6.3.16 gpsa1 $14 gpio peripheral sele ct register 1 for gpioa 6.3.17 gpsb0 $15 gpio peripheral sele ct register 0 for gpiob 6.3.18 gpsb1 $16 gpio peripheral sele ct register 1 for gpiob 6.3.19 gpscd $17 gpio peripheral select register for gpioc and gpiod 6.3.20 ips0 $18 internal peripheral source select register 0 for pwm 6.3.21 ips1 $19 internal peripheral source select register 1 for dacs 6.3.22 ips2 $1a internal peripheral source select register 2 for quad timer a 6.3.23 reserved 56f8037/56F8027 data sheet, rev. 6 96 freescale semiconductor add. offset address acronym 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 $0 sim_ ctrl r 0 0 0 0 0 0 0 0 0 0 once ebl 0 sw rst stop_ disable wait_ disable w $1 sim_ rstat r 0 0 0 0 0 0 0 0 0 swr cop_ tor cop_ lor extr por 0 0 w $2 sim_swc0 r software control data 0 w $3 sim_swc1 r software control data 1 w $4 sim_swc2 r software control data 2 w $5 sim_swc3 r software control data 3 w $6 sim_mshid r 0 0 0 0 0 001 1 1110010 w $7 sim_lshid r 1 0 0 0 0 000 0 0011101 w $8 sim_pwr r 0 0 0 0 0 0 0 0 0 0 0 0 0 0 lrstdby w reserved $a sim_ clkout r 0 0 0 0 0 0 pwm 3pwm 2pwm 1pwm 0 clk dis clkosel 0 w $b sim_pcr r tmrb_ cr tmra_ cr pwm_c r i2c_ cr 0 0 0 0 0 0 0 0 0 0 0 0 w $c sim_pce0 r cmpb cmpa dac1 dac0 0 adc 0 0 0 i2c qsci1 qsci0 qspi1 qspi0 0 pwm w $d sim_pce1 r 0 pit2 pit1 pit0 0 0 0 0 tb3 tb2 tb1 tb0 ta3 ta2 ta1 ta0 w $e sim_sd0 r cmpb_ sd cmpa_ sd dac1_s d dac0_ sd 0 adc_ sd 0 0 0 i2c_ sd qsci1 _sd qsci0 _sd qspi1 _sd qspi0 _sd 0 pwm_ sd w $f sim_sd1 r 0 pit2_ sd pit1_s d pit0_ sd 0 0 0 0 tb3_ sd tb2_ sd tb1_ sd tb0_ sd ta3_ sd ta2_ sd ta1_ sd ta0_ sd w $10 sim_iosahi r 0 0 0 0 0 0 0 0 0 0 0 0 0 0 isal[23:22] w $11 sim_iosalo r isal[21:6] w $12 sim_prot r 0 0 0 0 0 0 0 0 0 0 0 0 pcep gipsp w $13 sim_gpsa0 r 0 0 0 gps_ a6 gps_a5 gps_a4 0 0 0 0 0 0 0 0 w $14 sim_gpsa1 r 0 0 gps_a14 gps_a13 gps_a12 0 gps_ a11 0 gps_ a10 gps_a9 gps_a8 w $15 sim_gpsb0 r 0 gps_b6 gps_b5 gps_b4 gps_b3 gps_b2 0 gps_ b1 0 gps_ b0 w $16 sim_gpsb1 r 0 0 0 0 0 0 0 gps_ b11 0 gps_ b10 0 gps_ b9 0 gps_ b8 0 gps_ b7 w $17 sim_gpscd r 0 0 0 gps_ d5 0 0 0 0 0 0 0 gps_ c12 0 gps_ c8 0 0 w $18 sim_ips0 r 0 0 ips0_ fault2 0 ips0_ fault1 0 0 ips0_psrc2 ips0_psrc1 ips0_psrc0 w $19 sim_ips1 r 0 0 0 0 0 0 0 0 0 ips1_dsync1 0 ips1_dsync0 w register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 97 figure 6-1 sim register map summary 6.3.1 sim control register (sim_ctrl) figure 6-2 sim control register (sim_ctrl) 6.3.1.1 reserved?bits 15?6 this bit field is reserved. each bit must be set to 0. 6.3.1.2 once enable (onceebl)?bit 5 ? 0 = once clock to 56800e core en abled when core tap is enabled ? 1 = once clock to 56800e core is always enabled note: using default state ?0? is recommended. 6.3.1.3 software reset (swrst)?bit 4 ? writing 1 to this field will cause the device to reset ? read is zero 6.3.1.4 stop disable (s top_disable)?bits 3?2 ? 00 = stop mode will be entered when the 56800e core executes a stop instruction ? 01 = the 56800e stop instruction will not cause entry into stop mode ? 10 = stop mode will be entered when the 5680 0e core executes a stop instruction and the stop_disable field is write-protected until the next reset ? 11 = the 56800e stop instruction will not cause entry into stop mode and the stop_disable field is write-protected until the next reset 6.3.1.5 wait disable (wait_disable)?bits 1?0 ? 00 = wait mode will be entered when th e 56800e core executes a wait instruction ? 01 = the 56800e wait instructio n will not cause entry into wait mode ? 10 = wait mode will be entered when the 568 00e core executes a wait instruction and the wait_disable field is write-p rotected until the next reset ? 11 = the 56800e wait instruction will not cause entry into wait mode and the wait_disable field is write-protected until the next reset $1a sim_ips2 r 0 0 0 ips2_ ta3 0 0 0 ips2_ ta2 0 0 0 ips2_ ta1 0 0 0 0 w reserved 0 = read as 0 1 = read as 1 = reserved base + $0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 0 0 0 0 0 0 once ebl sw rst stop_ disable wait_ disable write reset 0000000000000000 56f8037/56F8027 data sheet, rev. 6 98 freescale semiconductor 6.3.2 sim reset status register (sim_rstat) this read-only register is updated upon any system reset and indicates th e cause of the most recent reset. it indicates whether the cop reset vector or regular rese t vector (including power-on reset, external reset, software reset) in the vect or table is used. this register is asynchronously reset during power-on reset and subsequently is synchronously updated base d on the precedence level of reset inputs. only the most recent reset source will be indicated if multiple resets occur. if multiple reset sources assert simultaneously, the highest-preceden ce source will be indicated. the pr ecedence from highest to lowest is power-on reset, external reset, cop loss of re ference reset, cop time-o ut reset, and software reset. power-on reset is always set during a power-on reset; howev er, power-on reset will be cleared and external reset will be set if the external reset pin is asserted or remains asserted after the power-on reset has deasserted. figure 6-3 sim reset status register (sim_rstat) 6.3.2.1 reserved?bits 15?7 this bit field is reserved. each bit must be set to 0. 6.3.2.2 software reset (swr)?bit 6 when set, this bit indicates that the previous system reset occurred as a result of a softwa re reset (written 1 to swrst bit in the sim_ctrl register). 6.3.2.3 cop time-out reset (cop_tor)?bit 5 when set, this bit indicates that the previous syst em reset was caused by the computer operating properly (cop) module signaling a cop time-out reset. if cop_to r is set as code starts executing, the cop reset vector in the vector table w ill be used. otherwise, the normal reset vector is used. 6.3.2.4 cop loss of refere nce reset (cop_lor)?bit 4 when set, this bit indicates that the previous syst em reset was caused by the computer operating properly (cop) module signaling a loss of cop reference clock reset. if cop_lor is set as code starts executing, the cop reset vector in the vector table will be used. otherwise, the normal reset vector is used. 6.3.2.5 external reset (extr)?bit 3 when set, this bit indicates that the previous system reset was caused by an external reset. 6.3.2.6 power-on reset (por)?bit 2 this bit is set during a power-on reset. base + $1 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 0 0 0 0 0 swr cop_ tor cop_ lor extr por 0 0 write reset 00000000000 0 0100 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 99 6.3.2.7 reserved?bits 1?0 this bit field is reserved. each bit must be set to 0. 6.3.3 sim software control registers (sim_swc0, sim_swc1, sim_swc2, and sim_swc3) these registers are general-purpose registers. they are reset only at power-on, so they can monitor software execution flow. figure 6-4 sim software contro l register 0 (sim_swc0 - 3) 6.3.3.1 software control register 0 - 3 (field)?bits 15?0 this register is reset only by the po wer-on reset (por). it is intende d for use by a software developer to contain data that will be unaffected by the other reset sources (ext ernal reset, software reset, and cop reset). 6.3.4 most significant half of jtag id (sim_mshid) this read-only register displays the most significant half of the jtag id for the ch ip. this register reads $01f2. figure 6-5 most significant half of jtag id (sim_mshid) 6.3.5 least significant half of jtag id (sim_lshid) this read-only register displays th e least significant half of the jtag id for the chip. this register reads $801d. figure 6-6 least significant half of jtag id (sim_lshid) base + $2 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read software control data 0 - 3 write reset 0 0 0 0 0 0 0 0000 0 0000 base + $6 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 0 0 0 1111 1 0010 write reset 0 0 0 0 0 0 0 1111 1 0010 base + $7 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 1 0 0 0 0 0 0 0000 1 1101 write reset 1 0 0 0 0 0 0 0000 1 1101 56f8037/56F8027 data sheet, rev. 6 100 freescale semiconductor 6.3.6 sim power control register (sim_pwr) this register controls the standby mode of the large on-chip regulator. the large on-chip regulator derives the core digital logic power supply from the io power supply. at a sy stem bus frequency of 200khz, the large regulator may be put in a reduced-power sta ndby mode without interfering with device operation to reduce device power consumption. re fer to the overview of power-down modes and the overview of clock generation for more information on th e use of large regulator standby. figure 6-7 sim power cont rol register (sim_pwr) 6.3.6.1 reserved?bits 15?2 this bit field is reserved. each bit must be set to 0. 6.3.6.2 large regulator sta ndby mode[1:0] (lrstdby)?bits 1?0 ? 00 = large regulator is in normal mode ? 01 = large regulator is in standby (reduced-power) mode ? 10 = large regulator is in normal mode and the lr stdby field is write-protected until the next reset ? 11 = large regulator is in standby mode and the lrstdby field is write-protected until the next reset 6.3.7 clock output sele ct register (sim_clkout) the clock output select register can be used to multiplex out selected clock sources generated inside the clock generation and sim modules onto the muxed clock output pins. all functionality is for test purposes only. glitches may be produced when the clock is enabled or switche d. the delay from the clock source to the output is unspecified. the obser vability of the clko clock output signal at an output pad is subject to the frequency limitations of the associated io cell. gpioa[3:0] can function as gpio, pwm, or as clock output pins. if gpioa[3:0] are programmed to operate as peripheral outputs, then the choice is between pw m and clock outputs. the default state is for the peripheral function of gpioa[3: 0] to be programmed as pwm (sel ected by bits [9:6] of the clock output select register). gpiob4 can function as gpio, or as other peripheral outputs, includi ng clock output (clko). if gpiob4 is programmed to operate as a pe ripheral output and clko is selected in the sim_gpsb0 register, bits [4:0] decide if clko is enabled or disabled and which clock source is selected if clko is enabled. see figure 6-8 for details. base + $8 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 0 0 0 0 0 0 0 0 0 0 lrstdby write reset 0000000000000000 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 101 figure 6-8 clko select register (sim_clkout) 6.3.7.1 reserved?bits 15?10 this bit field is reserved. each bit must be set to 0. 6.3.7.2 pwm 3?bit 9 ? 0 = peripheral output function of gpioa[3] is defined to be pwm 3 ? 1 = peripheral output function of gpioa[3] is defined to be the relaxation oscillator clock 6.3.7.3 pwm 2?bit 8 ? 0 = peripheral output function of gpioa[2] is defined to be pwm 2 ? 1 = peripheral output function of gpioa[2] is defined to be the system clock 6.3.7.4 pwm 1?bit 7 ? 0 = peripheral output function of gpioa[1] is defined to be pwm 1 ? 1 = peripheral output function of gpioa[1] is defined to be 2x system clock 6.3.7.5 pwm 0?bit 6 ? 0 = peripheral output function of gpioa[0] is defined to be pwm 0 ? 1 = peripheral output function of gpioa[0] is defined to be 3x system clock 6.3.7.6 clockout disable (clkdis)?bit 5 ? 0 = clkout output function is enabled and will output the signal indicated by clkosel ? 1 = clkout output function is disabled 6.3.7.7 clockout select (clkosel)?bits 4?0 clkosel selects clock to be muxe d out on the clko pin as defined in the following. internal delay to clko output is unspecified. signal at the output pad is undefined when clko signal frequency exceeds the rated frequency of the i/o cel l. clko may not operate as exp ected when clkdis and clkosel settings are changed. ? 00000 = continuous system clock ? 00001 = continuous peripheral clock ? 00010 = 3x system clock ? 00100..... 11111 = reserved for factory test base + $a 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 0 0 pwm 3pwm 2pwm 1pwm 0 clk dis clkosel write reset 0 0 0 0 0 0 0 0 0 0 1 00000 56f8037/56F8027 data sheet, rev. 6 102 freescale semiconductor 6.3.8 peripheral clock ra te register (sim_pcr) by default, all peripherals are clocked at the system clock rate, which has a maximum of 32mhz. selected peripherals clocks have th e option to be clocked at 3x system cl ock rate, which has a maximum of 96mhz, if the pll output clock is selected as the system clock. if pll is disa bled, the 3x system clock will not be available. this register is used to enable high- speed clocking for those pe ripherals that support it. note: operation is unpredictable if peripheral clocks are reconfigured at runtime, so peripherals should be disabled before a peripheral clock is reconfigured. figure 6-9 peripheral clock rate register (sim_pcr) 6.3.8.1 quad timer b clock rate (tmrb_cr)?bit 15 this bit selects the clock speed for the quad timer b module. ? 0 = quad timer b clock rate equals the sy stem clock rate, to a maximum 32mhz (default) ? 1 = quad timer b clock rate equals 3x system clock rate, to a maximum 96mhz 6.3.8.2 quad timer a clock rate (tmra_cr)?bit 14 this bit selects the clock speed for the quad timer a module. ? 0 = quad timer a clock rate equals the sy stem clock rate, to a maximum 32mhz (default) ? 1 = quad timer a clock rate equals 3x system clock rate, to a maximum 96mhz 6.3.8.3 pulse width modulator clock rate (pwm_cr)?bit 13 this bit selects the clock speed for the pwm module. ? 0 = pwm module clock rate equals the system clock rate, to a maximum 32mhz (default) ? 1 = pwm module clock rate equals 3x system clock rate, to a maximum 96mhz 6.3.8.4 inter-integrated circui t run clock rate (i2c_cr)?bit 12 this bit selects the clock speed for the i 2 c run clock. ?0 = i 2 c module run clock rate equals the system clock rate, to a maximum 32mhz (default) ?1 = i 2 c module run clock rate equals 3x system clock rate, to a maximum 96mhz 6.3.8.5 reserved?bits 11?0 this bit field is reserved. each bit must be set to 0. base + $b 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read tmrb_ cr tmra_ cr pwm_ cr i2c_ cr 0 0 0 0 0 0 0 0 0 0 0 0 write reset 0 0 0000 0 0 00000000 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 103 6.3.9 peripheral clock enable register 0 (sim_pce0) the peripheral clock enable register enables or disables clocks to the peripherals as a power savings feature. significant power savings are achieved by enabling only the peripheral clocks that are in use. when a peripheral?s clock is disable d, that peripheral is in stop mode. accesses made to a module that has its clock disabled will ha ve no effect. the corresponding peripheral should itself be disabled while its clock is shut off. ipbus writes are not possible. setting the pce bit does not guarantee that the pe ripheral?s clock is running. enabled peripheral clocks will still become disabl ed in stop mode, unless the periphe ral?s stop disable control in the sd n register is set to 1. note: the mscan module supports extended power management capabilities, including sleep, stop-in-wait, and disable modes. mscan clocks ar e selected by mscan control registers. refer to the 56f802x and 56f803x peri pheral reference manual for details. figure 6-10 peripheral clock en able register 0 (sim_pce0) 6.3.9.1 comparator b clock enable (cmpb)?bit 15 ? 0 = the clock is not provided to the comparator b module (the comparator b module is disabled) ? 1 = the clock is enabled to the comparator b module 6.3.9.2 comparator a clock enable (cmpa)?bit 14 ? 0 = the clock is not provided to the comparator a module (the comparator a module is disabled) ? 1 = the clock is enabled to the comparator a module 6.3.9.3 digital-to-analog cl ock enable 1 (dac1)?bit 13 ? 0 = the clock is not provided to the da c1 module (the dac1 module is disabled) ? 1 = the clock is enabled to the dac1 module 6.3.9.4 digital-to-analog cl ock enable 0 (dac0)?bit 12 ? 0 = the clock is not provided to the da c0 module (the dac0 module is disabled) ? 1 = the clock is enabled to the dac0 module 6.3.9.5 reserved?bit 11 this bit field is reserved. it must be set to 0. 6.3.9.6 analog-to-digital conver ter clock enable (adc)?bit 10 ? 0 = the clock is not provided to the adc module (the adc module is disabled) ? 1 = the clock is enabled to the adc module base + $c 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read cmpb cmpa dac1 dac0 0 adc 0 0 0 i2c qsci1 qsci0 qspi1 qspi0 0 pwm write reset 0 0 00000 0 00 0 0 0 0 0 0 56f8037/56F8027 data sheet, rev. 6 104 freescale semiconductor 6.3.9.7 reserved?bits 9?7 this bit field is reserved. each bit must be set to 0. 6.3.9.8 inter-integrated circui t ipbus clock enable (i2c)?bit 6 ? 0 = the clock is not provided to the i 2 c module (the i 2 c module is disabled) ? 1 = the clock is enabled to the i 2 c module 6.3.9.9 qsci 1 clock enable (qsci1)?bit 5 ? 0 = the clock is not provided to the qsci1 module (the qsci1 module is disabled) ? 1 = the clock is enabled to the qsci1 module 6.3.9.10 qsci 0 clock enable (qsci0)?bit 4 ? 0 = the clock is not provided to the qsci0 module (the qsci0 module is disabled) ? 1 = the clock is enabled to the qsci0 module 6.3.9.11 qspi 1 clock enable (qspi1)?bit 3 ? 0 = the clock is not provided to the qs pi1 module (the qspi1 module is disabled) ? 1 = the clock is enabled to the qspi1 module 6.3.9.12 qspi 0 clock enable (qspi0)?bit 2 ? 0 = the clock is not provided to the qs pi0 module (the qspi0 module is disabled) ? 1 = the clock is enabled to the qspi0 module 6.3.9.13 reserved?bit 1 this bit field is reserved. it must be set to 0. 6.3.9.14 pwm clock enable (pwm)?bit 0 ? 0 = the clock is not provided to the pwm module (the pwm module is disabled) ? 1 = the clock is enabled to the pwm module 6.3.10 peripheral clock enab le register 1 (sim_pce1) see section 6.3.9 for general information about pe ripheral clock enable registers. figure 6-11 peripheral clock en able register 1 (sim_pce1) base + $d 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 pit2 pit1 pit0 0 0 0 0 tb3 tb2 tb1 tb0 ta3 ta2 ta1 ta0 write reset 0000000 0 00000 0 0 0 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 105 6.3.10.1 reserved?bit 15 this bit field is reserved. it must be set to 0. 6.3.10.2 programmable interval ti mer 2 clock enable (pit2)?bit 14 ? 0 = the clock is not provided to the pit2 module (the pit2 module is disabled) ? 1 = the clock is enabled to the pit2 module 6.3.10.3 programmable interval ti mer 1 clock enable (pit1)?bit 13 ? 0 = the clock is not provided to the pit1 module (the pit1 module is disabled) ? 1 = the clock is enabled to the pit1 module 6.3.10.4 programmable interval ti mer 0 clock enable (pit0)?bit 12 ? 0 = the clock is not provided to the pit0 module (the pit0 module is disabled) ? 1 = the clock is enabled to the pit0 module 6.3.10.5 reserved?bits 11?8 this bit field is reserved. each bit must be set to 0. 6.3.10.6 quad timer b, channel 3 clock enable (tb3)?bit 7 ? 0 = the clock is not provided to the timer b3 module (the timer b3 module is disabled) ? 1 = the clock is enabled to the timer b3 module 6.3.10.7 quad timer b, channel 2 clock enable (tb2)?bit 6 ? 0 = the clock is not provided to the timer b2 module (the timer b2 module is disabled) ? 1 = the clock is enabled to the timer b2 module 6.3.10.8 quad timer b, channel 1 clock enable (tb1)?bit 5 ? 0 = the clock is not provided to the timer b1 module (the timer b1 module is disabled) ? 1 = the clock is enabled to the timer b1 module 6.3.10.9 quad timer b, channel 0 clock enable (tb0)?bit 4 ? 0 = the clock is not provided to the timer b0 module (the timer b0 module is disabled) ? 1 = the clock is enabled to the timer b0 module 6.3.10.10 quad timer a, channel 3 clock enable (ta3)?bit 3 ? 0 = the clock is not provided to the timer a3 module (the timer a3 module is disabled) ? 1 = the clock is enable d to the timer a3 module 6.3.10.11 quad timer a, channel 2 clock enable (ta2)?bit 2 ? 0 = the clock is not provided to the timer a2 module (the timer a2 module is disabled) ? 1 = the clock is enable d to the timer a2 module 56f8037/56F8027 data sheet, rev. 6 106 freescale semiconductor 6.3.10.12 quad timer a, channel 1 clock enable (ta1)?bit 1 ? 0 = the clock is not provided to the timer a1 module (the timer a1 module is disabled) ? 1 = the clock is enable d to the timer a1 module 6.3.10.13 quad timer a, channel 0 clock enable (ta0)?bit 0 ? 0 = the clock is not provided to the timer a0 module (the timer a0 module is disabled) ? 1 = the clock is enable d to the timer a0 module 6.3.11 stop disable register 0 (sd0) by default, peripheral cl ocks are disabled during stop mode in order to maximize power savings. this register will allow an indi vidual peripheral to operate in stop mode. since asserti ng an interrupt causes the system to return to run mode, this feature is provided so th at selected peripherals can be left operating in stop mode for the purpose of generating a wake-up interrupt. for power-conscious applications, it is recommended that only a minimum set of peripherals be configured to remain operational during stop mode. peripherals should be put in a non-operating (disabled) configuration prior to entering stop mode unless their corresponding stop disable cont rol is set to 1. refer to the 56f802x and 56f803x peripheral reference manual for further details. r eads and writes cannot be made to a module that has its clock disabled. note: the mscan module supports extended powe r management capabilities including sleep, stop-in-wait, and disable modes. mscan clocks are selected by mscan control registers. for details, refer to the 56f802x and 56f803x peri pheral reference manual . figure 6-12 stop disabl e register 0 (sd0) 6.3.11.1 comparator b clock stop disable (cmpb_sd)?bit 15 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce0 register 6.3.11.2 comparator a clock stop disable (cmpa_sd)?bit 14 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce0 register base + $e 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read cmpb_ sd cmpa_ sd dac1_ sd dac0_ sd 0 adc_ sd 0 0 0 i2c_ sd qsci1 _sd qsci0 _sd qspi1 _sd qspi0 _sd 0 pwm_ sd write reset 0 0 0 0 000 0 00 0 0 0 0 0 0 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 107 6.3.11.3 digital-to-analog converter 1 clock stop disable (dac1_sd)?bit 13 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce0 register 6.3.11.4 digital-to-analog converter 0 clock stop disable (dac0_sd)?bit 12 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce0 register 6.3.11.5 reserved?bit 11 this bit field is reserved. it must be set to 0. 6.3.11.6 analog-to-digital converte r clock stop disable (adc_sd)?bit 10 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce0 register 6.3.11.7 reserved?bits 9?7 this bit field is reserved. each bit must be set to 0. 6.3.11.8 inter-integrated circuit clock stop disable (i2c_sd)?bit 6 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce0 register 6.3.11.9 qsci1 clock stop disable (qsci1_sd)?bit 5 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce0 register 6.3.11.10 qsci0 clock stop disable (qsci0_sd)?bit 4 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce0 register 6.3.11.11 qspi1 clock stop disable (qspi1_sd)?bit 3 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce0 register 6.3.11.12 qspi0 clock stop disable (qspi0_sd)?bit 2 each bit controls clocks to the indicated peripheral. 56f8037/56F8027 data sheet, rev. 6 108 freescale semiconductor ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce0 register 6.3.11.13 reserved?bit 1 this bit field is reserved. it must be set to 0. 6.3.11.14 pwm clock stop disable (pwm_sd)?bit 0 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce0 register 6.3.12 stop disable register 1 (sd1) see section 6.3.11 for general information a bout stop disable registers. figure 6-13 stop disabl e register 1 (sd1) 6.3.12.1 reserved?bit 15 this bit field is reserved. it must be set to 0. 6.3.12.2 programmable interval timer 2 clock stop disable (pit2_sd)?bit 14 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce1 register 6.3.12.3 programmable interval timer 1 clock stop disable (pit1_sd)?bit 13 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce1 register 6.3.12.4 programmable interval timer 0 clock stop disable (pit0_sd)?bit 12 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce1 register 6.3.12.5 reserved?bits 11?8 this bit field is reserved. each bit must be set to 0. base + $f 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 pit2_ sd pit1_ sd pit0_ sd 0 0 0 0 tb3_ sd tb2_ sd tb1_ sd tb0_ sd ta3_ sd ta2_ sd ta1_ sd ta0_ sd write reset 000 0000000 000000 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 109 6.3.12.6 quad timer b, channel 3 clock stop disable (tb3_sd)?bit 7 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce1 register 6.3.12.7 quad timer b, channel 2 clock stop disable (tb2_sd)?bit 6 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce1 register 6.3.12.8 quad timer b, channel 1 clock stop disable (tb1_sd)?bit 5 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce1 register 6.3.12.9 quad timer b, channel 0 clock stop disable (tb0_sd)?bit 4 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce1 register 6.3.12.10 quad timer a, channel 3 clock stop disable (ta3_sd)?bit 3 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce1 register 6.3.12.11 quad timer a, channel 2 clock stop disable (ta2_sd)?bit 2 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce1 register 6.3.12.12 quad timer a, channel 1 clock stop disable (ta1_sd)?bit 1 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce1 register 6.3.12.13 quad timer a, channel 0 clock stop disable (ta0_sd)?bit 0 ? 0 = the clock is disabled during stop mode ? 1 = the clock is enabled during stop mode if the cl ock to this peripheral is enabled in the sim_pce1 register 6.3.13 i/o short address locatio n register high (sim_iosahi) in i/o short address mode, the inst ruction specifies only 6 lsbs of the effective address; the upper 18 bits are ?hard coded? to a specific area of memory. this scheme allows efficient access to a 64-location area in peripheral space with single word instruction. s hort address location regist ers specify the upper 18 bits 56f8037/56F8027 data sheet, rev. 6 110 freescale semiconductor of i/o address, which are ?hard coded?. these regist ers allow access to peripheral s using i/o short address mode, regardless of the physical loca tion of the peripheral, as shown in figure 6-14 . figure 6-14 i/o short address determination with this register set, software can set the sim_iosahi and sim_io salo registers to point to its peripheral registers and then use the i/o short addressing mode to access them. note: the default value of this register set points to the eonce registers. note: the pipeline delay between setting this register set and using shor t i/o addressing with the new value is five instruction cycles. figure 6-15 i/o short address locat ion high register (sim_iosahi) 6.3.13.1 reserved?bits 15?2 this bit field is reserved or not implemented. it is read as 0 a nd cannot be modified by writing. 6.3.13.2 input/output short addres s location (isal[23:22])?bits 1?0 this field represents the upper two address bi ts of the ?hard code d? i/o short address. 6.3.14 i/o short address locat ion register low (sim_iosalo) see section 6.3.13 for general information about i/ o short address location registers. base + $10 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 0 0 0 0 0 0 0 0 0 0 isal[23:22] write reset 000000 0 0 0000 0 0 11 instruction portion ? hard coded? address portion 6 bits from i/o short address mode instruction 16 bits from sim_iosalo register 2 bits from sim_iosahi register full 24-bit for short i/o address register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 111 figure 6-16 i/o short address locat ion low register (sim_iosalo) 6.3.14.1 input/output short addres s location (isal[2 1:6])?bits 15?0 this field represents the lower 16 address bi ts of the ?hard code d? i/o short address. 6.3.15 protection register (sim_prot) this register provides write protec tion of selected contro l fields for safety-cr itical applications. the primary purpose is to prevent uns afe conditions due to the unintenti onal modification of these fields between the onset of a code runa way and a reset by the co p watchdog. the gpio an d internal peripheral select protection (gipsp) field protect s the contents of registers in the sim and gpio modules that control inter-peripheral signal muxing and gpio configuration. the periphera l clock enable protection (pcep) field protects the sim registers? contents, which contain peripheral cloc k controls. some peripherals provide additional safety features. refer to the 56f802x and 56f803x peripher al reference manual for details. flexibility is provided so that write protection control values may themselves be optionally locked (write-protected). protection controls in this register have two bit values which de termine the setting of the control and whether the value is locked. while a protection control remains unlocked, protection can be disabled and re-enabled by software. once a protection control is lo cked, its value can only be altered by a chip reset, which restores its default non-locked value. figure 6-17 protection register (sim_prot) 6.3.15.1 reserved?bits 15?4 this bit field is reserved. each bit must be set to 0. 6.3.15.2 peripheral clock enable protection (pcep)?bits 3?2 these bits enable write protect ion of all fields in the pce n , sd n , and pcr registers in the sim module. ? 00 = write protection off (default) ? 01 = write protection on ? 10 = write protection off and locked until chip reset base + $11 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read isal[21:6] write reset 111111 1 1 1111 1 1 11 base + $12 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 0 0 0 0 0 0 0 0 pcep gipsp write reset 000000000000 0000 56f8037/56F8027 data sheet, rev. 6 112 freescale semiconductor ? 11 = write protection on and locked until chip reset 6.3.15.3 gpio and internal periphera l select protection (gipsp)?bits 1?0 these bits enable wr ite protection of gps n and ips n registers in the sim m odule and write protect all gpio x _peren, gpio x _ppoutm and gpio x _drive registers in gpio modules. ? 00 = write protection off (default) ? 01 = write protection on ? 10 = write protection off and locked until chip reset ? 11 = write protection on and locked until chip reset note: the pwm fields in the clkout register are also wr ite protected by gipsp. they are reserved for in-house test only. 6.3.16 sim gpio peripheral select register 0 for gpioa (sim_gpsa0) most i/o pins have an associated gpio function. in addition to the gpio func tion, i/o can be configured to be one of several pe ripheral functions. the gpio x _peren register within the gpio module controls the selection between periphe ral or gpio control of th e i/o pins. the gpio functi on is selected when the gpio x _peren bit for the i/o is 0. when the gpio x _peren bit of the gpio is 1, the fields in the gps n registers select which peripheral function has control of the i/o. figure 6-18 illustrates the output path to an i/o pin when an i/o has two peripheral functions. s imilar muxing is require d on peripheral function inputs to receive input from the properly selected i/o pin. figure 6-18 overall control of signal source using sim_gps nn control in some cases, the user can choose peripheral functi on between several i/o, each of which have the option to be programmed to control a specific peripheral func tion. if the user wishes to use that function, only one of these i/o must be configured to control that peripheral function. if more than one i/o is configured to control the peripheral function, the pe ripheral output signal will fan out to each i/o, but the peripheral input signal will be the logical or and and of all the i/o signals. complete lists of i/o muxings are provided in table 2-3 . the gps n setting can be altered during no rmal operation, but a delay must be inserted between the time when one function is disabled and another function is enabled. gpioa6_peren register gpioa6 gpioa6 pin sim_gpsa0 register pwm fault0 timer a0 0 1 0 1 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 113 note: after reset, all i/o pins are gpio, except the jtag pins and the reset pin. figure 6-19 gpio peripheral select register 0 for gpioa (sim_gpsa0) 6.3.16.1 reserved?bits 15?13 this bit field is reserved. each bit must be set to 0. 6.3.16.2 configure gpioa6 (gps_a6)?bit 12 this field selects the alte rnate function for gpioa6. ? 0 = fault0 - pwm fault0 input (default) ? 1 = ta0 - timer a0 6.3.16.3 configure gpioa5 (gps_a5)?bits 11?10 this field selects the alte rnate function for gpioa5. ? 00 = pwm5 - pwm5 (default) ? 01 = fault2 - pwm fault2 input ? 10 = ta3 - timer a3 ?11 = reserved 6.3.16.4 configure gpioa4 (gps_a4)?bits 9?8 this field selects the alte rnate function for gpioa4. ? 00 = pwm4 - pwm4 (default) ? 01 = fault1 - pwm fault1 input ? 10 = ta2 - timer a2 ?11 = reserved 6.3.16.5 reserved?bits 7?0 this bit field is reserved. each bit must be set to 0. 6.3.17 sim gpio peripheral select register 1 for gpioa (sim_gpsa1) see section 6.3.16 for general information about gp io peripheral select registers. base + $13 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 gps_a6 gps_a5 gps_a4 0 0 0 0 0 0 0 0 write reset 000 0 00000000 0000 56f8037/56F8027 data sheet, rev. 6 114 freescale semiconductor figure 6-20 gpio peripheral select register 1 for gpioa (sim_gpsa1) 6.3.17.1 reserved?bits 15?14 this bit field is reserved. each bit must be set to 0. 6.3.17.2 configure gpioa14 (gps_a14)?bits 13?12 this field selects the alte rnate function for gpioa14. ? 00 = tb3 - timer b3 (default) ? 01 = mosi1 - qspi1 master out/slave in ? 10 = ta3 - timer a3 ?11 = reserved 6.3.17.3 configure gpioa13 (gps_a13)?bits 11?10 this field selects the alte rnate function for gpioa13. ? 00 = tb2 - timer b2 (default) ? 01 = miso1 - qspi1 master in/slave out ? 10 = ta2 - timer a2 ?11 = reserved 6.3.17.4 configure gpio a12 (gps_a12)?bits 9?8 this field selects the alte rnate function for gpioa12. ? 00 = tb1- timer b1 (default) ? 01 = sclk1 - qspi1 serial clock ? 10 = ta1 - timer a1 ?11 = reserved 6.3.17.5 reserved?bit 7 this bit field is reserved. it must be set to 0. 6.3.17.6 configure gpioa11 (gps_a11)?bit 6 this field selects the alte rnate function for gpioa11. ? 0 = cmpbi2 - comparator b input 2 (default) ? 1 = tb3 - timer b3 base + $14 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 gps_a14 gps_a13 gps_a12 0 gps_ a11 0 gps_ a10 gps_a9 gps_a8 write reset 000000000000 0000 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 115 6.3.17.7 reserved?bit 5 this bit field is reserved. it must be set to 0. 6.3.17.8 configure gpioa10 (gps_a10)?bit 4 this field selects the alte rnate function for gpioa10. ? 0 = cmpai2- comparator a input 2 (default) ? 1 = tb2 - timer b2 6.3.17.9 configure gpioa9 (gps_a9)?bits 3?2 this field selects the alte rnate function for gpioa9. ? 00 = fault2 - pwm fault2 input (default) ? 01 = ta3 - timer a3 ? 10 = cmpbi1 - comparator b input 1 ?11 = reserved 6.3.17.10 configure gpioa 8 (gps_a8)?bits 1?0 this field selects the alte rnate function for gpioa8. ? 00 = fault1 - pwm fault1 input (default) ? 01 = ta2 - timer a2 ? 10 = cmpai1 - comparator a input 1 ?11 = reserved 6.3.18 sim gpio peripheral select register 0 for gpiob (sim_gpsb0) see section 6.3.16 for general information about gp io peripheral select registers. figure 6-21 gpio peripheral select register 0 for gpiob (sim_gpsb0) 6.3.18.1 reserved?bit 15 this bit field is reserved. it must be set to 0. 6.3.18.2 configure gpiob6 (gps_b6)?bits 14?13 this field selects the alte rnate function for gpiob6. ? 00 = rxd0 - qsci0 receive data (default) ? 01 = sda - i2c serial data base + $15 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 gps_b6 gps_b5 gps_b4 gps_b3 gps_b2 0 gps_ b1 0 gps_ b0 write reset 000000000000 0000 56f8037/56F8027 data sheet, rev. 6 116 freescale semiconductor ? 10 = clkin - external clock input ?11 = reserved 6.3.18.3 configure gpiob5 (gps_b5)?bits 12?11 this field selects the alte rnate function for gpiob5. ? 00 = ta1 - timer a1 (default) ? 01 = fault3 - pwm fault3 input ? 10 = clkin - external clock input ?11 = reserved 6.3.18.4 configure gp iob4(gps_b4)?bits 10?8 this field selects the alte rnate function for gpiob4. ? 000 = ta0 - timer a0 (default) ? 001 = clko - clock output ?010 = ss 1 - qspi1 slave select ? 011 = tb0 - timer b0 ? 100 = psrc2 - pwm4 / pwm5 pair external source ? 11x = reserved ? 1x1 = reserved 6.3.18.5 configure gpiob3 (gps_b3)?bits 7?6 this field selects the alte rnate function for gpiob3. ? 00 = mosi0 - qspi0 master out/slave in (default) ? 01 = ta3 - timer a3 ? 10 = psrc1 - pwm2 / pwm3 pair external source ?11 = reserved 6.3.18.6 configure gpiob2 (gps_b2)?bits 5?4 this field selects the alte rnate function for gpiob2. ? 00 = miso0 qspi0 master in/slave out (default) ? 01 = ta2 - timer a2 ? 10 = psrc0 - pwm0 / pwm1 pair external source ?11 = reserved 6.3.18.7 reserved?bit 3 this bit field is reserved. it must be set to 0. 6.3.18.8 configure gpiob1 (gps_b1)?bit 2 this field selects the alte rnate function for gpiob1. register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 117 ?0 = ss 0 - qspi0 slave select (default) ? 1 = sda - i2c serial data 6.3.18.9 reserved?bit 1 this bit field is reserved. it must be set to 0. 6.3.18.10 configure gp iob0 (gps_b0)?bits 0 this field selects the alte rnate function for gpiob0. ? 0 = sclk0 - qspi0 serial clock (default) ? 1 = scl - i 2 c serial clock 6.3.19 sim gpio peripheral select register 1 for gpiob (sim_gpsb1) see section 6.3.16 for general information about gp io peripheral select registers. figure 6-22 gpio peripheral select register 1 for gpiob (sim_gpsb1) 6.3.19.1 reserved?bits 15?9 this bit field is reserved. each bit must be set to 0. 6.3.19.2 configure gpiob11 (gps_b11)?bit 8 this field selects the alte rnate function for gpiob11. ? 0 = cmpbo - comparator b output (default) ? 1 = tb1 - timer b1 6.3.19.3 reserved?bit 7 this bit field is reserved. it must be set to 0. 6.3.19.4 configure gpiob10 (gps_b10)?bit 6 this field selects the alte rnate function for gpiob10. ? 0 = cmpao - comparator a output (default) ? 1 = tb0 - timer b0 6.3.19.5 reserved?bit 5 this bit field is reserved. it must be set to 0. base + $16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 0 0 0 gps_ b11 0 gps_ b10 0 gps_ b9 0 gps_ b8 0 gps_ b7 write reset 000000000000 0000 56f8037/56F8027 data sheet, rev. 6 118 freescale semiconductor 6.3.19.6 configure gpiob9 (gps_b9)?bit 4 this field selects the alte rnate function for gpiob9. ? 0 = sda - i 2 c serial data (default) ? 1 = mscanrx - mscan receive data 6.3.19.7 reserved?bit 3 this bit field is reserved. it must be set to 0. 6.3.19.8 configure gpiob8 (gps_b8)?bit 2 this field selects the alte rnate function for gpiob8. ? 0 = scl - i2c serial clock (default) ? 1 = mscantx - mscan transmit data 6.3.19.9 reserved?bit 1 this bit field is reserved. it must be set to 0. 6.3.19.10 configure gp iob7 (gps_b7)?bit 0 this field selects the alte rnate function for gpiob7. ? 0 = txd0 - qsci0 transmit data (default) ? 1 = scl - i2c serial clock 6.3.20 sim gpio peripheral select register for gpioc and gpiod (sim_gpscd) see section 6.3.16 for general information about gp io peripheral select registers. figure 6-23 gpio peripheral select re gister for gpioc and gpiod (sim_gpscd) 6.3.20.1 reserved?bits 15?13 this bit field is reserved. each bit must be set to 0. base + $17 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 gps_ d5 0 0 0 0 0 0 0 gps_ c12 0 gps_ c8 0 0 write reset 000000000000 0000 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 119 6.3.20.2 configure gpiod5 (gps_d5)?bit 12 this field selects the alte rnate function for gpiod5. ? 0 = xtal - external crysta l oscillator output (default) ? 1 = clkin - external clock input 6.3.20.3 reserved?bits 11?5 this bit field is reserved. each bit must be set to 0. 6.3.20.4 configure gpioc12 (gps_c12)?bit 4 this field selects the alte rnate function for gpioc12. ? 0 = anb4 - adcb, channel 4 (default) ? 1 = rxd1 - qsci1 receive data 6.3.20.5 reserved?bit 3 this bit field is reserved. it must be set to 0. 6.3.20.6 configure gpioc8 (gps_c8)?bit 2 this field selects the alte rnate function for gpioc8. ? 0 = ana4 - adca, channel 4 (default) ? 1 = txd1 - qsci1 transmit data 6.3.20.7 reserved?bits 1?0 this bit field is reserved. each bit must be set to 0. 6.3.21 internal peripheral source select register 0 for pulse width modulator (sim_ips0) the internal integration of periphera ls provides input signal source selection for pe ripherals where an input signal to a peripheral can be fed fr om one of several sources. these registers are organized by peripheral type and provide a selection list fo r every peripheral input signal that ha s more than one alternative source to indicate which source is selected. if one of the alternative s ources is gpio, the setting in these registers must be ma de consistently with the settings in the gps n and gpio x _peren registers. specifically, when an ips n field is configured to select an i/o pin as the source, then gps n register settings must configure onl y one i/o pin to fe ed this peripheral input function. also, the gpio x _peren bit for that i/o pi n must be set to 1 to enable peripheral control of the i/o. 56f8037/56F8027 data sheet, rev. 6 120 freescale semiconductor figure 6-24 overall control of signal source using sim_ips n control ips n settings should not be altere d while an affected peripheral is in an enabled (operational) configuration. see the 56f802x and 56f803x periph eral reference manual for details. figure 6-25 internal peripheral source select register for pwm (sim_ips0) 6.3.21.1 reserved?bits 15?14 this bit field is reserved. each bit must be set to 0. 6.3.21.2 select peripheral input so urce for fault2 (ips0_fault2)?bit 13 this field selects the alte rnate input source signal to feed pwm input fault2. ? 0 = i/o pin (external) - use pwm fault2 input pin (default) ? 1 = cmpbo (internal) - use comparator b output 6.3.21.3 reserved?bit 12 this bit field is reserved. it must be set to 0. 6.3.21.4 select peripheral input so urce for fault1 (ips0_fault1)?bit 11 this field selects the alte rnate input source signal to feed pwm input fault1. ? 0 = i/o pin (external) - use pwm fault2 input pin (default) ? 1 = cmpao (internal) - use comparator a output base + $18 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 ips0_ fault2 0 ips0_ fault1 0 0 ips0_psrc2 ips0_psrc1 ips0_psrc0 write reset 00 0 0 0 0000000 0000 gpioa5_peren register gpioa5 gpioa5 pin sim_ips0 register pwm fault2 comparator a output (internal) 0 1 0 1 01 00 10 pwm5 timer a3 sim_gpsa0 register register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 121 6.3.21.5 reserved?bits 10?9 this bit field is reserved. each bit must be set to 0. 6.3.21.6 select peripheral input source for pwm4/pwm5 pair source (ips0_psrc2)?bits 8?6 this field selects the alternate input source signa l to feed pwm input psrc 2 as the pwm4/pwm5 pair source. ? 000 = i/o pin (external) - use a psrc2 input pin as pwm source (default) ? 001 = ta3 (internal) - use ti mer a3 output as pwm source ? 010 = adc sample2 (internal) - use adc sample2 result as pwm source ? if the adc conversion result in sample2 is greater than the value programm ed into the high limit register hlmt2, then pwm4 is set to 0 and pwm5 is set to 1 ? if the adc conversion result in sample2 is less than the value programm ed into the low limit register llmt2, then pwm4 is set to 1 and pwm5 is set to 0 ? 011 = cmpao (internal) - use comparator a output as pwm source ? 100 = cmpbo (internal) - use co mparator b output as pwm source ? 11x = reserved ? 1x1 = reserved 6.3.21.7 select peripheral input source for pwm2/pwm3 pair source (ips0_psrc1)?bits 5?3 this field selects the alternate input source signa l to feed pwm input psrc 1 as the pwm2/pwm3 pair source. ? 000 = i/o pin (external) - use a psrc1 input pin as pwm source (default) ? 001 = ta2 (internal) - use ti mer a2 output as pwm source ? 010 = adc sample1 (internal) - use adc sample1 result as pwm source ? if the adc conversion result in sample1 is greater than the value programm ed into the high limit register hlmt1, then pwm2 is set to 0 and pwm3 is set to 1 ? if the adc conversion result in sample1 is less than the value programm ed into the low limit register llmt1, then pwm2 is set to 1 and pwm3 is set to 0 ? 011 = cmpao (internal) - use comparator a output as pwm source ? 100 = cmpbo (internal) - use comparator b output as pwm source ? 11x = reserved ? 1x1 = reserved 6.3.21.8 select peripheral input source for pwm0/pwm1 pair source (ips0_psrc0)?bits 2?0 this field selects the alternate input source signa l to feed pwm input psrc 0 as the pwm0/pwm1 pair source. 56f8037/56F8027 data sheet, rev. 6 122 freescale semiconductor ? 000 = i/o pin (external) - use a psrc0 input pin as pwm source (default) ? 001 = ta0 (internal) - use ti mer a0 output as pwm source ? 010 = adc sample0 (internal) - use adc sample0 result as pwm source ? if the adc conversion result in sample0 is greater than the value programm ed into the high limit register hlmt0, then pwm0 is set to 0 and pwm1 is set to 1 ? if the adc conversion result in sample0 is less than the value programm ed into the low limit register llmt0, then pwm0 is set to 1 and pwm1 is set to 0 ? 011 = cmpao (internal) - use comparator a output as pwm source ? 100 = cmpbo (internal) - use comparator b output as pwm source ? 11x = reserved ? 1x1 = reserved 6.3.22 internal peripheral source select register 1 for digital-to-analog converters (sim_ips1) see section 6.3.21 for general information about internal peripheral source select registers. figure 6-26 internal peri pheral source select regi ster for dacs (sim_ips1) 6.3.22.1 reserved?bits 15?7 this bit field is reserved. each bit must be set to 0. 6.3.22.2 select input peripheral source for sync input to dac 1 (ips1_dsync1)?bits 6?4 this field selects the a lternate input source signal to feed dac1 sync input. ? 000 = pit0 (internal) - use programmable interv al timer 0 output as dac sync input (default) ? 001 = pit1 (internal) - use programmable interval timer 1 output as dac sync input ? 010 = pit2 (internal) - use programmable interval timer 2 output as dac sync input ? 011 = pwm sync (internal) - use pwm reload synchronization signal as dac sync input ? 100 = ta0 (internal) - use timer a0 output as dac sync input ? 101 = ta1 (internal) - use time r a1 output as dac sync input ? 11x = reserved 6.3.22.3 reserved?bit 3 this bit field is reserved. it must be set to 0. base + $19 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 0 0 0 0 0 0 ips1_dsync1 0 ips1_dsync0 write reset 000000000000 0000 register descriptions 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 123 6.3.22.4 select peripheral inpu t source for sync input to dac 0 (ips1_dsync0)?bits 2?0 this field selects the a lternate input source signal to feed dac0 sync input. ? 000 = pit0 (internal) - use programmable interv al timer 0 output as dac sync input (default) ? 001 = pit1 (internal) - use programmable interval timer 1 output as dac sync input ? 010 = pit2 (internal) - use programmable interval timer 2 output as dac sync input ? 011 = pwm sync (internal) - use pwm reload synchronization signal as dac sync input ? 100 = ta0 (internal) - use time r a0 output as dac sync input ? 101 = ta1 (internal) - use time r a1 output as dac sync input ? 11x = reserved 6.3.23 internal peripheral source select register 2 for quad timer a (sim_ips2) see section 6.3.21 for general information about internal peripheral source select registers. figure 6-27 internal peripheral source select register for tmra (sim_ips2) 6.3.23.1 reserved?bits 15?13 this bit field is reserved. each bit must be set to 0. 6.3.23.2 select peripheral inpu t source for ta3 (ips2_ta3)?bit 12 this field selects the altern ate input source signal to feed quad timer a, input 3. ? 0 = i/o pin (external) - use timer a3 input/output pin ? 1 = pwm sync (internal) - use pwm reload synchronization signal 6.3.23.3 reserved?bits 11?9 this bit field is reserved. each bit must be set to 0. 6.3.23.4 select peripheral inpu t source for ta2 (ips2_ta2)?bit 8 this field selects the altern ate input source signal to feed quad timer a, input 2. ? 0 = i/o pin (external) - use timer a2 input/output pin ? 1 = cmpbo (internal) - use comparator b output base + $1a 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 read 0 0 0 ips2_ ta3 0 0 0 ips2_ ta2 0 0 0 ips2_ ta1 0 0 0 0 write reset 000000000000 0000 56f8037/56F8027 data sheet, rev. 6 124 freescale semiconductor 6.3.23.5 reserved?bits 7?5 this bit field is reserved. each bit must be set to 0. 6.3.23.6 select peripheral inpu t source for ta1 (ips2_ta1)?bit 4 this field selects the altern ate input source signal to feed quad timer a, input 1. ? 0 = i/o pin (external) - use timer a1 input/output pin ? 1 = cmpao (internal) - use comparator a output 6.3.23.7 reserved?bits 3?0 this bit field is reserved. each bit must be set to 0. for timer a to detect the pwm sync signal, th e clock rate of both the pwm module and timer a module must be identical, at either the syst em clock rate or 3x system clock rate. 6.4 clock generation overview the sim uses the master clock (2x system clock) at a maximum of 64mhz from the occs module to produce a system clock at a maximum of 32mhz for the peripheral, core and memory. it divides the master clock by two and gates it with appropriate power mode and clock gating controls. a 3x system high-speed peripheral clock input from occs ope rates at three times the system clock at a maximum of 96mhz and can be an optional cl ock for pwm, timer a, timer b, and i 2 c modules. these clocks are generated by gating the 3x system high-speed pe ripheral clock with appropriate power mode and clock gating controls. the occs configuration controls the operating frequenc y of the sim?s master cl ocks. in the occs, either an external clock (clkin), a crysta l oscillator, or the rela xation oscillator can be selected as the master clock source (mstr_osc). an extern al clock can be operate d at any frequency up to 64mhz. the crystal oscillator can be operated only at a maximum of 8mhz. the relaxation oscillator can be operated at full speed (8mhz), standby speed (2 00khz using rosb), or powered down (using ropd). an 8mhz mstr_osc can be multiplied to 19 6mhz using the pll and postscaled to provide a variety of high-speed clock rates. either the postscaled pll output or mstr_osc signal can be selected to produce the master clocks to the sim. when the pll is selected, both the 3x system cl ock and the 2x system clock are enabled. if the pll is not selecte d, the 3x system clock is disabled and the master clock is mstr_osc. in combination with the occs modul e, the sim provides power modes (see section 6.5 ), clock enables, and clock rate controls to provide flexible control of clocking and power utilizat ion. the clock rate controls enable the high-speed clocking option for the two quad timers (tmra and tmrb) and pwm, but requires the pll to be on and selected. refer to the 56f802x and 56f803x peri pheral reference manual for further details. the peripheral clock enable controls can be used to disable an individual peripheral clock when it is not used. 6.5 power-saving modes the 56f8037/56F8027 operates in one of fi ve power-saving m odes, as shown in table 6-2 . power-saving modes 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 125 the power-saving modes provide additional power management opt ions by disabl ing the clock, reconfiguring the voltage regulat or clock generation to manage power utilization, as shown in table 6-2 . run, wait, and stop modes provide me thods of enabling/disabling the pe ripheral and/or core clocking as a group. stop disable contro ls for an individual periphe ral are provided in the sd n registers to override the default behavior of stop m ode. by asserting a peripher al?s stop disable bit, the peripheral clock continues to operate in stop mode. this is useful to generate interrupts which will recove r the device from stop mode to run mode. standby mode provides normal operation but at very low speed and pow er utilization. it is table 6-2 clock operati on in power-saving modes mode core clocks peripheral clocks description run core and memory clocks enabled peripheral clocks enabled device is fully functional wait core and memory clocks disabled peripheral clocks enabled core executes wait instruction to enter this mode. typically used for power-conscious applications. possible recoveries from wait mode to run mode are: 1. any interrupt 2. executing a debug mode entry command during the 56800e core jtag interface 3. any reset (por, external, software, cop) stop master clock generation in the occs remains operational, but the sim disables the generation of system and peripheral clocks. core executes stop instruction to enter this mode. possible recoveries from stop mode to run mode are: 1. interrupt from any peripheral configured in the ctrl register to operate in stop mode (ta0-3, qsci0, pit0-1, can, cmpa-b) 2. low-voltage interrupt 3. executing a debug mode entry command using the 56800e core jtag interface 4. any reset (por, external, software, cop) standby the occs generates the master clock at a reduced frequency (400khz). the pll is disabled and the high-speed peripheral option is not available. system and peripheral clocks operate at 200khz. the user configures the occs and sim to select the relaxation oscillator clock source (precs), shut down the pll (pllpd), put the relaxation oscillator in standby mode (rosb), and put the large regulator in standby (lrstdby). the device is fully operational, but operating at a minimum frequency and power configuration. recovery requires reversing the sequence used to enter this mode (a llowing for pll lock time). power-down master clock generation in the occs is completely shut down. all system and peripheral clocks are disabled. the user configures the occs and sim to enter standby mode as shown in the previous description, followed by powering down the oscillator (ropd). the only possible recoveries from this mode are: 1. external reset 2. power-on reset 56f8037/56F8027 data sheet, rev. 6 126 freescale semiconductor possible to invoke stop or wait mode while in standby mode for even greater le vels of power reduction. a 400khz external clock can optiona lly be used in standby mode to produce the required standby 200khz system clock rate. power-down mode, which selects the rosc clock source but shuts it off, fully disables the device and minimizes its power utilization but is only recoverable via reset. when the pll is not selected and the system bus is operating at 200khz or less, the large regulator can be put into its standby mode (lrstdby) to redu ce the power utilizati on of that regulator. all peripherals, except the cop/watc hdog timer, run at the system cloc k frequency or optional 3x system clock for pwm, timers, and i 2 c. the cop timer runs at osc_ clk / 1024. the maxi mum frequency of operation is 32mhz. 6.6 resets the sim supports five sources of reset, as shown in figure 6-28 . the two asynchronous sources are the external reset pin and the power-on reset (por). th e three synchronous sources are the software reset (sw reset), which is generated within the sim itself by writing the si m_ctrl register in section 6.3.1 , the cop time-out reset (cop_tor), and the co p loss-of-reference reset (cop_lor). the reset generation module has three reset dete ctors, which resolve into four pr imary resets. these are outlined in table 6-3 . the jtag circuitry is reset by the power-on reset. figure 6-28 provides a graphic illustration of the details in table 6-3 . note that the por_delay blocks use the osc_clk as their time base , since other system cl ocks are inactive during this phase of reset. table 6-3 primary system resets reset sources reset signal por external software cop comments extended_por x stretched version of por released 64 osc_clk cycles after por deasserts clkgen_rst xxxxreleased 32 osc_clk cycles after all reset sources, including extended_por , have released perip_rst xxxxreleases 32 sys_clk cycles after the clkgen_rst is released core_rst xxxxreleases 32 sys_clk cycles after perip_rst is released clocks 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 127 figure 6-28 sources of r eset functional diagram (t est modes not included) por resets are extended 64 osc_cl k clocks to stabilize the power supply and clock source. all resets are subsequently extended for an additional 32 osc_clk clocks and 64 system cloc ks as the various internal reset controls are release d. given the normal relaxa tion oscillator rate of 8mhz, the duration of a por reset from when power comes on to when code is running is 28 s. an external reset generation circuit may also be used. a description of how these resets are us ed to initialize the clocking system and system modules is included in section 6.7 . 6.7 clocks the memory, peripheral and core cl ocks all operate at the same fre quency (32mhz maximum) with the exception of the peripheral clocks for quad timers tmra and tmrb and the pwm, which have the option to operate at 3x system clock. the sim is responsible for clock distributions. while the sim generates the adc peripheral clock in th e same way it generates al l other peripheral clocks, the adc standby and conversion cloc ks are generated by a direct in terface between the adc and the occs module. extended_por jtag memory subsystem peripherals 56800e core_rst delay 32 sys clocks occs clkgen_rst perip_rst delay 32 sys clocks pulse shaper pulse shaper sw reset pulse shaper delay 32 osc_clk clock pulse shaper por power-on reset (active low) external reset in (active low) reset delay 64 osc_clk clock delay blocks asse rt immediately and deassert only after the programmed number of clock cycles. combined_rst cop_lor (active low) cop_tor (active low) 56f8037/56F8027 data sheet, rev. 6 128 freescale semiconductor the deassertion sequence of internal resets coordi nates the device start up, including the clocking system start up. the sequence is descri bed in the following steps: 1. as power is applied, the relaxa tion oscillator starts to operate. when a valid operating voltage is reached, the por reset will release. 2. the release of por reset permits operation of th e por reset extender. the por extender generates an extended por reset, which is released 64 os c_clk cycles after por reset. this provides an additional time period for the cloc k source and power to stabilize. 3. a combined reset consists of the or of the exte nded por reset, the external reset, the cop reset and software reset. the entire device, except for the por extender, is he ld reset as long as combined reset is asserted. the release of combin ed reset permits operation of the ctrl register, the synchronous reset generator, and the clkgen reset extender. 4. the synchronous reset generator generates a reset to the software and cop reset logic. the cop and software reset logic is released three osc_clk cycles after combined reset deasserts. this provides a reasonable minimum duration to the reset for these specialized functions. 5. the clkgen reset extender generates the clkgen reset used by the clock generation logic. the clkgen reset is released 32 osc_clk cycles af ter combined reset deasserts. this provides a window in which the sim stab ilizes the master clock inpu ts to the clock generator. 6. the release of clkgen reset permits operation of the clock generation logic and the peripheral reset extender. the peripheral reset extender genera tes the peripheral reset, which is released 32 sys_clk cycles after clkgen reset. this provides a window in which peripheral and core logic remain clocked, but in re set, so that synchronous resets can be resolved. 7. the release of peripheral reset permits operation of the peripheral logic and the core reset extender. the core reset extender generat es the core reset, which is released 32 sys_clk cycles after the peripheral reset. this provides a window in whic h critical peripheral start-up functions, such as flash security in the flash memory, can be implemented. 8. the release of core reset permits execution of c ode by the 56800e core and marks the end of the system start-up sequence. figure 6-29 illustrates clock relationships to one another and to the various resets as the device comes out of reset. rst is assumed to be the logical and of all active-low system rese ts (for example, por, external reset, cop and software reset). in the 56f8037/56F8027, this signal will be stretched by the sim for a period of time (up to 96 osc_clk cl ock cycles, depending upon the status of the por) to create the clock generation reset signal (clkgen_rst ). the sim should deassert clkgen_rst synchronously with the negative edge of osc_clk in orde r to avoid skew problems. clkgen_rst is delayed 32 sys_clk cycles to create the peri pheral reset signal (perip_rst ). perip_rst is then delayed by 32 sys_clk cycles to create core_rst . both perip_rst and core_rst should be released on the negative edge of sys_clk_d as shown. this phased releasing of sy stem resets is necessary to give some peripherals (for example, the flash interface unit) set-up time prior to the 56800e core becoming active. interrupts 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 129 figure 6-29 timing relationships of reset signal to clocks 6.8 interrupts the sim generates no interrupts. part 7 security features the 56f8037/56F8027 offers s ecurity features intended to prevent unauthorized users from reading the contents of the flash memory (fm) array. the 56f8037/56F8027?s flash security consists of several hardware interlocks that prevent unauthorized users from gaining access to the flash array. after flash security is set, an authorized user is still able to access on-chip memory if a user-defined software subroutine, which reads a nd transfers the contents of internal memory via serial communication peripherals, is included in the application software. 7.1 operation with security enabled after the user has programmed flash with the ap plication code, the 56f8037/56F8027 can be secured by programming the security word $0002 into program memory locati on $00 7ff7. this non-volatile word will keep the device secured through reset and th rough power-down of the devi ce. refer to the flash memory chapter in the 56f802x and 56f803x periphera l reference manual for the details. when flash security mode is enabled, the 56f8037/56F8027 will disable the core eonce debug capabilities. normal rst mstr_osc ckgen_rst 2x sys_clk sys_clk sys_clk_d sys_clk_div2 perip_rst core_rst switch on falling osc_clk 96 mstr_osc cycles switch on falling sys_clk 32 sys_clk cycles delay 32 sys_clk cycles delay maximum delay = 64 osc_clk cycles for por reset extension and 32 osc_clk cycles for combined reset extension switch on falling sys_clk 56f8037/56F8027 data sheet, rev. 6 130 freescale semiconductor program execution is otherwise unaffected. 7.2 flash access lock and unlock mechanisms there are several methods that effectively lock or unlock the on-chip flash. 7.2.1 disabling eonce access on-chip flash can be read by issuing commands acro ss the eonce port, which is the debug interface for the 56800e cpu. the tck, tms, td o, and tdi pins comprise a jtag interface onto which the eonce port functionality is mapped. when the device boots, the chip-level jtag tap (test access port) is active and provides the chip?s boundary scan capability and access to the id register, but proper implementation of flash security will block a ny attempt to access the internal fl ash memory via the eonce port when security is enabled. 7.2.2 flash lockout recovery using jtag if the device is secured, one lockout recovery mechan ism is the complete erasure of the internal flash contents, including the confi guration field, thus di sabling security (the protecti on register is cleared). this does not compromise security, as the entire contents of the user?s secu red code stored in flash are erased before security is disabled on the devi ce on the next reset or power-up sequence. to start the lockout recovery sequence via jtag, the jtag public instruction (lockout_recovery) must first be shifted into the chip-level tap c ontroller?s instruction register. once the lockout_recovery instruction has been sh ifted into the instruct ion register, the clock divider value must be shifted into the corresponding 7- bit data register. after th e data register has been updated, the user must transition the tap controller into the r un-test/idle state for the lockout sequence to commence. the controller must remain in this state until the erase sequence is complete. refer to the 56f802x and 56f803x peripheral reference manual for more details, or contact freescale. note: once the lockout recovery seque nce has completed, the user must reset both the jtag tap controller and device to return to normal unsecured operation. power-on reset will reset both too. 7.2.3 flash lockout recovery using codewarrior codewarrior can unlock a device by selecting the debug menu, then selecting dsp56800e , followed by unlock flash . another mechanism is al so built into codewarrior using the device?s memory configuration file. the command ? unlock_flash_on_connect 1 ? in the . cfg file accomplishes the same task as using the debug menu. this lockout recovery mechanism is the complete er asure of the internal flash contents, including the configuration field, thus disa bling security (the protect ion register is cleared). 7.2.4 flash lockout reco very without mass erase a user can un-secure a secured device by programming the word $0000 into program memory location $00 7ff7. after completing the programming, both the jtag tap controller and the device must be reset in order to return to normal unsecured ope ration. power-on reset will also reset both. product analysis 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 131 the user is responsible for direct ing the device to invoke the flas h programming subroutine to reprogram the word $0000 into program memory location $00 7ff7. this is done by, for example, toggling a specific pin or downloading a user-defined key through serial interfaces. note: flash contents can only be programmed for 1s to 0s. 7.3 product analysis the recommended method of unsecuring a secured device for product analysis of field failures is via the method described in section 7.2.4. th e customer would need to supply technical support with the details of the protocol to access the subroutines in flash memory. an alternative me thod for performing analysis on a secured device would be to mass-erase and re program the flash with the or iginal code, but modify the security word or not pr ogram the security word. part 8 general purpose input/output (gpio) 8.1 introduction this section is intended to supplement the gpio information found in the 56f802x and 56f803x peripheral reference manual and contains only chip-s pecific information. this information supersedes the generic information in the 56f802x and 56f803x peripheral reference manual . 8.2 configuration there are four gpio ports de fined on the 56f8037/56F8027. the width of each port, the associated peripheral and reset f unctions are shown in table 8-1 . the specific mapping of gp io port pins is shown in table 8-2 . additional details are shown in tables 2-2 and 2-3 . table 8-1 gpio ports configuration gpio port available pins in 56f8037/56f 8027 peripheral function reset function a15 pwm, timer, qspi, comp arator, reset gpio, reset b14 qspi, i 2 c, pwm, clock, mscan, comparator, timer gpio c16 adc, comparator, qsci gpio d8 clock, oscillator, dac, jtag gpio, jtag 56f8037/56F8027 data sheet, rev. 6 132 freescale semiconductor table 8-2 gpio external signals map gpio function peripheral function lqfp package pin notes gpioa0 pwm0 56 defaults to a0 gpioa1 pwm1 55 defaults to a1 gpioa2 pwm2 47 defaults to a2 gpioa3 pwm3 48 defaults to a3 gpioa4 pwm4 / ta2 / fault1 43 sim register sim_gps is used to select between pwm4, ta2, and fault1. defaults to a4 gpioa5 pwm5 / ta3 / fault2 39 sim register sim_gps is used to select between pwm5, ta3, and fault2. defaults to a5 gpioa6 fault0 / ta0 34 sim register sim_gps is used to select between fault0 and ta0. defaults to a6 gpioa7 reset 31 defaults to reset gpioa8 fault1 / ta2 / cmpai1 36 sim register sim_gps is used to select between fault1, ta2, and cmpai1. defaults to a8 gpioa9 fault2 / ta3 / cmpbi1 5 sim register sim_gps is used to select between fault2, ta3, and cmpbi1. defaults to a9 gpioa10 tb2 / cmpai2 35 sim regi ster sim_gps is used to select between tb2 and cmpai2. defaults to a10 gpioa11 tb3 / cmpbi2 6 sim register sim_gps is used to select between tb3 and cmpbi2. defaults to a11 gpioa12 sclk1 / tb1 / ta1 37 sim register sim_gps is used to select between sclk 1, tb1, and ta1. defaults to a12 gpioa13 miso1 / tb2 / ta2 44 sim register sim_gps is used to select between miso1, tb2, and ta2. defaults to a13 gpioa14 mosi1 / tb3 / ta3 45 sim register sim_gps is used to select between mosi1, tb3, and ta3. defaults to a14 configuration 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 133 gpiob0 sclk0 / scl 42 sim register sim_gps is used to select between sclk and scl. defaults to b0 gpiob1 ss 0 / sda 2 sim register sim_gps is used to select between ss 0 and sda. defaults to b1 gpiob2 miso0 / ta2 / psrc0 33 sim register sim_gps is used to select between miso0, ta2, and psrc0. defaults to b2 gpiob3 mosi0 / ta3 / psrc1 32 sim register sim_gps is used to select between mosi0, ta3 and psrc1. defaults to b3 gpiob4 ta0 / clko / ss1 / tb0 / psrc2 38 sim register sim_gps is used to select between ta0, clko, ss1 , tb0, and psrc2. defaults to b4 gpiob5 ta1 / fault3 / clkin 4 sim register sim_gps is used to select between ta1, fault3, and clkin. clkin functionality is enabled using the pll control register within the occs block. defaults to b5 gpiob6 rxd0 / sda / clkin 1 sim r egister sim_gps is used to select between rxd0, sda, and clkin. clkin functionality is enabled using the pll control register within the occs block. defaults to b6 gpiob7 txd0 / scl 3 sim regist er sim_gps is used to select between txd0 and scl. defaults to b7 gpiob8 scl / cantx 54 sim register sim_gps is used to select between scl and cantx. defaults to b8 gpiob9 sda / canrx 46 sim register sim_gps is used to select between sda and canrx. defaults to b9 gpiob10 tb0 / cmpao 30 sim register sim_gps is used to select between tb0 and cmpao. defaults to b10 table 8-2 gpio external signals map (continued) gpio function peripheral function lqfp package pin notes 56f8037/56F8027 data sheet, rev. 6 134 freescale semiconductor gpiob11 tb1 / cmpbo 60 sim register sim_gps is used to select between tb1 and cmpbo. defaults to b11 gpiob12 cantx 57 defaults to b12 gpiob13 canrx 58 defaults to b13 gpioc0 ana0 / cmpai3 24 sim register sim_gps is used to select between ana0 and cmpai3. defaults to c0 gpioc1 ana1 22 defaults to c1 gpioc2 ana2 / v refha 20 sim register sim_gps is used to select between ana2 and v refha . defaults to c2 gpioc3 ana3 / v refla 19 sim register sim_gps is used to select between ana3 and v refla . defaults to c3 gpioc4 anb0 / cmpbi3 10 sim register sim_gps is used to select between anb0 and cmpbi3. defaults to c4 gpioc5 anb1 11 defaults to c5 gpioc6 anb2 / v refhb 13 sim register sim_gps is used to select between anb2 and v refhb . defaults to c6 gpioc7 anb3 / v reflb 14 sim register sim_gps is used to select between anb3 and v reflb . defaults to c7 gpioc8 ana4 / txd1 26 sim regi ster sim_gps is used to select between ana4 and txd1. defaults to c8 gpioc9 ana5 21 defaults to c9 gpioc10 ana6 23 defaults to c10 gpioc11 ana7 25 defaults to c11 gpioc12 anb4 / rxd1 9 sim register sim_gps is used to select between anb4 and rxd1. defaults to c12 gpioc13 anb5 12 defaults to c13 gpioc14 anb6 62 defaults to c14 gpioc15 anb7 61 defaults to c15 gpiod0 tdi 59 defaults to tdi gpiod1 tdo 64 defaults to tdo table 8-2 gpio external signals map (continued) gpio function peripheral function lqfp package pin notes reset values 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 135 8.3 reset values tables 8-1 and 8-2 detail registers for the 56f8037/56F8027; figures 8-1 through 8-4 summarize register maps and reset values. gpiod2 tck 29 defaults to tck gpiod3 tms 63 defaults to tms gpiod4 extal 53 defaults to d4 gpiod5 xtal / clkin 52 sim regi ster sim_gpscd is used to select between xtal and clkin. defaults to d5 gpiod6 dac0 18 defaults to d6 gpiod7 dac1 15 defaults to d7 table 8-2 gpio external signals map (continued) gpio function peripheral function lqfp package pin notes 56f8037/56F8027 data sheet, rev. 6 136 freescale semiconductor figure 8-1 gpioa register map summary add. offset register acronym 151413121110987654321 0 $0 gpioa_pupen r 0 pu[15:0] w rs 0 111111111111111 $1 gpioa_data r . 0 d[15:0] w rs 0 000000000000000 $2 gpioa_ddir r . 0 . dd[15:0] w rs 0 000000000000000 $3 gpioa_peren r 0 pe[15:0] w rs 0 000000000000000 $4 gpioa_iassrt r 0 ia[15:0] w rs 0 000000000000000 $5 gpioa_ien r 0 ien[15:0] w rs 000000000000000 $6 gpioa_iepol r 0 iepol[15:0] w rs 0 000000000000000 $7 gpioa_ipend r 0 ipr[15:0] w rs 0 000000000000000 $8 gpioa_iedge r 0 ies[15:0] w rs 0 000000000000000 $9 gpioa_ppoutm r 0 oen[15:0] w rs 0 111111111111111 $a gpioa_rdata r 0 raw data[15:0] w rs 0 xxxxxxxxxxxxxxx $b gpioa_drive r 0 drive[15:0] w rs 0 000000000000000 r 0 read as 0 w reserved rs reset reset values 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 137 figure 8-2 gpiob register map summary add. offset register acronym 151413121110987654321 0 $0 gpiob_pupen r 0 0 pu[15:0] w rs 0 0 11111111111111 $1 gpiob_data r 0 0 d[15:0] w rs 0 0 00000000000000 $2 gpiob_ddir r 0 0 dd[15:0] w rs 0 0 00000000000000 $3 gpiob_peren r 0 0 pe[15:0] w rs 0 0 00000000000000 $4 gpiob_iassrt r 0 0 ia[15:0] w rs 0 0 00000000000000 $5 gpiob_ien r 0 0 ien[15:0] w rs 0 0 00000000000000 $6 gpiob_iepol r 0 0 iepol[15:0] w rs 0 0 00000000000000 $7 gpiob_ipend r 0 0 ipr[15:0] w rs 0 0 00000000000000 $8 gpiob_iedge r 0 0 ies[15:0] w rs 0 0 00000000000000 $9 gpiob_ppoutm r 0 0 oen[15:0] w rs 0 0 11111111111111 $a gpiob_rdata r 0 0 raw data[15:0] w rs 0 0 xxxxxxxxxxxxxx $b gpiob_drive r 0 0 drive[15:0] w rs 0 0 00000000000000 r 0 read as 0 w reserved rs reset 56f8037/56F8027 data sheet, rev. 6 138 freescale semiconductor figure 8-3 gpioc register map summary add. offset register acronym 151413121110987654321 0 $0 gpioc_pupen r pu[15:0] w rs1111111111111111 $1 gpioc_data r d[15:0] w rs0000000000000000 $2 gpioc_ddir r dd[15:0] w rs0000000000000000 $3 gpioc_peren r pe[15:0] w rs0000000000000000 $4 gpioc_iassrt r ia[15:0] w rs0000000000000000 $5 gpioc_ien r ien[15:0] w rs0000000000000000 $6 gpioc_iepol r iepol[15:0] w rs0000000000000000 $7 gpioc_ipend r ipr[15:0] w rs0000000000000000 $8 gpioc_iedge r ies[15:0] w rs0000000000000000 $9 gpioc_ppoutm r oen[15:0] w rs1111111111111111 $a gpioc_rdata r raw data[15:0] w rsxxxxxxxxxxxxxxxx $b gpioc_drive r drive[15:0] w rs0000000000000000 r 0 read as 0 w reserved rs reset reset values 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 139 figure 8-4 gpiod register map summary add. offset register acronym 151413121110987654321 0 $0 gpiod_pupen r pu[15:0] w rs 0 0 0 0 0 0 0 0 11111111 $1 gpiod_data r d[15:0] w rs 0 0 0 0 0 0 0 0 00000000 $2 gpiod_ddir r dd[15:0] w rs 0 0 0 0 0 0 0 0 00000000 $3 gpiod_peren r pe[15:0] w rs 0 0 0 0 0 0 0 0 00001111 $4 gpiod_iassrt r ia[15:0] w rs 0 0 0 0 0 0 0 0 00000000 $5 gpiod_ien r ien[15:0] w rs 0 0 0 0 0 0 0 0 00000000 $6 gpiod_iepol r iepol[15:0] w rs 0 0 0 0 0 0 0 0 00000000 $7 gpiod_ipend r ipr[15:0] w rs 0 0 0 0 0 0 0 0 00000000 $8 gpiod_iedge r ies[15:0] w rs 0 0 0 0 0 0 0 0 00000000 $9 gpiod_ppoutm r oen[15:0] w rs 0 0 0 0 0 0 0 0 11111111 $a gpiod_rdata r raw data[15:0] w rs 0 0 0 0 0 0 0 0 xxxxxxxx $b gpiod_drive r drive[15:0] w rs 0 0 0 0 0 0 0 0 00000000 r 0 read as 0 w reserved rs reset 56f8037/56F8027 data sheet, rev. 6 140 freescale semiconductor part 9 joint test action group (jtag) 9.1 56f8037/56F8027 information please contact your freescale sales representative or authorized distributor fo r device/package-specific bsdl information. the trst pin is not available in this package. the pin is tied to v dd in the package. the jtag state machine is reset during por and can also be reset via a soft reset by holding tms high for five rising edges of tck, as described in the 56f802x and 56f 803x peripheral reference manual . part 10 specifications 10.1 general characteristics the 56f8037/56F8027 is fabricated in high-density cmos with 5v-tolerant ttl-compatible digital inputs. the term ?5v-tolerant? refers to the capabili ty of an i/o pin, built on a 3.3v-compatible process technology, to withstand a voltage up to 5.5v without damaging the devi ce. many systems have a mixture of devices designed for 3.3v and 5v power supplies. in such systems, a bus may carry both 3.3v- and 5v-compatible i/o voltage levels (a standard 3.3v i/o is designed to receive a maximum voltage of 3.3v 10% during normal operation without causing damage). this 5v-tolerant capability therefore offers the power savings of 3.3v i/o levels, combined with th e ability to receive 5v levels without damage. absolute maximum ratings in table 10-1 are stress ratings only, and f unctional operation at the maximum is not guaranteed. stress beyond these ratings may affect device reliabi lity or cause permanent damage to the device. unless otherwise stated, all specificati ons within this chapter apply over the temperature range of -40oc to 125oc ambient temperature over the following supply ranges: v ss =v ssa =0v,v dd =v dda = 3.0?3.6v, cl < 50pf, f op = 32mhz caution this device contains protective circuitry to guard against damage due to high static voltage or electrical fields. however, normal precautions are advised to avoid application of any voltages higher than maximum-rated voltages to this high-impedance circuit. reliability of operation is enhanced if unused inputs are tied to an appropriate logic voltage level (either v dd or v ss ). general characteristics 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 141 default mode pin group 1: gpio, tdi, tdo, tms, tck pin group 2: reset , gpioa7 pin group 3: adc and comparator analog inputs pin group 4: xtal, extal pin group 5: dac analog outputs table 10-1 absolute maximum ratings (v ss = 0v, v ssa = 0v) characteristic symbol notes min max unit supply voltage range v dd -0.3 4.0 v analog supply voltage range v dda - 0.3 4.0 v adc high voltage reference v refhx - 0.3 4.0 v voltage difference v dd to v dda v dd - 0.3 0.3 v voltage difference v ss to v ssa v ss - 0.3 0.3 v digital input voltage range v in pin groups 1, 2 - 0.3 6.0 v oscillator voltage range v osc pin group 4 - 0.4 4.0 v analog input voltage range v ina pin group 3 - 0.3 4.0 v input clamp current, per pin (v in < 0) 1 1. continuous clamp current per pin is -2.0 ma v ic ? -20.0 ma output clamp current, per pin (v o < 0) 1 v oc ? -20.0 ma output voltage range (normal push-pull mode) v out pin group 1 - 0.3 4.0 v output voltage range (open drain mode) v outod pin group 2 - 0.3 6.0 v output voltage range (dac) v outdac pin group 5 - 0.3 4.0 v ambient temperature industrial t a - 40 105 c storage temperature range (extended industrial) t stg - 55 150 c 56f8037/56F8027 data sheet, rev. 6 142 freescale semiconductor 10.1.1 electrostatic discharge (esd) model 1. theta-ja determined on 2s2p test boards is frequently lowe r than would be observed in an application. determined on 2s2p thermal test board. 2. junction to ambient thermal resistance, theta-ja (r ja ), was simulated to be equivalent to the jedec specification jesd51-2 in a horizontal configuration in natural c onvection. theta-ja was also simulated on a thermal test board with two internal plan es (2s2p, where ?s? is the number of signal layers and ?p? is the number of planes) per jesd51-6 and jesd51-7. the correct name for theta-ja for forced convection or with the non-single layer boards is theta-jma. 3. junction to case thermal resistance, theta-jc (r jc ), was simulated to be equivalent to the measured values using the cold plate technique with the cold plate temperature used as the ?case? temperature. the basic cold plate measurement technique is de- scribed by mil-std 883d, method 1012.1. this is the correct ther mal metric to use to calculate thermal performance when the package is being used with a heat sink. 4. junction to board thermal resistance, theta-jb (r jb ), is a metric of the thermal resistance from the junction to the printed circuit board determined per jesd51-8. board te mperature is measured on the top surface of the board near the package. 5. thermal characterization parameter, psi-jt (y jt ), is the ?resistance? from junction to reference point thermocouple on top center of case as defined in jesd51-2. y jt is a useful value to use to estimate junction temperature in steady state customer environments. 6. junction temperature is a function of die size, on-chip power dissipation, package thermal resistance, mounting site (board) table 10-2 56f8037/56f 8027 esd protection characteristic min typ max unit esd for human body model (hbm) 2000 ? ? v esd for machine model (mm) 200 ? ? v esd for charge device model (cdm) 750 ? ? v table 10-3 lqfp package thermal characteristics 6 characteristic comments symbol value (lqfp) unit notes junction to ambient natural convection single layer board (1s) r ja 41 c/w 2 junction to ambient natural convection four layer board (2s2p) r jma 34 c/w 1, 2 junction to ambient (@200 ft/min) single layer board (1s) r jma 34 c/w 2 junction to ambient (@200 ft/min) four layer board (2s2p) r jma 29 c/w 1, 2 junction to board r jb 24 c/w 4 junction to case r jc 8c/w3 junction to package top natural convection jt 2c/w5 general characteristics 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 143 temperature, ambient temperature, air flow, power dissipation of other components on the board, and board thermal resistance. 7. see section 12.1 for more details on thermal design considerations. note: pin groups are detailed following table 10-1 table 10-4 recommended operating conditions (v refl x = 0v, v ssa = 0v, v ss = 0v) characteristic symbol notes min typ max unit supply voltage v dd, v dda 33.33.6 v adc reference voltage high v refhx 3.0 v dda v voltage difference v dd to v dda v dd -0.1 0 0.1 v voltage difference v ss to v ssa v ss -0.1 0 0.1 v device clock frequency using relaxation oscillator using external clock source fsysclk 1 0 32 32 mhz input voltage high (digital inputs) v ih pin groups 1, 2 2.0 5.5 v input voltage low (digital inputs) v il pin groups 1, 2 -0.3 0.8 v oscillator input voltage high xtal driven by an external clock source v ihosc pin group 4 2.0 v dda + 0.3 v oscillator input voltage low v ilosc pin group 4 -0.3 0.8 v dac output load resistance rld 3k ? ohms dac output load capacitance cld ? 400 pf output source current high at v oh min.) 1 when programmed for low drive strength when programmed for high drive strength 1. total chip source or sink current cannot exceed 75ma i oh pin group 1 pin group 1 ? ? -4 -8 ma output source current low (at v ol max.) 1 when programmed for low drive strength when programmed for high drive strength i ol pin groups 1, 2 pin groups 1, 2 ? ? 4 8 ma ambient operating temperature (extended industrial) t a -40 105 c flash endurance (program erase cycles) n f t a = -40c to 125c 10,000 ? cycles flash data retention t r t j <= 85c avg 15 ? years flash data retention with <100 program/erase cycles t flret t j <= 85c avg 20 ? ? years 56f8037/56F8027 data sheet, rev. 6 144 freescale semiconductor 10.2 dc electrical characteristics note: pin groups are detailed following table 10-1 table 10-5 dc electr ical characteristics at recommended operating conditions characteristic symbol notes min typ max unit test conditions output voltage high v oh pin group 1 2.4 ? ? v i oh = i ohmax output voltage low v ol pin groups 1, 2 ? ? 0.4 v i ol = i olmax digital input current high (a) pull-up enabled or disabled i ih pin groups 1, 2 ? 0 +/- 2.5 av in = 2.4v to 5.5v comparator input current high i ihc pin group 3 ? 0 +/- 2 av in = v dda oscillator input current high i ihosc pin group 3 ? 0 +/- 2 av in = v dda digital input current low 1 pull-up enabled pull-up disabled 1. see figure 10-1 i il pin groups 1, 2 -15 ? -30 0 -60 +/- 2.5 av in = 0v comparator input current low i ilc pin group 3 ? 0 +/- 2 av in = 0v oscillator input current low i ilosc pin group 3 ? 0 +/- 2 av in = 0v dac output voltage range v dac pin group 5 typically v ssa + 40mv ? typically v dda - 40mv v? output current 1 high impedance state i oz pin groups 1, 2 ? 0 +/- 2.5 a? schmitt trigger input hysteresis v hys pin groups 1, 2 ? 0.35 ? v ? input capacitance c in ?10?pf ? output capacitance c out ?10?pf ? dc electrical characteristics 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 145 figure 10-1 i in /i oz vs. v in (typical; pull-up disabled) table 10-6 current consumpt ion per power supply pin mode conditions typical @ 3.3v, 25c maximum@ 3.6v, 25c i dd 1 i dda i dd 1 i dda run 32mhz device clock relaxation oscillator on pll powered on continuous mac instructi ons with fetches from program flash all peripheral modules enabled. tmr and pwm using 1x clock adc/dac powered on and clocked comparator powered on 48ma 18.8ma ? ? wait 32mhz device clock relaxation oscillator on pll powered on processor core in wait state all peripheral modules enabled. tmr and pwm using 1x clock adc/dac/comparator powered off 29ma 0 a? ? stop 4mhz device clock relaxation oscillator on pll powered off processor core in stop state all peripheral module an d core clocks are off adc/dac/comparator powered off 5.4ma 0 a? ? 2.0 0.0 - 2.0 - 4.0 - 6.0 - 8.0 - 10.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 6.0 3.54.04.55.05.5 a volt 56f8037/56F8027 data sheet, rev. 6 146 freescale semiconductor 10.2.1 voltage regulator specifications the 56f8037/56F8027 has two on-chip re gulators. one supplies the pll a nd relaxation oscillator. it has no external pins and therefore has no external characteristics which must be guaranteed (other than proper operation of the device). the second regulator s upplies approximately 2.5v to the 56f8037/56F8027?s core logic. this regulator requires an external 4.4 f, or greater, capacitor for proper operation. ceramic and tantalum capacitors tend to provide better performance tole rances. the output voltage can be standby > stop 100khz device clock relaxation oscillator in standby mode pll powered off processor core in stop state all peripheral module an d core clocks are off adc/dac/comparator powered off voltage regulator in standby mode 540 a0 a 650 a1 a powerdown device clock is off relaxation oscillator powered off pll powered off processor core in stop state all peripheral module an d core clocks are off adc /dac/comparator powered off voltage regulator in standby mode 440 a0 a 550 a1 a 1. no output switching all ports configured as inputs all inputs low no dc loads table 10-7 power-on reset low-voltage parameters characteristic symbol min typ max unit low-voltage interrupt for 3.3v supply 1 1. when v dd drops below v ei3.3 , an interrupt is generated. v ei3.3 2.58 2.7 ? v low-voltage interrupt for 2.5v supply 2 2. when v dd drops below v ei32.5 , an interrupt is generated. v e12.5 ?2.15? v low-voltage interrupt recovery hysteresis v eih ?50?mv power-on reset 3 3. power-on reset occurs whenever the internally regulated 2.5v digital supply drops below 1.8v. while power is ramping up, this signal remains active for as long as the internal 2.5v is below 2.15v or the 3.3v 1/o voltage is below 2.7v, no matter how long the ramp-up rate is. the internally regulated voltage is typically 100mv less than v dd during ramp-up until 2.5v is reached, at which time it self-regulates. por ? 1.8 1.9 v table 10-6 current consumption per power supply pin (continued) mode conditions typical @ 3.3v, 25c maximum@ 3.6v, 25c i dd 1 i dda i dd 1 i dda ac electrical characteristics 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 147 measured directly on the v cap pin. the specifications for this regulator are shown in table 10-8 . 10.3 ac electrical characteristics tests are conducted using the input levels specified in table 10-5 . unless otherwise specified, propagation delays are measured fr om the 50% to the 50% point, and rise and fall times are measured between the 10% and 90% points, as shown in figure 10-2 . figure 10-2 input signal measurement references figure 10-3 shows the definitions of the following signal states: ? active state, when a bus or signal is driven, and enters a low impedance state ? tri-stated, when a bus or signal is placed in a high impedance state ? data valid state, when a signal level has reached v ol or v oh ? data invalid state, when a signal level is in transition between v ol and v oh figure 10-3 signal states table 10-8. regulator parameters characteristic symbol min typical max unit short circuit current i ss ? 450 650 ma short circuit tolerance (v cap shorted to ground) t rsc ? ? 30 minutes v ih v il fall time input signal note: the midpoint is v il + (v ih ? v il )/2. midpoint1 low high 90% 50% 10% rise time data invalid state data1 data2 valid data tri-stated data3 valid data2 data3 data1 valid data active data active 56f8037/56F8027 data sheet, rev. 6 148 freescale semiconductor 10.4 flash memory characteristics 10.5 external clock operation timing figure 10-4 external clock timing table 10-9 flash timing parameters characteristic symbol min typ max unit program time 1 1. there is additional overhead which is part of the programming sequence. see the 56f802x and 56f803x peripheral reference manual for details. t prog 20 ? 40 s erase time 2 2. specifies page erase time. there are 512 by tes per page in the program flash memory. t erase 20 ? ? ms mass erase time t me 100 ? ? ms table 10-10 external clock op eration timing requirements 1 1. parameters listed are guaranteed by design. characteristic symbol min typ max unit frequency of operation (external clock driver) 2 2. see figure 10-4 for details on using the recommended connection of an external clock driver. f osc 488mhz clock pulse width 3 3. the chip may not function if the high or low pulse width is smaller than 6.25ns. t pw 6.25 ? ? ns external clock input rise time 4 4. external clock input rise time is measured from 10% to 90%. t rise ?? 3ns external clock input fall time 5 5. external clock input fall time is measured from 90% to 10%. t fall ?? 3ns external clock v ih v il note: the midpoint is v il + (v ih ? v il )/2. 90% 50% 10% 90% 50% 10% t pw t pw t fall t rise phase locked loop timing 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 149 10.6 phase locked loop timing 10.7 relaxation oscillator timing table 10-11 pll timing characteristic symbol min typ max unit external reference cryst al frequency for the pll 1 1. an externally supplied reference clock should be as free as possible from any phase jitter for the pll to work correctly. the pll is optimized for 8mhz input. f osc 48?mhz internal reference relaxation oscillator frequency for the pll f rosc ?8?mhz pll output frequency 2 (24 x reference frequency) 2. the core system clock will operate at 1/6 of the pll output frequency. f op 96 192 ? mhz pll lock time 3 3. this is the time required after the pll is enabled to ensure reliable operation. t plls ? 40 100 s accumulated jitter using an 8mhz external crystal as the pll source 4 4. this is measured on the clko signal (programmed as system clock) over 264 system clocks at 32mhz system clock frequency and using an 8mhz oscillator frequency. j a ? ? 0.37 % cycle-to-cycle jitter t jitterpll ?350? ps table 10-12 relaxation oscillator timing characteristic symbol minimum typical maximum unit relaxation oscillator output frequency 1 normal mode standby mode 1. output frequency after factory trim. f op ? 8.05 200 ? mhz khz relaxation oscillator stabilization time 2 2. this is the time required from standby to normal mode transition. t roscs ?1 3ms cycle-to-cycle jitter. this is measured on the clko signal (programmed prescaler_clock) over 264 clocks 3 3. j a is required to meet qsci requirements. t jitterrosc ?400? ps minimum tuning step size ? .08 ? % maximum tuning step size ? 40 ? % variation over temperature -40 c to 150oc 4 4. see figure 10-5 ? +1.0 to -1.5 +3.0 to -3.0 % variation over temperature 0 c to 105oc 4 ? 0 to +1 +2.0 to -2.0 % 56f8037/56F8027 data sheet, rev. 6 150 freescale semiconductor figure 10-5 relaxation oscill ator temperature variat ion (typical ) after trim 8.16 8.08 8 7.92 7.84 175 -25 -50 0 50 75 100 125 150 25 degrees c (junction) mhz reset, stop, wait, mode select, and interrupt timing 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 151 10.8 reset, stop, wait, mode select, and interrupt timing note: all address and data buses described here are internal. figure 10-6 gpio interrupt timi ng (negative edge-sensitive) table 10-13 reset, stop, wait, mode select, and interrupt timing 1,2 1. in the formulas, t = system clock cycle and t osc = oscillator clock cycle. for an operating frequency of 32mhz, t = 31.25ns. at 8mhz (used during reset and stop modes), t = 125ns. 2. parameters listed are guaranteed by design. characteristic symbol typical min typical max unit see figure minimum reset assertion duration t ra 4t ? ns ? minimum gpio pin assertion for interrupt t iw 2t ? ns 10-6 reset deassertion to first address fetch 3 3. during power-on reset, it is possible to use the 56f8037/56F8027 internal reset stretching circuitry to extend this period to 2^21t. t rda 96t osc + 64t 97t osc + 65t ns ? delay from interrupt assertion to fetch of first instruction (exiting stop) t if ?6tns? gpio pin (input) t iw 56f8037/56F8027 data sheet, rev. 6 152 freescale semiconductor 10.9 serial peripheral interface (spi) timing table 10-14 spi timing 1 1. parameters listed are guaranteed by design. characteristic symbol min max unit see figure cycle time master slave t c 125 62.5 ? ? ns ns 10-7 , 10-8 , 10-9 , 10-10 enable lead time master slave t eld ? 31 ? ? ns ns 10-10 enable lag time master slave t elg ? 125 ? ? ns ns 10-10 clock (sck) high time master slave t ch 50 31 ? ? ns ns 10-7 , 10-8 , 10-9 , 10-10 clock (sck) low time master slave t cl 50 31 ? ? ns ns 10-10 data set-up time required for inputs master slave t ds 20 0 ? ? ns ns 10-7 , 10-8 , 10-9 , 10-10 data hold time required for inputs master slave t dh 0 2 ? ? ns ns 10-7 , 10-8 , 10-9 , 10-10 access time (time to data active from high-impedance state) slave t a 4.8 15 ns 10-10 disable time (hold time to high-impedance state) slave t d 3.7 15.2 ns 10-10 data valid for outputs master slave (after enable edge) t dv ? ? 4.5 20.4 ns ns 10-7 , 10-8 , 10-9 , 10-10 data invalid master slave t di 0 0 ? ? ns ns 10-7 , 10-8 , 10-9 , 10-10 rise time master slave t r ? ? 11.5 10.0 ns ns 10-7 , 10-8 , 10-9 , 10-10 fall time master slave t f ? ? 9.7 9.0 ns ns 10-7 , 10-8 , 10-9 , 10-10 serial peripheral interface (spi) timing 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 153 figure 10-7 spi master timing (cpha = 0) sclk (cpol = 0) (output) sclk (cpol = 1) (output) miso (input) mosi (output) msb in bits 14?1 lsb in t f t c t cl t cl t r t r t f t ds t dh t ch t di t dv t di (ref) t r master msb out bits 14?1 master lsb out ss (input) t ch ss is held high on master t f 56f8037/56F8027 data sheet, rev. 6 154 freescale semiconductor figure 10-8 spi master timing (cpha = 1) sclk (cpol = 0) (output) sclk (cpol = 1) (output) miso (input) mosi (output) msb in bits 14?1 lsb in t r t c t cl t cl t f t ch t dv (ref) t dv t di (ref) t r t f master msb out bits 14? 1 master lsb out ss (input) t ch ss is held high on master t ds t dh t di t r t f serial peripheral interface (spi) timing 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 155 figure 10-9 spi slave timing (cpha = 0) sclk (cpol = 0) (input) sclk (cpol = 1) (input) miso (output) mosi (input) slave msb out bits 14?1 t c t cl t cl t f t ch t di msb in bits 14?1 lsb in ss (input) t ch t dh t r t elg t eld t f slave lsb out t d t a t ds t dv t di t r 56f8037/56F8027 data sheet, rev. 6 156 freescale semiconductor figure 10-10 spi slave timing (cpha = 1) 10.10 quad timer timing table 10-15 timer timing 1, 2 1. in the formulas listed, t = the clock cycle. for 32mhz operation, t = 31.25ns. 2. parameters listed are guaranteed by design. characteristic symbol min max unit see figure timer input period p in 2t + 6 ? ns 10-11 timer input high / low period p inhl 1t + 3 ? ns 10-11 timer output period p out 125 ? ns 10-11 timer output high / low period p outhl 50 ? ns 10-11 sclk (cpol = 0) (input) sclk (cpol = 1) (input) miso (output) mosi (input) slave msb out bits 14?1 t c t cl t cl t ch t di msb in bits 14?1 lsb in ss (input) t ch t dh t f t r slave lsb out t d t a t eld t dv t f t r t elg t dv t ds quad timer timing 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 157 figure 10-11 timer timing p out p outhl p outhl p in p inhl p inhl timer inputs timer outputs 56f8037/56F8027 data sheet, rev. 6 158 freescale semiconductor 10.11 queued serial communication interface (qsci) timing figure 10-12 rxd pulse width figure 10-13 txd pulse width table 10-16 qsci timing 1 1. parameters listed are guaranteed by design. characteristic symbol min max unit see figure baud rate 2 2. f max is the frequency of operation of the system clock in mhz, which is 32mhz for the 56f8037/56F8027 device. br ? (f max /16) mbps ? rxd 3 pulse width 3. the rxd pin in qsci0 is named rxd0 a nd the rxd pin in qsci1 is named rxd1. rxd pw 0.965/br 1.04/br ns 10-12 txd 4 pulse width 4. the txd pin in qsci0 is named txd0 and the txd pin in qsci1 is named txd1. txd pw 0.965/br 1.04/br ns 10-13 lin slave mode deviation of slave node clock from nominal clock rate before synchronization f tol_unsynch -14 14 % ? deviation of slave node clock relative to the master node clock after synchronization f tol_synch -2 2 % ? minimum break character length t break 13 ? master node bit periods ? 11 ? slave node bit periods ? rxd pw rxd qsci receive data pin (input) txd pw txd qsci receive data pin (input) freescale?s scalable controller area network (mscan) timing 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 159 10.12 freescale?s scalable c ontroller area network (mscan) timing figure 10-14 bus wake-up detection 10.13 inter-integrated circuit interface (i 2 c) timing table 10-17 mscan timing 1 1. parameters listed are guaranteed by design characteristic symbol min max unit baud rate br can ? 1 mbps bus wake-up detection t wakeup t ipbus ?s table 10-18 i 2 c timing characteristic symbol standard mode fast mode unit minimum maximum minimum maximum scl clock frequency f scl 01000400khz hold time (repeated) start condit ion. after this period, the first clock pulse is generated. t hd; sta 4.0 ? 0.6 ? s low period of the scl clock t low 4.7 ? 1.3 ? s high period of the scl clock t high 4.0 ? 0.6 ? s set-up time for a repeated start condition t su; sta 4.7 ? 0.6 ? s data hold time for i 2 c bus devices t hd; dat 0 1 3.45 2 0 1 0.9 2 s data set-up time t su; dat 250 3 ? 100 3, 4 ?ns rise time of both sda and scl signals t r ? 1000 20 +0.1c b 5 300 ns fall time of both sda and scl signals t f ?300 20 +0.1c b 5 300 ns t wakeup mscan_rx can receive data pin (input) 56f8037/56F8027 data sheet, rev. 6 160 freescale semiconductor figure 10-15 timing definiti on for fast and standard mode devices on the i 2 c bus set-up time for stop condition t su; sto 4.0 ? 0.6 ? s bus free time between stop and start condition t buf 4.7 ? 1.3 ? s pulse width of spikes that must be suppressed by the input filter t sp n/a n/a 0 50 ns 1. the master mode i 2 c deasserts ack of an address byte simultaneously with the falling edge of scl. if no slaves acknowledge this address byte, a negative hold time can result, depending on the edge rates of the sda and scl lines. 2. the maximum t hd; dat must be met only if the device does not stretch the low period (t low ) of the scl signal. 3. set-up time in slave-transmitter mode is 1 ipbus clock period, if the tx fifo is empty. 4. a fast mode i 2 c bus device can be used in a standard mode i 2 c bus system, but the requirement t su; dat >= 250ns must then be met. this will automatically be the case if the device does not stretch the low period of the scl signal. if such a device does stretch the low period of the scl signal, it must output the next data bit to the sda line t rmax + t su; dat = 1000 + 250 = 1250ns (according to the standard mode i 2 c bus specification) before the scl line is released. 5. c b = total capacitance of the one bus line in pf table 10-18 i 2 c timing (continued) characteristic symbol standard mode fast mode unit minimum maximum minimum maximum sda scl t hd; sta t hd; dat t low t su; dat t high t su; sta sr p s s t hd; sta t sp t su; sto t buf t f t r t f t r jtag timing 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 161 10.14 jtag timing figure 10-16 test clo ck input timing diagram figure 10-17 test access port timing diagram table 10-19 jtag timing characteristic symbol min max unit see figure tck frequency of operation 1 1. tck frequency of operation must be less than 1/8 the processor rate. f op dc sys_clk/8 mhz 10-16 tck clock pulse width t pw 50 ? ns 10-16 tms, tdi data set-up time t ds 5?ns 10-17 tms, tdi data hold time t dh 5?ns 10-17 tck low to tdo data valid t dv ?30ns 10-17 tck low to tdo tri-state t ts ?30ns 10-17 tck (input) v m v il v m = v il + (v ih ? v il )/2 t pw 1/f op t pw v m v ih input data valid output data valid t ds t dh t dv t ts tck (input) tdi (input) tdo (output) tdo (output ) tms 56f8037/56F8027 data sheet, rev. 6 162 freescale semiconductor 10.15 analog-to-digital converter (adc) parameters table 10-20 adc parameters 1 1. all measurements were made at v dd = 3.3v, v refh = 3.3v, and v refl = ground parameter symbol min typ max unit dc specifications resolution r es 12 ? 12 bits adc internal clock f adic 0.1 ? 5.33 mhz conversion range r ad v refl ?v refh v adc power-up time 2 2. includes power-up of adc and v ref t adpu ?6 13 t aic cycles 3 3. adc clock cycles recovery from auto standby t rec ?0 1 t aic cycles 3 conversion time t adc ?6 ? t aic cycles 3 sample time t ads ?1 ? t aic cycles 3 accuracy integral non-linearity 4 (full input signal range) 4. inl measured from v in = v refl to v in = v refh inl ? +/- 3 +/- 5 lsb 5 5. lsb = least significant bit = 0.806mv differential non-linearity dnl ? +/- .6 +/- 1 lsb 5 monotonicity guaranteed offset voltage internal ref v offset ? +/- 4 +/- 9 mv offset voltage external ref v offset ? +/- 6 +/- 12 mv gain error (transfer gain) e gain ? .998 to 1.002 1.01 to .99 ? adc inputs 6 (pin group 3) 6. pin groups are detailed following table 10-1 . input voltage (external reference) v adin v refl ?v refh v input voltage (internal reference) v adin v ssa ?v dda v input leakage i ia ?0 +/- 2 a v refh current i vrefh ?0 ? a input injection current 7 , per pin 7. the current that can be injected or sourced from an unselec ted adc signal input without impacting the performance of the adc. i adi ?? 3ma input capacitance c adi ? see figure 10-18 ?pf input impedance x in ? see figure 10-18 ?ohms ac specifications signal-to-noise ratio snr 60 65 db total harmonic distortion thd 60 64 db spurious free dynamic range sfdr 61 66 db signal-to-noise plus distortion sinad 58 62 db effective number of bits enob ? 10.0 bits equivalent circuit for adc inputs 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 163 10.16 equivalent circuit for adc inputs figure 10-18 illustrates the adc input circ uit during sample and hold. s1 and s2 are always open/closed at the same time that s3 is closed/open. when s1/s 2 are closed and s3 is ope n, one input of the sample and hold circuit moves to (v refhx - v reflx ) / 2, while the other charges to the analog input voltage. when the switches are flipped, the charge on c1 and c2 are averaged via s3, with the result that a single-ended analog input is switched to a differential vol tage centered about (v refhx - v reflx ) / 2. the switches switch on every cycle of the adc clock (open one-hal f adc clock, closed one-half adc clock). note that there are additional capacitances asso ciated with the analog input pad, r outing, etc., but th ese do not filter into the s/h output voltage, as s1 provides isolation during the charge-sharing phase. one aspect of this circuit is that there is an on-going input current, which is a function of the analog input voltage, v ref , and the adc clock frequency. 1. parasitic capacitance due to package, pin- to-pin and pin-to-package base coupling; 1.8pf 2. parasitic capacitance due to the chip bond pad, esd protection devices and signal routing; 2.04pf 3. equivalent resistance for the channel select mux; 100 ohms 4. sampling capacitor at the sample and hold circuit. capaci tor c1 is normally disconnected from the input and is only connected to it at sampling time; 1.4pf figure 10-18 equivalent ci rcuit for a/d loading 10.17 comparator (cmp) parameters table 10-21 cmp parameters parameter conditions/comments symbol min typ max unit input offset voltage 1 1. no guaranteed specification within 0.1v of v dda or v ssa within range of v dda - .1v to v ssa + .1v v offset ?1035mv input propagation delay t pd ?3545ns power-up time t cpu ?tbdtbd 1 2 3 analog input 4 s1 s2 s3 c1 c2 s/h c1 = c2 = 1pf (v refhx - v reflx ) / 2 125 esd resistor 8pf noise damping capacitor 56f8037/56F8027 data sheet, rev. 6 164 freescale semiconductor 10.18 digital-to-analog converter (dac) parameters table 10-22 dac parameters parameter conditions/comm ents symbol min typ max unit dc specifications resolution 12 12 bits conversion time tbd ? 2 s conversion rate tbd ? 500.000 conv/sec power-up time time from release of pwrdwn signal until dacout signal is valid t dapu ? ? 11 s accuracy integral non-linearity 1 1. no guaranteed specification within 5% of v dda or v ssa range of input digital words: 410 to 3891 ($19a - $f33) 5% to 95% of full range inl ? +/- 3 +/- 8.0 lsb 2 2. lsb = 0.806mv differential non-linearity 1 range of input digital words: 410 to 3891 ($19a - $f33) 5% to 95% of full range dnl ? +/- .8 < - 1 lsb 2 monotonicity > 6 si gma monotonicity, < 3.4 ppm non-monotonicity guaranteed ? offset error 1 range of input digital words: 410 to 3891 ($19a - $f33) 5% to 95% of full range v offset ? +/- 25 +/- 40 mv gain error 1 range of input digital words: 410 to 3891 ($19a - $f33) 5% to 95% of full range e gain ? +/- .5 +/- 1.5 % dac output output voltage range within 40mv of either v reflx or v refhx v out v reflx +.04v ?v refhx - .04v v short circuit current dacout shorted to ground with input digital word = $fff dacout shorted to v dda with input digital word = $000 i sc i sc ? ? 70 50 100 75 ma ac specifications signal-to-noise ratio snr ? tbd ? db spurious free dynamic range sfdr ? tbd ? db effective number of bits enob 9 ? ? bits power consumption 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 165 10.19 power consumption see section 10.1 for a list of idd requirements for the 56f8037/56F8027. this secti on provides additional detail which can be used to optimize pow er consumption for a given application. power consumption is given by the following equation: a, the internal [static component], is comprised of the dc bias currents for the oscillator, leakage currents, pll, and voltage referen ces. these sources operate independent ly of processor state or operating frequency. b, the internal [state-dependent component], re flects the supply current required by certain on-chip resources only when those resources are in use. these include ram, flash memory and the adcs. c, the internal [dynamic component], is classic c*v 2 *f cmos power dissipation corresponding to the 56800e core and standard cell logic. d, the external [dynamic component], reflects power dissipated on-chip as a result of capacitive loading on the external pins of the chip. this is also commonly described as c*v 2 *f, although simulations on two of the i/o cell types used on the 56800e reveal that the power-versus-load curv e does have a non-zero y-intercept. power due to capacitive loading on output pins is (first order) a f unction of the capacitive load and frequency at which the outputs change. table 10-23 provides coefficients for calculating power dissipated in the i/o cells as a function of capacitive load. in these cases: totalpower = ((intercept + slope*cload)*frequency/10mhz) where: ? summation is performed over all ou tput pins with capacitive loads ? totalpower is expressed in mw ? cload is expressed in pf total power = a: interna l [static component] +b: internal [state-d ependent component] +c: internal [dynamic component] +d: external [dynamic component] +e: external [static component] table 10-23 i/o loading coefficients at 10mhz intercept slope 8ma drive 1.3 0.11mw / pf 4ma drive 1.15mw 0.11mw / pf 56f8037/56F8027 data sheet, rev. 6 166 freescale semiconductor because of the low duty cycle on most device pins , power dissipation due to capacitive loads was found to be fairly low when averaged over a period of time. e, the external [static component], reflects the effects of placing resistive load s on the outputs of the device. sum the total of all v 2 /r or iv to arrive at the resistive load contribution to power. assume v = 0.5 for the purposes of these rough calculations. for instance, if there is a total of eight pwm outputs driving 10ma into leds, then p = 8*.5*.01 = 40mw. in previous discussions, power consum ption due to parasitics associated with pure input pins is ignored, as it is assumed to be negligible. 56f8037/56F8027 package and pin-out information 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 167 part 11 packaging 11.1 56f8037/56F8027 package and pin-out information this section contains package a nd pin-out information for the 56f 8037/56F8027. this device comes in a 64-pin low-profile quad flat pack (lqfp). figure 11-1 shows the package outline, figure 11-2 shows the mechanical parameters and table 11-1 lists the pin-out. figure 11-1 top view, 56f8037/ 56F8027 64-pin lqfp package 17 33 49 gpiob6 / rxd0 / sda / clkin gpiob7 / txd0 / scl gpiob1 / ss0 / sda gpiob5 / ta1 / fault3 / clkin gpioa9 / fault2 / ta3 / cmpbi1 gpioa11 / tb3 / cmpbi2 v dd v ss gpioc4 / anb0 / cmpbi3 gpioc5 / anb1 gpioc13 / anb5 gpioc6 / anb2 / v refhb gpioc7 / anb3 / v reflb gpiod7 / dac1 v dda v ssa gpioc3 / ana3 / v reflx gpiod6 / dac0 gpioc2 / ana2 / v refha gpioc9 / ana5 gpioc1 / ana1 gpioc10 / ana6 gpioc0 / ana0 & cmpai3 gpioc11 / ana7 gpioc8 / ana4 / txd1 v ss v cap tck / gpiod2 gpiob10 / tb0 / cmpao reset / gpioa7 gpiob3 / mosi0 / ta3 / psrc1 gpioa3 / pwm3 gpiob9 / sda / canrx gpioa2 / pwm2 gpioa14 / mosi1/ tb3 / ta3 gpioa13 / miso1/ tb2 / ta2 gpioa4 / pwm4 / ta2 / fault1 gpiob0 / sclk0 / scl v dd v ss gpioa5 / pwm5 / ta3 / fault2 gpiob4 / ss1 / tb0 / ta0 / psrc2 / clko gpioa12 / sclk1 / tb1 / ta1 gpioa8 / fault1 / ta2 / cmpai1 gpioa10 / tb2 / cmpai2 gpioa6 / fault0 / ta0 gpiob2 / miso0 / ta2 / psrc0 pin 1 orientation mark tdo / gpiod1 gpioc14 / anb6 tms / gpiod3 gpioc15 / anb7 gpiob11 / tb1 / cmpbo tdi / gpiod0 gpiob13 / canrx gpiob12 / cantx gpioa0 / pwm0 gpioa1 / pwm1 gpiob8 / scl / cantx gpiod4 / extal gpiod5 / xtal / clkin v ss v dd v cap gpioc12 / anb4 / rxd1 56f8037/56F8027 data sheet, rev. 6 168 freescale semiconductor table 11-1 56f8037/56F8027 64- pin lqfp package identi fication by pin number 1 1. alternate signals are in italic pin # signal name pin # signal name pin # signal name pin # signal name 1 gpiob6 rxd0 / sda / clkin 17 v ssa 33 gpiob2 miso0 / ta2 / psrc0 49 v cap 2 gpiob1 ss 0 / sda 18 gpiod6 dac0 34 gpioa6 fault0 / ta0 50 v dd 3 gpiob7 txd0 / scl 19 gpioc3 ana3 / v refla 35 gpioa10 tb2 / cmpai2 51 v ss 4 gpiob5 ta1 / fault3 / clkin 20 gpioc2 ana2 / v refha 36 gpioa8 fault1 / ta2 / cmpai1 52 gpiod5 xtal / clkin 5 gpioa9 fault2 / ta3 / cmpbi1 21 gpioc9 ana5 37 gpioa12 sclk1 / tb1 / ta1 53 gpiod4 extal 6 gpioa11 tb3 / cmpbi2 22 gpioc1 ana1 38 gpiob4 ss1 / tb0 / ta0 / psrc2 / clko 54 gpiob8 scl / cantx 7 vdd 23 gpioc10 ana6 39 gpioa5 pwm5 / ta3 / fault2 55 gpioa1 pwm1 8 vss 24 gpioc0 ana0 & cmpai3 40 v ss 56 gpioa0 pwm0 9 gpioc12 anb4 / rxd1 25 gpioc11 ana7 41 v dd 57 gpiob12 cantx 10 gpioc4 anb0 & cmpbi3 26 gpioc8 ana4 / txd1 42 gpiob0 sclk0 / scl 58 gpiob13 canrx 11 gpioc5 anb1 27 v ss 43 gpioa4 pwm4 / ta2 / fault1 59 tdi gpiod0 12 gpioc13 anb5 28 v cap 44 gpioa13 miso1 / tb2 / ta2 60 gpiob11 tb1 / cmpbo 13 gpioc6 anb2 / v refhb 29 tck gpiod2 45 gpioa14 mosi1 / tb3 / ta3 61 gpioc15 anb7 14 gpioc7 anb3 / v reflb 30 gpiob10 tb0 / cmpao 46 gpiob9 sda / canrx 62 gpioc14 anb6 15 gpiod7 dac1 31 reset gpioa7 47 gpioa2 pwm2 63 tms gpiod3 16 v dda 32 gpiob3 mosi0 / ta3 / psrc1 48 gpioa3 pwm3 64 tdo gpiod1 56f8037/56F8027 package and pin-out information 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 169 figure 11-2 56f8037/56F8027 64-pin lqfp mechanical information please see www.freescale.com for the most current case outline. ab ab e/2 e 60x x=a, b or d c l view y s 0.05 q q q 1 ( 2) 0.25 gage plane seating plane a2 (s) r1 2x r (l1) (l2) l a1 view aa b1 section ab-ab b c1 c plating base metal rotated 90 clockwise a-b m 0.08 d c 64 0.2 ha-bd 1 49 48 17 16 32 33 b e/2 e e1 d1 d/2 d d1/2 3x view y a 4x view aa 0.08 c q ( 3) 4x 4x 4x 16 tips 0.2 ca-bd e1/2 a d c h x dim min max millimeters a --- 1.60 a1 0.05 0.15 a2 1.35 1.45 b 0.17 0.27 b1 0.17 0.23 c 0.09 0.20 c1 0.09 0.16 d 12.00 bsc d1 10.00 bsc e 0.50 bsc e 12.00 bsc e1 10.00 bsc l 0.45 0.75 l1 1.00 ref l2 0.50 ref r1 0.10 0.20 s 0.20 ref q 0 7 q 0 --- q 12 ref q 12 ref notes: 1. dimensions and tolerancing per ansi y14.5m, 1982. 2. controlling dimension: millimeter. 3. datum plane datum h is located at bottom of lead and is coincident with the lead where the lead exits the plastic body at the bottom of the parting line. 4. datums a, b and d to be determined at datum plane datum c. 5. dimensions d and e to be determined at seating plane datum c. 6. dimensions d1 and e1 do not include mold protrusion. allowable protrusion is 0.25 per side. 7. dimension b does not include dambar protrusion. dambar protrusion shall not cause the b dimension to exceed 0.35. minimum space between protrusion and adjacent lead or protrusion 0.07. 1 2 3 56f8037/56F8027 data sheet, rev. 6 170 freescale semiconductor part 12 design considerations 12.1 thermal desi gn considerations an estimation of the chip junction temperature, t j , can be obtained from the equation: t j = t a + (r j x p d ) where: the junction-to-ambient thermal resi stance is an industry-standard va lue that provides a quick and easy estimation of thermal perf ormance. unfortunately, there are two values in common usage: the value determined on a single-layer board and the value obtained on a board wi th two planes. for packages such as the pbga, these values can be different by a factor of two. which value is closer to the application depends on the power dissipated by other components on the board. th e value obtained on a single layer board is appropriate for the tightly packed printed circuit board. the va lue obtained on the board with the internal planes is usually appropriate if the board has low-power dissipation and the components are well separated. when a heat sink is used, the thermal resistance is expressed as the sum of a junction-to-case thermal resistance and a case-to-ambient thermal resistance: r ja = r jc + r ca where: r jc is device related and ca nnot be influenced by the user. the user controls the thermal e nvironment to change the case to ambient thermal resistance, r ca . for instance, the user can change the size of the heat sink, the air flow around the device, the interface mate rial, the mounting arrange ment on printed circuit board, or change the thermal dissipation on th e printed circuit board surrounding the device. to determine the junction temperature of the device in the application when heat sinks are not used, the thermal characterization parameter ( jt ) can be used to determine th e junction temperature with a measurement of the temperature at the top center of the package case using the following equation: t j = t t + ( jt x p d ) where: t a = ambient temperature for the package ( o c) r j = junction-to-ambient thermal resistance ( o c/w) p d = power dissipation in the package (w) r ja = package junction-to-ambient thermal resistance (c/w) r jc = package junction-to-case thermal resistance (c/w) r ca = package case-to-ambient thermal resistance (c/w) t t = thermocouple temperature on top of package ( o c) jt = thermal characterization parameter ( o c/w) p d = power dissipation in package (w) electrical design considerations 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 171 the thermal characterization parameter is measured per jesd51-2 specification using a 40-gauge type t thermocouple epoxied to the top ce nter of the package case. the th ermocouple should be positioned so that the thermocouple junction re sts on the package. a small amount of epoxy is placed over the thermocouple junction and over about 1mm of wire extending from the junction. the thermocouple wire is placed flat against the package case to avoid measurement errors caused by cooling effects of the thermocouple wire. when heat sink is used, the junction temperature is determined from a ther mocouple inserted at the interface between the case of the p ackage and the interface material. a clearance slot or hole is normally required in the heat sink. minimizing the size of the clearan ce is important to mi nimize the change in thermal performance caused by removing part of the thermal interface to the heat sink. because of the experimental difficulties with th is technique, many engine ers measure the heat si nk temperature and then back-calculate the case temperatur e using a separate measurement of the thermal resistance of the interface. from this case temperat ure, the junction temperature is de termined from th e junction-to-case thermal resistance. 12.2 electrical design considerations use the following list of cons iderations to assure correc t operation of the 56f8037/56F8027: ? provide a low-impedance path from the board power supply to each v dd pin on the 56f8037/56F8027 and from the board ground to each v ss (gnd) pin ? the minimum bypass requirement is to place 0.01?0.1f capacitors pos itioned as close as possible to the package supply pins. the recommended bypass configura tion is to place one bypass capacitor on each of the v dd /v ss pairs, including v dda /v ssa. ceramic and tantalum capacito rs tend to provide better tolerances. ? ensure that capacitor leads and associated prin ted circuit traces that connect to the chip v dd and v ss (gnd) pins are as short as possible ? bypass the v dd and v ss with approximately 100f, plus the number of 0.1f ceramic capacitors ? pcb trace lengths should be mini mal for high-frequency signals ? consider all device loads as well as parasitic capacitance due to pcb traces when calculating capacitance. this is especially critical in system s with higher capacitive loads that co uld create higher transient currents in the v dd and v ss circuits. caution this device contains protective circuitry to guard against damage due to high static voltage or electrical fields. however, normal precautions are advised to avoid application of any voltages higher than maximum-rated voltages to this high-impedance circuit. reliability of operation is enhanced if unused inputs are tied to an appropriate voltage level. 56f8037/56F8027 data sheet, rev. 6 172 freescale semiconductor ? take special care to minimize noise levels on the v ref , v dda , and v ssa pins ? using separate power planes for v dd and v dda and separate ground planes for v ss and v ssa are recommended. connect the separate analog and digital power and ground planes as close as possible to power supply outputs. if both analog circuit and dig ital circuit are powered by the same power supply, it is advisable to connect a small inductor or ferrite bead in serial with both v dda and v ssa traces. ? it is highly desirable to physically separate analog components from noisy digital components by ground planes. do not place an analog trace in parallel with digital traces. it is also desirable to place an analog ground trace around an analog signal trace to isolate it from digital traces. ? because the flash memory is programmed through the jtag/eonce port, qspi, qsci, or i 2 c, the designer should provide an interface to this po rt if in-circuit flash programming is desired ? if desired, connect an external rc circuit to the reset pin. the resistor value should be in the range of 4.7k?10k; the capacitor value should be in the range of 0.22f - 4.7f. ? add a 3.3k external pull-up on the tms pin of the jt ag port to keep eonce in a restate during normal operation if jtag converter is not present ? during reset and after reset but before i/o initialization, all i/o pins are at input state with internal pull-up enable. the typical value of internal pull-up is aro und 110k. these internal pull-ups can be disabled by software. ? to eliminate pcb trace impedance effect, each adc input should have a 33pf-10 ohm rc filter ? device gpios have only a down (substrate) diode on the gpio circuit. devices do not have a positive clamp diode because gpios use a floating gate structure to tolerate 5v input. th e absolute maximum clamp current is -20ma at v in less than 0v. the continuous clamp current is -2ma at v in less than 0v. if positive voltage spikes are a concern, a positive clamp is recommended. part 13 ordering information table 13-1 lists the pertinent information needed to pl ace an order. consult a freescale semiconductor sales office or authorized di stributor to determine availability and to order devices. * this package is rohs compliant. table 13-1 56f8037/56F8027 ordering information device supply voltage package type pin count frequency (mhz) ambient temperature range order number mc56f8037 3.0?3.6 v low-profile quad flat pack (lqfp) 64 32 -40 to + 105 c mc56f8037vlh* mc56F8027 3.0?3.6 v low-profile quad flat pack (lqfp) 64 32 -40 to + 105 c mc56F8027vlh* mc56F8027 3.0?3.6 v low-profile quad flat pack (lqfp) 64 32 -40 to + 125 c mc56F8027mlh* electrical design considerations 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 173 part 14 appendix register acronyms are revised from previous device data sheets to pr ovide a cleaner register description. a cross reference to legacy and revised acronyms are provided in the following table. table 14-1 legacy a nd revised acronyms register name peripheral reference manual data sheet processor expert acronym memory address new acronym legacy acronym new acronym legacy acronym start end analog-to-digital converter (adc) module contr ol 1 regi ste r ctrl1 adcr1 adc_ctrl1 adc_adcr1 adc_adcr1 0x f080 control 2 register ctrl2 adcr2 adc_ctrl2 adc_adcr2 adc_adcr2 0xf081 zero crossing control register zxctrl adzcc adc_zxctrl adc_adzcc adc_adzcc 0x f082 channel list 1 register clist1 adlst1 adc_clist1 adc_adlst1 adc_adlst1 0xf083 channel list 2 register clist2 adlst2 adc_clist2 adc_adlst2 adc_adlst2 0x f084 channel list 3 register clist3 adc_clist3 adc_adclst3 adc_adclst3 0xf085 channel list 4 register clist4 adc_clist4 adc_adclst4 adc_adclst4 0x f086 sample disable register sdis adsdis adc_sdis adc_adsdis adc_adsdis 0xf087 status regi s ter stat adstat adc_stat adc_adstat adc_adstat 0x f088 conversion ready register rdy adc_cnrdy adc_adcnrdy adc_adcnrdy 0xf089 limit status register limstat adlstat adc_limstat adc_adlstat adc_adlstat 0xf08a zero crossing status register zxstat adzcstat adc_zxstat adc_adzcstat adc_adzcstat 0xf08b res ul t 0-7 r egis ter s rslt0-7 adrslt0-7 adc_rslt0-7 adc_adrslt0-7 adc_adrslt0-7 0 xf 08c 0xf09 3 result 8-15 registers rslt8-15 adc_rslt8-15 adc_adrslt8-15 adc_adrslt8-15 0xf094 0xf09b low limit 0-7 registers lolim0-7 adllmt0-7 adc_lolim0-7 adc_adllmt0-7 adc_adllmt0-7 0x f 09c 0x f0a 3 high limit 0-7 registers hilim0-7 adhlmt0-7 adc_hilim0-7 adc_adhlmt0-7 adc_adhlmt0-7 0xf0a4 0xf0ab offset 0-7 registers offst0-7 adofs0-7 adc_offst0-7 adc_adofs0-7 adc_adofs0-7 0xf0ac 0xf0b3 power control register pwr adpower adc_pwr adc_adpower adc_adpower 0xf0b4 cal i brati on regi s ter cal adc_cal adc_adcal adc_adcal 0xf0b5 computer operating properly (cop) module contr ol regi ster ctrl copctl cop_ctrl copctl copctl 0x f12 0 timeout register tout copto cop_tout copto copto 0xf121 coun ter reg is ter cntr copctr cop_cntr copctr copctr 0x f12 2 56f8037/56F8027 data sheet, rev. 6 174 freescale semiconductor inter-integrated circuit interface (i 2 c) module contr ol regi ster ctrl ibcr i2c_ctrl i2c_ibcr i2c_ibcr 0x f280 target address register tar i2c_tar i2ctar i2c_tar 0xf282 slave address register sar i2c_sar i2csar i2c_sar 0x f242 data buffer & command register data i2c_data i2c_datacmd i2c_datacmd 0xf288 standard speed clock scl high count register sshcnt i2c_ss_scl_hcnt i2c_ss_sclhcnt i2c_ss_sclhcnt 0xf 28a standard speed clock scl low count register sslcnt i2c_ss_scl_lcnt i2c_ss_scllcnt i2c_ss_scllcnt 0xf28c fast speed clock scl high count register fshcnt i2c_fs_scl_hcnt i2c_fs_sclhcnt i2c_fs_sclhcnt 0xf 28e fast speed clock scl low count register fslcnt i2c_fs_scl_lcnt i2c_fs_scllcnt i2c_fs_scllcnt 0xf290 interrupt status register istat i2c_intr_stat i2c_intrstat i2c_intrstat 0x f296 interrupt mask register ienbl i2c_intr_mask i2c_intrmask i2c_intrmask 0xf298 raw interrupt status register ristat i2c_raw_intr_ stat i2c_raw_intrstat i2c_raw_intrstat 0xf 29a receive fifo threshold level register rxft i2c_rxtl i2c_rxtl 0x f29c transmit fifo threshold level register txft i2c_txtl i2c_txtl 0xf29e clear combined & individual interrupts register clrint i2c_clrintr i2c_clrintr 0xf 2a 0 clear receive under interrupt register clrrxund i2c_clr_rxunder i2c_clr_rxunder 0xf2a2 clear receive over interrupt register clrrxovr i2c_clrover i2c_clrover 0xf 2a4 clear transmit over register clrtxovr i2c_clr_txover i2c_clr_txover 0xf2a6 clear read required interrupt register clrrdreq i2c_clr_rdreq i2c_clr_rdreq 0xf 2a8 clear transmit abort interrupt register clrtxabrt i2c_clr_txabrt i2c_clr_txabrt 0xf2aa table 14-1 legacy and revi sed acronyms (continued) register name peripheral reference manual data sheet processor expert acronym memory address new acronym legacy acronym new acronym legacy acronym start end electrical design considerations 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 175 clear receive done interrupt register clrrxdone i2c_clr_rxdone i2c_clr_rxdone 0xf 2a c clear activity interrupt register clract i2c_clractivity i2c_clractivity 0xf2ae clear stop detect interrupt register clrstpdet i2c_clr_stopdet i2c_clr_stopdet 0xf 2b0 clear start detect interrupt register clrstdet i2c_clr_star_det i2c_clr_star_det 0xf2b2 clear general call interrupt register clrgc i2c_clr_gencall i2c_clr_gencall 0xf 2b4 enable register enbl i2c_enable i2c_enable 0xf2b6 status register stat i2c_stat i2c_stat 0xf2b8 transmit fifo level register txflr i2c_txflr i2c_txflr 0xf2ba receive fifo level register rxflr i2c_rxflr i2c_rxflr 0xf 2b c transmit abort source register txabrtsrc i2c_tx_abrtsrc i2c_tx_abrtsrc 0xf2c0 component parameter 1 register comparm1 i2c_comparm1 i2c_comparm1 0x f2f a component parameter 2 register comparm2 i2c_comparm2 i2c_comparm2 0xf2fb component version 1 register comver1 i2c_comver1 i2c_comver1 0x f 2fc component version 2 register comver2 i2c_comver2 i2c_comver2 0xf2fd component type 1 register comtyp1 i2c_comtyp1 i2c_comtyp1 0x f2f e component type 2 register comtyp2 i2c_comtyp2 i2c_comtyp2 0xf2ff on-clock chip synthesis (occs) module control register ctrl pllcr occs_ctrl pllcr pllcr 0xf130 divide-by register divby plldb occs_divby plldb plldb 0xf131 status register stat pllsr occs_stat pllsr pllsr 0xf132 oscillator control register octrl osctl occs_octrl osctl osctl 0xf135 cl oc k ch eck regi s ter clkchk occs_clchk pllclchk occs_clchk 0x f136 protection register prot occs_prot pllprot occs_prot 0xf137 clock divider register clkdiv fmclkd fm_clkdiv fmclkd fmclkd 0xf400 configuration register cnfg fmcr fm_cnfg fmcr fmcr 0xf401 security high half register sechi fmsech fm_sechi fmsech fmsech 0x f403 table 14-1 legacy and revi sed acronyms (continued) register name peripheral reference manual data sheet processor expert acronym memory address new acronym legacy acronym new acronym legacy acronym start end 56f8037/56F8027 data sheet, rev. 6 176 freescale semiconductor security low half register seclo fmsecl fm_seclo fmsecl fmsecl 0xf404 protection register prot fmprot fm_prot fmprot fmprot 0xf410 user status register ustat fmustat fm_ustat fmustat fmustat 0xf413 comman d regi ster cmd fmcmd fm_cmd fmcmd fmcmd 0x f414 data buffer register data fmdata fm_data fmdata fmdata 0xf418 info optional data 1 register opt1 fmopt1 fm_opt1 fmopt1 fmopt1 0 xf 4 1 b test array signature register tstsig fmtst_sig fm_tstsig fmtst_sig fmtst_sig 0xf41d general purpose input/output (gpio) module x = a ( n =0) b ( n =1) c ( n =2) d ( n =3) pull-up enable register pupen pur gpio x _pupen gpio x _pur gpio_ x _pur 0 x f 1 n 0 data register data dr gpio x _data gpio x _dr gpio_ x _dr 0xf1 n 1 data direction register ddir ddr gpio x _ddir gpio x _ddr gpio_ x _ddr 0 xf 1 n 2 peripheral enable register peren per gpio x _peren gpio x _per gpio_ x _per 0xf1 n 3 interrupt assert register iassrt iar gpio x _iassrt gpio x _iar gpio_ x _iar 0 xf 1 n 4 interrupt enable register ien ienr gpio x _ien gpio x _ienr gpio_ x _ienr 0xf1 n 5 interrupt polarity register ipol ipolr gpio x _ipol gpio x _ipolr gpio_ x _ipolr 0 x f 1 n 6 interrupt pending register ipend ipr gpio x _ipend gpio x _ipr gpio_ x _ipr 0xf1 n 7 interrupt edge-sensitive register iedge iesr gpio x _iedge gpio x _iesr gpio_ x _iesr 0 xf 1 n 8 push-pull mode registers ppoutm ppmode gpiox_ppoutm gpio x _ppmode gpio_ x _ppmode 0xf1 n 9 raw data input register rdata rawdata gpio x _rdata gpiox_rawdata gpio_ x _rawdata 0 x f 1 n a output drive strength register drive drive gpio x _drive gpio x _drive gpio_ x _drive 0xf1 n b table 14-1 legacy and revi sed acronyms (continued) register name peripheral reference manual data sheet processor expert acronym memory address new acronym legacy acronym new acronym legacy acronym start end electrical design considerations 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 177 pulse width modulator (pwm) module control register ctrl pmctl pwm_ctrl pwm_pmctl pwm_pmctl 0xf0c0 fault control register fctrl pmfctl pwm_fctrl pwm_pmfctl pwm_pmfctl 0xf0c1 fault status/acknowledge regis. fltack pmfsa pwm_fltack pwm_pmfsa pwm_pmfsa 0 x f 0 c 2 output control register out pmout pwm_out pwm_pmout pwm_pmout 0xf0c3 coun ter reg is ter cntr pmcnt pwm_cntr pwm_pmcnt pwm_pmcnt 0x f0c4 counter modulo register cmod mcm pwm_cmod pwm_mcm pwm_mcm 0xf0c5 value 0-5 registers val0-5 pmval0-5 pwm_val0-5 pwm_pmval0-5 pwm_pmval0-5 0xf0c6 0xf0cb deadtime 0-1 registers dtim0-1 pmdeadtm0-1 pwm_dtim0-1 pwm_pmdeadtm0-1 pwm_pmdeadtm0-1 0xf0cc 0xf0cd disable mapping 1-2 registers dmap1-2 pmdismap1-2 pwm_dmap1-2 pwm_pmdismap1-2 pwm_pmdismap1-2 0 x f 0 c e 0 x f 0 c f configure register cnfg pmcfg pwm_cnfg pwm_pmcfg pwm_pmcfg 0xf0d0 channel control register cctrl pmccr pwm_cctrl pwm_pmccr pwm_pmccr 0x f0d1 port register port pmport pwm_port pwm_pmport pwm_pmport 0xf0d2 internal correction control register icctrl pmiccr pwm_icctrl pwm_pmiccr pwm_pmiccr 0x f0d3 source control register sctrl pmsrc pwm_sctrl pwm_pmsrc pwm_pmsrc 0xf0d4 synchronization window register sync pwm_sync pwm_sync pwm_sync 0 x f 0 d 5 fault filter 0-3 register ffilt0-3 pwm_ffilt0-3 pwm_ffilt0-3 pwm_ffilt0-3 0xf0d6 0xf0d9 multi-scalable controller area network (mscan) module contr ol 0 regi ste r ctrl0 can_ctrl0 canctrl0 0xf80 0 control 1 register ctrl1 can_ctrl1 canctrl1 0xf801 bus timing 0 register btr0 can_btr0 canbtr0 0xf802 bus timing 1 register btr1 can_btr1 canbtr1 0xf803 rec ei ve f la g regi ster rflg can_rflg canrflg 0x f80 4 receiver interrupt enable register rier can_rier canrier 0xf805 transmitter flag register tflg can_tflg cantflg 0x f80 6 transmitter interrupt enable register. tier can_tier cantier 0xf807 transmitter msg abort request register tarq can_tarq cantarq 0x f80 8 table 14-1 legacy and revi sed acronyms (continued) register name peripheral reference manual data sheet processor expert acronym memory address new acronym legacy acronym new acronym legacy acronym start end 56f8037/56F8027 data sheet, rev. 6 178 freescale semiconductor transmitter message abort acknowledge register taak can_taak cantaak 0xf809 transmitter fifo selection register tbsel can_tbsel cantbsel 0xf80a identifier acceptance control register idac can_idac canidac 0xf80b miscellaneous register misc can_misc canmisc 0xf80d receive error register rxerr can_rxerr canrxerr 0xf80e transmit error register txerr can_txerr cantxerr 0xf 80f identifier acceptance 0-3 registers idar0-3 can_idar0-3 canidar0-3 0xf810 0xf813 identifier mask 0-3 registers idmr0-3 can_idmr0-3 canidmr0-3 0xf 814 0x f817 identifier acceptance 4-7 register idar4-7 can_idar4-7 canidar4-7 0xf818 0xf81b identifier mask 4-7 registers idmr4-7 can_idmr4-7 canidmr4-7 0 xf 81c 0 xf 81f foreground receive fifo register rxfg can_rxfg canrxfg 0xf82f 0xf820 foreground transmit fifo register txfg can_txfg cantxfg 0xf 830 0 xf 83f power supervisor (ps) module control register ctrl lvicontrol ps_ctrl lvicontrol lvictrl 0xf140 status register stat lvistatus ps_stat lvistatus lvisr 0xf141 queued serial communications interface (qsci) module n = 0, 1 baud rate register rate qsci_rate qsci_scibr 0xf2 n 0 control 1 register ctrl1 qsci_ctrl1 qsci_scicr 0xf2 n 1 contr ol 2 regi ste r ctrl2 qsci_ctrl2 qsci_scicr2 0 xf 2 n 2 status register stat qsci_stat qsci_scisr 0xf2 n 3 data register data qsci_data qsci_scidr 0xf2 n 4 queued serial peripheral interface (qspi) module status and control register sctrl qspi_sctrl qspi_spscr 0 xf 2 n 0 data size and control register dsctrl qspi_dsctrl qspi_spdsr 0xf2 n 1 data receive register drcv qspi_drcv qspi_spdrr 0 xf 2 n 2 data transmit register dxmit qspi_dxmit qspi_spdtr 0xf2 n 3 table 14-1 legacy and revi sed acronyms (continued) register name peripheral reference manual data sheet processor expert acronym memory address new acronym legacy acronym new acronym legacy acronym start end electrical design considerations 56f8037/56F8027 data sheet, rev. 6 freescale semiconductor 179 56f8037/56F8027 data sheet, rev. 6 180 freescale semiconductor how to reach us: home page: www.freescale.com e-mail: support@freescale.com usa/europe or locations not listed: freescale semiconductor technical information center, ch370 1300 n. alma school road chandler, arizona 85224 +1-800-521-6274 or +1-480-768-2130 support@freescale.com europe, middle east, and africa: freescale halbleiter deutschland gmbh technical information center schatzbogen 7 81829 muenchen, germany +44 1296 380 456 (english) +46 8 52200080 (english) +49 89 92103 559 (german) +33 1 69 35 48 48 (french) support@freescale.com japan: freescale semiconductor japan ltd. headquarters arco tower 15f 1-8-1, shimo-meguro, meguro-ku, tokyo 153-0064, japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com asia/pacific: freescale semiconductor hong kong ltd. technical information center 2 dai king street tai po industrial estate tai po, n.t., hong kong +800 2666 8080 support.asia@freescale.com for literature requests only: freescale semiconductor literature distribution center p.o. box 5405 denver, colorado 80217 1-800-441-2447 or 303-675-2140 fax: 303-675-2150 ldcforfreescalesemiconductor@hibbertgroup.com freescale? and the freescale logo are trademarks of freescale semiconductor, inc. all other product or service names are the property of their respective owners. this product incorporates superflash? technology licensed from sst. ? freescale semiconductor, inc. 2010. all rights reserved. mc56f8037 rev. 6 02/2010 information in this document is provided solely to enable system and software implementers to use freescale semiconductor products. there are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. freescale semiconductor reserves the right to make changes without further notice to any products herein. freescale semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does freescale semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. ?typical? parameters that may be provided in freescale semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. all operating parameters, including ?typicals?, must be validated for each customer application by customer?s technical ex perts. freescale semiconductor does not convey any license under its patent rights nor the rights of others. freescale semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the freescale semiconductor product could create a situation where personal injury or death may occur. should buyer purchase or use freescale semiconductor products for any such unintended or unauthorized application, buyer shall indemnify and hold freescale semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that freescale semiconductor was negligent regarding the design or manufacture of the part. rohs-compliant and/or pb-free versions of freescale products have the functionality and electrical characteristics of their non-rohs-compliant and/or non-pb-free counterparts. for further information, see http://www.freescale.com or contact your freescale sales representative. for information on freescale?s environmental products program, go to http://www.freescale.com/epp . |
Price & Availability of 56F8027 |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |