![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
preliminary technical data mixed-signal control processor with arm cortex-m4 ADSP-CM402F / cm403f/cm407f / cm408f rev. pre information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. specifications subject to change without no tice. no license is granted by implication or otherwise under any patent or patent rights of analog devices. trademarks and registered trademarks are the property of their respective owners. one technology way, p.o. box 9106, norwood, ma 02062-9106 u.s.a. tel: 781.329.4700 www.analog.com fax: 781.461.3113 ? 2013 analog devices, inc. all rights reserved. system features 100 mhz to 240 mhz arm cortex-m4 with floating-point unit 128k byte to 384k byte zero-wait-state l1 sram with 16k byte l1 cache up to 2m byte flash memory 16-bit asynchronous exte rnal memory interface enhanced pwm units four 3rd/4th order sinc filters for glueless connection of iso- lated adcs harmonic analysis engine 10/100 ethernet mac full speed usb on-the-go (otg) two can (controller area network) 2.0b interfaces three uart ports two serial peripheral interface (spi-compatible) ports eight 32-bit general-purpose timers four encoder interfaces, 2 with frequency division single power supply 176-lead (24 mm 24 mm) rohs compliant lqfp package 120-lead (14 mm 14 mm) rohs compliant lqfp package analog subsystem features adc controller (adcc) and dac controller (dacc) two 16-bit sar adcs with up to 24 multiplexed inputs, supporting dual simultaneous co nversion in 380 ns (16-bit, no missing codes, 3.5lsb inl) two 12-bit r-string dacs, with output rate up to 50 khz two 2.5 v precision voltage reference outputs (for details, see adc/dac specifications on page 36 .) figure 1. block diagram up to 2m byte flash l1 cache 16k byte l1 instruction cache system control blocks peripherals hardware functions l3 memory system fabric 1 emac with ieee 1588 (optional) 2x sport 2 can static memory controller async interface 2 spi 4 quadrature encoder 8 timer 12 pwm pairs 1 twi usb fs otg (optional) l1 memory up to 384k byte parity-enabled zero-wait-state sram coresight? test & control pll & power management fault management event control system watchdogs 3 uart adcc dacc harmonic analysis engine (hae) analog subsystem gpio (40 or 91) adc dac ctx-m4 sinc filters
rev. pre | page 2 of 84 | september 2013 ADSP-CM402F / cm403f/cm407f / cm408f preliminary technical data table of contents system features ....................................................... 1 analog subsystem features ........................................ 1 general description ................................................. 3 analog subsystem ................................................. 4 arm cortex-m4 core ........................................... 7 embeddedice ...................................................... 7 processor infrastructure ......................................... 7 memory architecture ............................................ 8 security features ................................................ 10 processor reliability features ................................. 10 additional processor peripherals ............................ 11 general-purpose counters .................................... 12 serial peripheral interface (spi) ports ...................... 12 uart ports ...................................................... 12 twi controller interface ...................................... 12 controller area network (can) ............................ 13 10/100 ethernet mac .......................................... 13 usb 2.0 on-the-go dual-role device controller ....... 13 clock and power management ............................... 14 system debug .................................................... 15 development tools ............................................. 15 related documents .............................................. 15 related signal chains ........................................... 16 ADSP-CM402F/adsp-cm403f si gnal descriptions . ..... 17 ADSP-CM402F/adsp-cm403f multiplexed pins ......... 22 adsp-cm407f/adsp-cm408f si gnal descriptions . ..... 24 adsp-cm407f/adsp-cm408f multiplexed pins ......... 31 specifications ........................................................ 34 operating conditions ........................................... 34 electrical characteristics ....................................... 35 adc/dac specifications ...................................... 36 flash specifications .............................................. 43 absolute maximum ratings ................................... 44 esd sensitivity ................................................... 44 package information ............................................ 44 timing specifications ........................................... 45 output drive currents ......................................... 72 environmental conditions .................................... 73 120-lead lqfp lead assignments ............................. 74 176-lead lqfp lead assignments ............................. 77 outline dimensions ................................................ 81 pre-release products ............................................... 82 revision history 09/13revision prd to revision pre updated the specifications section to include flash information and timing data for all interfaces. see specifications ....... 34 preliminary technical data rev. pre | page 3 of 84 | september 2013 ADSP-CM402F / cm403f/cm407f / cm408f general description the adsp-cm40x family of mixed- signal control processors is based on the arm ? cortex-m4 tm processor core with floating- point unit operating at frequencies up to 240 mhz and integrat- ing up to 384kb of sram memory, 2mb of flash memory, accelerators and peripherals optimized for motor control and photo-voltaic (pv) inverter cont rol and an analog module con- sisting of two 16-bit sar-type adcs and two 12-bit dacs. the adsp-cm40x family operates from a single voltage supply (vdd_ext/vdd_ana), generating its own internal voltage supplies using internal voltage re gulators and an external pass transistor. this family of mixed-signal cont rol processors offers low static power consumption and is produced with a low-power and low- voltage design methodology, delivering world class processor and adc performance with lower power consumption. by integrating a rich set of indu stry-leading system peripherals and memory (shown in table 1 ), the adsp-cm40x mixed-sig- nal control processors are th e platform of choice for next-generation applications that require risc programmabil- ity, advanced communications and leading-edge signal processing in one integrated pac kage. these applications span a wide array of markets including power/motor control, embed- ded industrial, instrumentation, medical and consumer. each adsp-cm40x family memb er contains the following modules. ? 8 gp timers with pwm output ? 3-phase pwm units with up to 4 output pairs per unit ?2 can modules ? 1 two-wire interface (twi) module ?3 uarts table 1 provides the additional product features shown by model. table 1. adsp-cm40x family product features generic ADSP-CM402F adsp-c m403f adsp-cm407f adsp-cm408f package 120-lead lqfp 176-lead lqfp gpios 40 91 ebiu 16-bit asynchronous/5 address 16-bit asynchronous/24 address adc enob (no averaging) 11+ 13+ 11+ 13+ adc inputs 24 16 dac outputs 2 n/a sports 3 half-sports 4 half-sports ethernet n/a 1 n/a n/a 1 n/a usb n/a 1 1 n/a 1 1 external spi 1 2 general-purpose counters 2 4 (2 with dual-outputs) feature set code efcefabdab l1 sram (kb) 128 128 384 128 128 384 384 128 384 384 flash (kb) 512 256 2048 512 256 2048 2048 1024 2048 2048 core clock (mhz) 150 100 240 150 100 240 240 150 240 240 model adsp-cm402bswz-ef adsp-cm402bswz-ff adsp-cm403bswz-cf adsp-cm403bswz-ef adsp-cm403bswz-ff adsp-cm407bswz-af adsp-cm407bswz-bf adsp-cm407bswz-df adsp-cm408bswz-af adsp-cm408bswz-bf rev. pre | page 4 of 84 | september 2013 ADSP-CM402F / cm403f/cm407f / cm408f preliminary technical data analog subsystem the processors contain two adcs and two dacs. control of these data converters is simplified by a powerful on-chip ana- log-to-digital conversion cont roller (adcc) and a digital-to- analog conversion controller (dacc). the adcc and dacc are integrated seamlessly into th e software programming model, and they efficiently manage the configuration and real-time operation of the adcs and dacs. for technical details, see adc/dac specifications on page 36 . the adcc provides the mechanis m to precisely control execu- tion of timing and analog sampling events on the adcs. the adcc supports two-channel (one eachadc0, adc1) simul- taneous sampling of adc inputs with tbd ps time offset accuracy (aperture delay), and can deliver 16 channels of adc data to memory in 3 s. conver sion data from the adcs may be either routed via dma to me mory, or to a destination regis- ter via the processor. the adcc can be configured so that the two adcs sample and convert both analog inputs simultane- ously or at different times and may be operated in asynchronous or synchronous modes. the best performance can be achieved in synchronous mode. likewise, the dacc interfaces to two dacs and has purpose of managing those dacs. conversion data to the dacs may be either routed from memory th rough dma, or from a source register via the processor. functional operation and programming for the adcc and dacc are described in detail in the adsp-cm40x mixed-signal control processor with arm co rtex-m4 hardware reference . adc and dac features and performance specifications differ by processor model. simplified block diagrams of the adcc, dacc and the adcs and dacs are shown in figure 2 and figure 3 . figure 2. cm402f/cm403f analog subsystem block diagram dac1 dac0 adc0 adc1_vin00 . . . adc1_vin01 adc1_vin02 adc1_vin11 dac1 adc0_vin00 . . . adc0_vin01 adc0_vin02 adc0_vin11 dac0 mux mux adcc dacc control control micro controller dma sram memory data vref1 vref0 refcap buf buf buf buf buf buf dac1_vout dac0_vout ~ ~ ~ adc1 buf buf band gap adc/dac local controller preliminary technical data rev. pre | page 5 of 84 | september 2013 ADSP-CM402F / cm403f/cm407f / cm408f figure 3. cm407f/cm408f analog subsystem block diagram dac1 dac0 adc1 adc0 adc1_vin00 . . . adc1_vin01 adc1_vin02 adc1_vin07 dac1 adc0_vin00 . . . adc0_vin01 adc0_vin02 adc0_vin07 dac0 mux mux adcc dacc control control micro controller dma sram memory data vref1 vref0 refcap buf buf buf buf buf buf ~ ~ not pinned out buf buf band gap adc/dac local controller rev. pre | page 6 of 84 | september 2013 ADSP-CM402F / cm403f/cm407f / cm408f preliminary technical data considerations for best converter performance as with any high performance analog/digital circuit, to achieve best performance, good circuit design and board layout prac- tices should be followed. the power supply and its noise bypass (decoupling), ground return paths and pin connections, and analog/digital routing channel paths and signal shielding, are all of first-order consideration. for application hints of design best practice, see figure 4 and the adsp-cm40x mixed-signal con- trol processor with arm co rtex-m4 hardware reference . adc module the adc module contains two 16-bit, high speed, low power successive approximat ion register (sar) adcs, allowing for dual simultaneous sampling with each adc proceeded by a 12-channel multiplexer. see adc specifications on page 36 for detailed performance specifications. input multiplexers enable up to a combined 26 analog inpu t sources to the adcs (12 ana- log inputs plus 1 dac loopback input per adc). the voltage input rang e requirement for thos e analog inputs is from 0 v to 2.5 v. all analog in puts are of single-ended design. as with all single-ended inputs, signals from high impedance sources are the most difficult to control, and depending on the electrical environment, may requ ire an external buffer circuit for signal conditioning ( figure 5 ). an on-chip buffer between the multiplexer and adc reduces the need for additional signal conditioning external to the pr ocessor. additionally, each adc has an on-chip 2.5 v re ference that can be overdriven when an external voltage reference is preferred. dac module the dac is a 12-bit, low power, string dac design. the output of the dac is buffered, and can drive an r/c load to either ground or v dd_ana . see dac specifications on page 38 for detailed performance specifications. it should be noted that on some models of the processor, the dac outputs are not pinned out. however, these outputs are always available as one of the multiplexed inputs to the adcs. this feature may be useful for functional self-check of the converters. figure 4. typical power supply configuration figure 5. equivalent single -ended input (simplified) vdd_ext vdd_vreg vdd_int byp_d0 gnd vdd_ana0 gnd_ana0 byp_a0 vref0 vref_gnd0 refcap vref1_gnd vref1 byp_a1 gnd_ana1 vdd_ana1 vreg circuit gnd_ana 3.3v connected at one point gnd_dig plane gnd_ana plane gnd_dig gnd_ana2 gnd_ana3 vreg_base adsp-cm40x analog source to adc v in vdd_ana c tbd optional external buffer c hold r track c in r in tbd tbd adsp-cm40x preliminary technical data rev. pre | page 7 of 84 | september 2013 ADSP-CM402F / cm403f/cm407f / cm408f harmonic analysis engine (hae) the harmonic analysis engine (hae) block receives 8 khz input samples from two source signals whose frequencies are between 45 hz and 65 hz. the hae will then process the input samples and produce output results. the output results consist of power quality measurements of the fundamental and up to 12 additional harmonics. sinc filter the sinc module processes four bit streams using a pair of configurable sinc filters for each bitstream. the purpose of the primary sinc filter of each pair is to produce the filtered and decimated output for the pair. the output may be decimated to any integer rate betw een 8 and 256 times lo wer than the input rate. greater decimation allows greater remova l of noise and therefore greater enob. optional additional filtering outside the sinc module may be used to further increase enob. the primary sinc filter output is accessible through transfer to processor memory, or to another peripheral, via dma. each of the four channels is al so provided with a low-latency secondary filter with programmabl e positive and negative over- range detection comparators. th ese limit detection events can be used to interrupt the core, generate a trigger, or signal a sys- tem fault. arm cortex-m4 core the arm cortex-m4, core shown in figure 6 , is a 32-bit reduced instruction set computer (r isc). it uses a single 32-bit bus for instruction and data. the length of the data can be eight bits, 16 bits, or 32 bits. the leng th of the instruction word is 16 or 32 bits. the controller has the following features. cortex-m4 architecture ? thumb-2 isa technology ? dsp and simd extensions ? single cycle mac (up to 32 32 + 64 -> 64) ? hardware divide instructions ? single-precision fpu ? nvic interrupt controlle r (129 interrupts and 16 priorities) ? memory protection unit (mpu) ?full coresight tm debug, trace, breakpoints, watchpoints, and cross-triggers microarchitecture ? 3-stage pipeline with branch speculation ? low-latency interrupt processing with tail chaining configurable for ultra low power ? deep sleep mode, dynamic power management ? programmable clock generator unit embeddedice embeddedice ? provides integrated on-chip support for the core. the embeddedice module contains the breakpoint and watch-point registers that allow code to be halted for debugging purposes. these registers are cont rolled through the jtag test port. when a breakpoint or watchpoint is encountered, the processor halts and enters debug state. once in a debug state, the proces- sor registers can be inspected as well as the flash/ee, sram, and memory mapped registers. processor infrastructure the following sections provid e information on the primary infrastructure components of the adsp-cm40x processors. dma controllers (ddes) the processor contains 17 periph eral dma channels plus two mdma streams. dde channel nu mbers 0C16 are for peripher- als and channels 17C20 are for mdma. system event controller (sec) the sec manages the enabling and routing of system fault sources through its integrat ed fault management unit. trigger routing unit (tru) the tru provides system-level sequence contro l without core intervention. the tru maps trigge r masters (generators of trig- gers) to trigger slaves (receivers of triggers). slave endpoints can be configured to respond to triggers in various ways. common applications enabled by the tru include: ? automatically triggering the start of a dma sequence after a sequence from another dma channel completes ? software triggering ? synchronization of concurrent activities pin interrupts every port pin on the processor can request interrupts in either an edge-sensitive or a level-sensitive manner with programma- ble polarity. interrupt functionality is decoupled from gpio operation. six system-level in terrupt channels (pint0C5) are reserved for this purpose. each of these interrupt channels can manage up to 32 interrupt pins . the assignment from pin to interrupt is not performed on a pi n-by-pin basis. rather, groups of eight pins (half ports) can be flexibly assigned to interrupt channels. every pin interrupt channel features a special set of 32-bit mem- ory-mapped registers that enab le half-port assignment and interrupt management. this includes masking, identification, and clearing of requests. these re gisters also enable access to the respective pin states and use of the interrupt latches, regardless of whether the interrupt is masked or not. most control registers feature multiple mmr address entries to write-one-to-set or write-one-to-clear them individually. rev. pre | page 8 of 84 | september 2013 ADSP-CM402F / cm403f/cm407f / cm408f preliminary technical data general-purpose i/o (gpio) each general-purpose port pin can be individually controlled by manipulation of the port control, status, and interrupt registers: ? gpio direction control register C specifies the direction of each individual gpio pin as input or output. ? gpio control and status regi sters C a write one to mod- ify mechanism allows any combination of individual gpio pins to be mo dified in a single instruction, without affecting the level of any other gpio pins. ? gpio interrupt mask register s C allow each individual gpio pin to function as an interrupt to the processor. gpio pins defined as inputs ca n be configured to generate hardware interrupts, while output pins can be triggered by software interrupts. ? gpio interrupt sensitivity registers C specify whether indi- vidual pins are level- or ed ge-sensitive and specifyif edge-sensitivewhether just the rising edge or both the ris- ing and falling edges of th e signal are significant. pin multiplexing the processor supports a flexible multiplexing scheme that mul- tiplexes the gpio pins with various peripherals. a maximum of 4 peripherals plus gpio functionality is shared by each gpio pin. all gpio pins have a bypass path featurethat is, when the output enable and the input en able of a gpio pin are both active, the data signal before the pad driver is looped back to the receive path for the same gpio pin. see ADSP-CM402F/adsp- cm403f multiplexed pins on page 22 and adsp- cm407f/adsp-cm408f multiplexed pins on page 31 . memory architecture the internal and external memo ry of the adsp-cm40x proces- sor is shown in figure 7 and described in the following sections. arm cortex-m4 memory subsystem the memory map of the adsp-cm40x family is based on the cortex-m4 model from arm. by retaining the standardized memory mapping, it becomes easier to port applications across m4 platforms. only the physical implementation of memories inside the model differ s from other vendors. adsp-cm40x application develo pment is typically based on memory blocks across code/sram and external memory regions. sufficient internal me mory is available via internal sram and internal flash. additi onal external memory devices may be interfaced via the smc asynchronous memory port, as well as through the spi0 serial memory interface. code region accesses in this region (0x 0000_0000 to 0x1fff_ffff) are per- formed by the core on its ic ode and dcode interfaces, and they target the memory and ca che resources within the adi cortex-m4f platform component. ? boot rom. a 32k byte boot rom executed at system reset. this space supports read-only access by the m4f core only. note that rom memory co ntents cannot be modified by the user. ? internal sram code region. this memory space con- tains the application instructions and literal (constant) data which must be executed real time. it supports read/write access by the m4f core and read/write dma access by sys- tem devices. internal sram can be partitioned between figure 6. cortex-m4 block diagram 1 9 , & 1 ( 6 7 ( ' 9 ( & |