admcf340 Analog Devices, Inc., admcf340 Datasheet

no-image

admcf340

Manufacturer Part Number
admcf340
Description
Dashdsptm 64-lead Flash Mixed-signal Dsp With Enhanced Analog Front End
Manufacturer
Analog Devices, Inc.
Datasheet
a
Information furnished by Analog Devices is believed to be accu-
rate 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. No
license is granted by implication or otherwise under any patent
or patent rights of Analog Devices.
DashDSP is a trademark of Analog Devices, Inc.
REV. 0
TARGET APPLICATIONS
Refrigerator and Air Conditioner Compressors,
Industrial Variable Speed Drives, HVAC
MOTOR TYPES
Permanent Magnet Synchronous Motors (PMSM),
FEATURES
20 MHz Fixed-Point DSP Core
Washing Machines
Brushless DC Motors (BDCM), AC Induction Motors
(ACIM), Switched Reluctance Motors (SRM)
Single Cycle Instruction Execution (50 ns)
ADSP-21xx Family Code Compatibility
Independent Computational Units
Multifunction Instructions
Single Cycle Context Switch
Powerful Program Sequencer
Two Independent Data Address Generators
ALU
Multiplier/Accumulator
Barrel Shifter
Zero Overhead Looping
Conditional Instruction Execution
GENERATORS
DAG 1 DAG 2
ADDRESS
ALU
DATA
ARITHMETIC UNITS
ADSP-21xx BASE
ARCHITECTURE
MAC
SHIFTER
SEQUENCER
PROGRAM
PROGRAM MEMORY ADDRESS
PROGRAM MEMORY DATA
DATA MEMORY ADDRESS
DATA MEMORY DATA
DashDSP
POR
FUNCTIONAL BLOCK DIAGRAM
PROGRAM
PROGRAM
512
4K
ROM
RAM
MEMORY BLOCK
24
TIMER
24
TM
PROGRAM
MEMORY
512
4K
FLASH
DATA
64-Lead Flash Mixed-Signal DSP
with Enhanced Analog Front End
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781/329-4700
Fax: 781/326-8703
SERIAL PORT
24
16
SPORT 0
SPORT 1
Memory Configuration
Three Independent FLASH Memory Sectors
Low Cost Pin-Compatible ROM Option
16-Bit Watchdog Timer
Programmable 16-Bit Internal Timer with Prescaler
Two Double Buffered Serial Ports with SPI Mode
Integrated Power On Reset Function
Three Phase 16-Bit PWM Generation Unit
3584
Support
16-Bit Center-Based PWM Generator
Programmable PWM Pulsewidth
Edge Resolution of 50 ns
Programmable Narrow Pulse Deletion
153 Hz Minimum Switching Frequency
Double/Single Update Mode Control
Individual Enable and Disable for Each PWM
High Frequency Chopping Mode for
512
512
4K
4K
7
Output
Transformer-Coupled Gate Drives
24-Bit Program Memory ROM
24-Bit Total Program FLASH Memory
16-Bit Data Memory RAM
24-Bit Program Memory RAM
24-Bit, 256
ADC SUBSYSTEM
V
2.5V
REF
MOTOR CONTROL PERIPHERALS
ANALOG
PIO
INPUTS
25
10
24-Bit, 256
2
I SENSE AMP
PWM
AUX
AND TRIP
16-BIT
TIMERS
2
SHA
(continued on page 8)
ADMCF340
3
© Analog Devices, Inc., 2002
WATCH-
TIMER
24-Bit
DOG
THREE-
PHASE
16-BIT
PWM
www.analog.com
6

Related parts for admcf340

admcf340 Summary of contents

Page 1

... DATA MEMORY DATA SERIAL PORT TIMER POR SPORT 0 SPORT 1 One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 Fax: 781/326-8703 ADMCF340 512 16-Bit Data Memory RAM 512 24-Bit Program Memory RAM 4K 24-Bit Program Memory ROM 4K 24-Bit Total Program FLASH Memory 24-Bit, 256 ...

Page 2

... ADMCF340 ANALOG-TO-DIGITAL CONVERTER Parameter Signal Input 1 Resolution 2 Linearity Error 3 Zero Offset Comparator Delay 2 ADC High Level Input Current 2 ADC Low Level Input Current NOTES 1 Resolution varies with PWM switching frequency (double update mode) 78.1 kHz = 8 bits, 4.9 kHz = 12 bits. 2 2.44 kHz sample frequency, VAUX0, VAUX1, VAUX2 3 Extrapolated point outside of operating range ...

Page 3

... Min Typ Max 0.8 2 1.75 2.60 0.4 0 –100 – 100 10 6 100 6 – 135 –3– ADMCF340 Unit Conditions/Comments V –40°C to +85°C ppm/°C Unit Conditions/Comments Unit Conditions/Comments 0 µA IN µ ...

Page 4

... ADMCF340 TIMING PARAMETERS Parameter Clock Signals Signal T is defined as 0 The ADMCF340 uses an input clock with CK CKIN a frequency equal to half the instruction rate MHz input clock (which is equivalent to 100 ns) yields processor cycle (equivalent to 20 MHz). When T values are within the range of 0.5 t ...

Page 5

... FRAME DELAY 0 [MFD = 0]) REV. 0 OUT SCS SCH SCDV t t SCDH SCDE t TDE t TDV t RDV Figure 2. Serial Port Timing –5– ADMCF340 Min Max 100 0. SCK t SCP t SCP t SCDD ...

Page 6

... ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the ADMCF340 features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality ...

Page 7

... VAUX4 SUP 57 VAUX0 D_IN 58 VAUX5 GND 59 VAUX1 D_I/O 60 VAUX6 D_I/O 61 VAUX2 D_I/O 62 VAUX7 D-IN 63 ICONST D_I –7– ADMCF340 Pin Type No Connect D_I/O D_I/O D_I/O D_I/O D_I/O D_I/O D_I/O D_I/O D_I/O No Connect D_I/O No Connect A_OUT 1 SUP DD SUP DD D_IN A_IN A_IN SENSE3 ...

Page 8

... The program memory ROM contains a monitor function as well as useful routines for erasing, programming, and verifying the flash memory. The motor control peripherals of the ADMCF340 provide a 12-bit analog data acquisition system with 13 analog input channels, three dedicated I cation, sampling, and overcurrent PWM shutdown features), and an internal voltage reference ...

Page 9

... SPORT0) for serial communication and multi- processor communication. SPORT1 is primarily intended for the interfacing of the debugging tools and/or code booting from an external serial memory. The following is a brief list of capabilities of the ADMCF340 SPORTs. • SPORTs are bidirectional and have a separate, double- buffered transmit and receive section. ...

Page 10

... Three kinds of program memory are 2 prom reset signal. provided on the ADMCF340: RAM, ROM, and FLASH. The motor control peripherals are memory mapped into a region of the data memory space starting at 0x2000. The complete program and data memory maps are given in Tables II and III, respectively. ...

Page 11

... ADMCF340 RESET Figure 4. Basic System Configuration Clock Signals The ADMCF340 can be clocked either by a crystal or a TTL compatible clock signal. For normal operation, the CLKIN input cannot be halted, changed during operation, or operated below the specified minimum frequency external clock is used, it should be a TTL compatible signal running at half the instruction rate ...

Page 12

... Figure 5). During RST sets the minimum access time to the program memory. The configurations of both the SYSCNTL and MEMWAIT Reg- isters of the ADMCF340 are shown at the end of the data sheet. THREE-PHASE PWM CONTROLLER Overview The PWM generator block of the ADMCF340 is a flexible, ...

Page 13

... In general, there are two common isolation techniques: optical isolation using optocouplers, and transformer isolation using pulse transformers. The PWM controller of the ADMCF340 permits mixing of the output PWM signals with a high frequency chopping signal to permit an easy interface to such pulse transformers. The features of this gate-drive chopping mode can be controlled by the PWMGATE Register ...

Page 14

... The dead time can be programmed to zero by writing 0 to the PWMDT Register. PWM Operating Mode: MODECTRL and SYSSTAT Registers The PWM controller of the ADMCF340 can operate in two distinct modes: single update mode and double update mode. The operating mode of the PWM controller is determined by the state of Bit 6 of the MODECTRL Register ...

Page 15

... Additionally seen that the dead time is inserted into the PWM 2 PWMDT signals in the same way as in the single update mode. PWMSYNCWT + PWMTM PWMSYNC SYSSTAT (3) Figure 8. Typical PWM Outputs of Three-Phase Timing Unit in Double Update Mode –15– ADMCF340 ( PWMCHA PWMDT – ) × PWMTM – PWMCHA PWMDT – ) × ...

Page 16

... Again, the values of T and T are constrained to lie between AH AL zero and Table IV. Fundamental Characteristics of PWM Generation Unit of ADMCF340 16-BIT PWM TIMER Parameter Counter Resolution Edge Resolution (Single Update Mode) Edge Resolution (Double Update Mode) Programmable Dead Time Range Programmable Dead Time Increments ...

Page 17

... Register. For the situation illustrated in Figure 9, the appropriate value for the PWMSEG Register is 0x00A7. In ECM operation, because each inverter leg is disabled for a certain period of time, the PWMSEG Register is changed based upon the position of the rotor shaft (motor commutation). –17– ADMCF340 ...

Page 18

... ADMCF340 PWMCHA = PWMCHB AH 2 PWMDT PWMTM Figure 9. An example of PWM signals suitable for ECM control. PWMCHA = PWMCHB, BH/BL are a crossover pair. AL, BH, CH, and CL outputs are disabled. Operation is in single update mode. Gate Drive Unit: PWMGATE Register The gate drive unit of the PWM controller adds features that simplify the design of isolated gate drive circuits for PWM inverters ...

Page 19

... The parameters of the PWM block are tabu- lated in Table IV. ADC OVERVIEW The ADC of the ADMCF340 is based upon the single slope conversion technique. This approach offers an inherently mono- tonic conversion process within the noise and stability of its components, and there will be no missing codes. ...

Page 20

... Figure 12 to ensure complete resetting. VAUX In order to compensate for IC process manufacturing tolerances (and to adjust for capacitor tolerances), the current source of the ADC1 ADMCF340 is software programmable. The software setting of the ADC ADC2 REGISTERS magnitude of the ICONST current generator is accomplished by ADC3 ADCAUX selecting one of eight steps over approximately 20% current range ...

Page 21

... Programmable Current Source The ADMCF340 has an internal current source that is used to charge an external capacitor, generating the voltage ramp used for conversion. The magnitude of the output of the current source circuit is subject to manufacturing variations and can vary from one device to the next. Therefore, the ADMCF340 includes a programmable current source whose output can always be tuned to within 5% of the target 100 µ ...

Page 22

... ADMCF340 Analog Front End The main analog inputs of the ADMCF340 ( are connected to the ADC converter through three SENSE front end blocks. Figure 14 shows the block diagram of a single analog front end. Each analog front end has two analog inputs: voltage and current. A 2-to-1 multiplexer selects which input will be converted ...

Page 23

... Table IX. Fundamental Characteristics of Auxiliary PWM Timer of ADMCF340 Parameter Test Conditions Resolution PWM Frequency 10 MHz CLKIN AUXILIARY PWM TIMERS Overview The ADMCF340 provides two variable frequency, variable duty cycle, 16-bit, auxiliary PWM outputs that are available at the AUX1 and AUX0 Pins. When enabled, these auxiliary PWM ...

Page 24

... IRQ2 interrupt. They are also internally prioritized and individually maskable. The start address in the interrupt vector table for the ADMCF340 interrupt sources is shown in Table X. The interrupts are listed from high priority to the lowest priority. The PWMSYNC interrupt is triggered by a low-to-high transition on the PWMSYNC pulse ...

Page 25

... If any peripheral interrupt enabled, the IRQ2 interrupt enable bit (Bit 9) of the IMASK Register must be set. The configura- tion of the IMASK Register of the ADMCF340 is shown at the end of the data sheet. Interrupt Configuration The IFC and ICNTL Registers of the DSP core control and configure the interrupt controller of the DSP core ...

Page 26

... DSP CORE SPORT0 MODECTRL REGISTER (15) SPORT0 SPORT MODE/UART MODE ADMCF340 Figure 18. SPORT0 and SPORT1 Internal Multiplexing (Simplied Diagram) SPORT0 can be configured to operate as master SPI interface. The SPI Mode is set through Bit 14 of MODECTRL Register. When SPORT0 is configured as SPI interface, the SPORT I/O pins assume the configuration shown in Table XI ...

Page 27

... Table XI. SPORT0 Pin Assignment in SPI Mode SPI Mode MOSI (Master Output/Slave Input) MISO (Master Input Slave Output) SS (Slave Select) Unused SCK (Serial Clock MSB MSB MSB MSB –27– ADMCF340 SPI MODE I/O Output Input Output N/A Output 5 N LSB LSB 5 N LSB LSB ...

Page 28

... ADMCF340 Address (HEX) Name 0x2000 ADC1 0x2001 ADC2 0x2002 ADC3 0x2003 ADCAUX 0x2004 PORTA_DIR 0x2005 PORTA_DATA 0x2006 PORTA_INTEN 0x2007 PORTA_FLAG 0x2008 PWMTM 0x2009 PWMDT 0x200A PWMPD 0x200B PWMGATE 0x200C PWMCHA 0x200D PWMCHB 0x200E PWMCHC 0x200F PWMSEG 0x2010 AUXCH0 0x2011 AUXCH1 0x2012 ...

Page 29

... ADMCF340 Function Multichannel Receive Word Enables Multichannel Receive Word Enables Multichannel Transmit Word Enables Multichannel Transmit Word Enables Control Register Serial Clock Divide Modulus Receive Frame Sync Divide Modulus Autobuffer Control Register ...

Page 30

... ADMCF340 BOOT-FROM-FLASH-CODE RESERVED ALWAYS READ 0 MOST SIGNIFICANT BIT IS ON THE LEFT. FOR EXAMPLE, DATA23 IS BIT 15 OF FMDRH. Figure 21. Configuration of Flash Memory Registers Default bit values are shown value is shown, the bit field is undefined at reset. Reserved bits are shown on a gray field—these bits should always be written as shown ...

Page 31

... PWMSWT (R/ Figure 22. Configuration of PWM Registers –31– ADMCF340 (0x2008) PWMTM f CLKOUT f = PWM 2 PWMTM (0x2009) PWMDT 2 PWMTM T = SECONDS D f CLKOUT (0x200F) ...

Page 32

... ADMCF340 LOW SIDE GATE CHOPPING 0 = DISABLE 1 = ENABLE HIGH SIDE GATE CHOPPING Figure 23. Configuration of Additional PWM Registers Default bit values are shown value is shown, the bit field is undefined at reset. Reserved bits are shown on a gray field—these bits should always be written as shown ...

Page 33

... AUX0/CLOCKOUT 1 = PA8 0 = AUX1/PWMSYNC 1 = PA7 0 = DR1 1 = PA6 0 = DT1/FL1 1 = PA5 0 = SCLK1/SCLK0 1 = PA4 Figure 24. Configuration of PIO Registers –33– ADMCF340 (0x2004 INPUT PA0-PA8 1 = OUTPUT (0x2044 ...

Page 34

... ADMCF340 Figure 25. Configuration of Additional PIO Registers Default bit values are shown value is shown, the bit field is undefined at reset. Reserved bits are shown on a gray field—these bits should always be written as shown ...

Page 35

... Figure 27. Configuration of ADC Registers –35– ADMCF340 DM (0x2000 DATA READY CONVERSION STATUS 1 = NOT READY DM (0x2001 DATA READY CONVERSION STATUS 1 = NOT READY DM (0x2002 DATA READY CONVERSION STATUS 1 = NOT READY DM (0x2003) DM (0x2068 ...

Page 36

... ADMCF340 15 0 SPORT SPORT MODE MODE SELECT 1 = UART MODE SPORT SPORT SPI MODE 1 = SP1 MODE 0 = STANDARD SPI CLOCK 1 = REVERSE POLARITY 0 = PHA0 SPI CLOCK 1 = PHA1 PHASE SENSE CHANNEL VOLTAGE SELECTION SENSE CHANNEL VOLTAGE SELECTION SENSE ...

Page 37

... Selection VAUX0 (1) VAUX1 (1) VAUX2 (1) VREF (1) VAUX4 VAUX5 VAUX6 VAUX7 REV. 0 Table XIV. Auxiliary Analog Input Selection MODECTRL (5) MODECTRL ( –37– ADMCF340 MODECTRL ( ...

Page 38

... ADMCF340 0 = DISABLE 1 = ENABLE 15 0 INTERRUPT FORCE IRQ2 SPORT0 TRANSMIT SPORT0 RECEIVE SOFTWARE 1 SOFTWARE 0 SPORT1 TRANSMIT OR IRQ1 SPORT1 RECEIVE OR IRQ0 TIMER PERIPHERAL (OR IRQ2 DISABLE (MASK ENABLE SOFTWARE 1 Figure 29. Configuration of Interrupt Control Registers Default bit values are shown value is shown, the bit field is undefined at reset. Reserved bits are shown on a gray field—these bits should always be written as shown ...

Page 39

... SPORT1 CONFIGURE MEMWAIT (R/ Figure 30. Configuration of Registers –39– ADMCF340 (0x3FFF FI, FO, IRQ0, IRQ1, SCLK 1 = SERIAL PORT (0x3FFE) ...

Page 40

... ADMCF340 0.75 (0.0295) 0.60 (0.0236) 0.45 (0.0177) 0.10 (0.0039) MAX LEAD COPLANARITY CONTROLLING DIMENSIONS ARE IN MILLIMETERS; INCH DIMENSIONS (IN PARENTHESES) ARE ROUNDED-OFF MILLIMETER EQUIVALENTS FOR REFERENCE ONLY AND ARE NOT APPROPRIATE FOR USE IN DESIGN OUTLINE DIMENSIONS 64-Lead Thin Plastic Quad Flatpack [LQFP] (ST-64) Dimensions shown in millimeters and (inches) 16 ...

Related keywords