Electronic Components Datasheet Search
  English  ▼

X  

ADMC300BST Datasheet(PDF) 28 Page - Analog Devices

Part # ADMC300BST
Description  High Performance DSP-Based Motor Controller
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AD [Analog Devices]
Direct Link  http://www.analog.com
Logo AD - Analog Devices

ADMC300BST Datasheet(HTML) 28 Page - Analog Devices

Back Button ADMC300BST Datasheet HTML 24Page - Analog Devices ADMC300BST Datasheet HTML 25Page - Analog Devices ADMC300BST Datasheet HTML 26Page - Analog Devices ADMC300BST Datasheet HTML 27Page - Analog Devices ADMC300BST Datasheet HTML 28Page - Analog Devices ADMC300BST Datasheet HTML 29Page - Analog Devices ADMC300BST Datasheet HTML 30Page - Analog Devices ADMC300BST Datasheet HTML 31Page - Analog Devices ADMC300BST Datasheet HTML 32Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 42 page
background image
ADMC300
–28–
REV. B
digital outputs using the PIODIR register. In this mode, writing
suitable patterns to the PIODATA register will trigger the
corresponding event capture on the ETU channels.
ETU Interrupt Generation
The completion of the event capture sequence can be defined as
either the occurrence of Event B or the second occurrence of
Event A by setting the appropriate bits of the ETUCONFIG
register. At the end of the capture sequence, the ETU gener-
ates an interrupt. For example, if Bit 2 of the ETUCONFIG
register is set, ETU Channel 0 will generate an ETU interrupt
on the occurrence of Event B on the ETU0 pin. On the other
hand, if Bit 6 of the ETUCONFIG register is cleared, ETU
Channel 1 will generate an ETU interrupt on the occurrence of
the second Event A on the ETU1 pin. Both ETU channels
generate the same interrupt to the DSP when capture is com-
plete. If both ETU channels are used simultaneously, the
ETUSTAT register can be polled to determine which caused
the interrupt. If capture on ETU Channel 0 is complete, Bit 0
of the ETUSTAT register is set; if capture on ETU Channel 1
is complete, Bit 1 is set. Reading the ETUSTAT register auto-
matically clears all bits of the register.
CLKIN
ETU0
ETU
INTERRUPT
ETU1
ETUDIVIDE (15…0)
EVENT
DETECTOR
EVENT
DETECTOR
ETUA0 (15…0)
ETUB0 (15…0)
ETUAA0 (15…0)
ETU Timer
ETUA1 (15…0)
ETUB1 (15…0)
ETUAA1 (15…0)
ETUCONFIG (7)…0
ETUCTRL (1…0)
ETUSTAT (1…0)
ETUTIME (15…0)
Figure 18. Functional Block Diagram of Event Timer Unit
ETU Operating Modes
The ETU channels of the ADMC300 can operate in two dis-
tinct modes; single shot and free-running. The particular mode
may be selected for ETU Channel 0 by programming Bit 3 of
the ETUCONFIG register and for ETU channel 1 by program-
ming Bit 7 of the ETUCONFIG register. Setting these bits
puts the respective ETU channel in free-running mode while
clearing the bits enables the single-shot mode. In single-shot
mode, upon completion of the capture sequence, further event
capture is disabled until the appropriate bit of the ETUCTRL
register has been set. Setting Bit 0 of the ETUCTRL register
restarts the capture for ETU Channel 0, while Bit 1 restarts
capture for Channel 1. In the free-running mode, the bits of the
ETUCTRL register remain set and the ETU channel continues
to capture following the generation of the interrupt.
ETU Registers
The configuration of the ETU registers is shown at the end of
the data sheet.
INTERRUPT CONTROL
Operation and control of the various interrupt sources is man-
aged by a combination of the internal interrupt controller of the
DSP core and a dedicated Programmable Interrupt Controller
(PIC) that manages all interrupts from the motor control peripher-
als. Eight internal DSP core interrupts comprise the peripheral
(
IRQ2), SPORT0 transmit and receive, two software, SPORT1
transmit and receive (or alternatively
IRQ1 and IRQ0), and the
timer interrupts. The ADMC300 includes eleven additional
interrupts that are interfaced to the DSP core through the
IRQ2
interrupt. The eleven peripheral interrupts include two ADC
interrupts (one per bank), the PWMSYNC interrupt, the five
PIO interrupts (four dedicated to PIO0 to PIO3 and the com-
bined PIO4 to PIO11 interrupt), the EIU interrupt, the ETU
interrupt and the
PWMTRIP interrupt. Each of the nineteen
interrupts of the ADMC300 has a dedicated four word sec-
tion in the interrupt vector table. The start address in the
interrupt vector table for each of the nineteen ADMC300
interrupt sources is tabulated in Table VII. The interrupts
are listed from the highest priority to the lowest priority.
The entire interrupt control system of the ADMC300 is config-
ured and controlled by the IFC, IMASK and ICNTL registers
of the DSP core and the PICMASK and PICVECTOR registers
of the PIC block.
Table VII. Interrupt Vector Addresses
Interrupt Vector
Interrupt Source
Address
Peripheral Interrupt (
IRQ2)
0x0004 (Highest Priority)
ADC Bank A Update
0x0030
PWMSYNC
0x0034
ADC Bank B Update
0x0038
PIO Interrupt (PIO4 to PIO11)
0x003C
Encoder Interface Interrupt
0x0040
Event Timer Unit Interrupt
0x0044
PIO0 Interrupt
0x0048
PIO1 Interrupt
0x004C
PIO2 Interrupt
0x0050
PIO3 Interrupt
0x0054
PWMTRIP Interrupt
0x0058
SPORT0 Transmit Interrupt
0x0010
SPORT0 Receive Interrupt
0x0014
Software Interrupt 1
0x0018
Software Interrupt 0
0x001C
SPORT1 Transmit Interrupt or
IRQ1 0x0020
SPORT1 Receive Interrupt or
IRQ0
0x0024
Timer
0x0028 (Lowest Priority)
Interrupt Masking
Interrupt masking (or disabling) is controlled by the IMASK
register of the DSP core and the PICMASK register. These
registers contain individual bits that must be set to enable the
various interrupt sources. It is important to remember that if
any peripheral interrupt is to be enabled both the
IRQ2
interrupt enable bit (Bit 9) of the IMASK register and the
appropriate bit of the PICMASK register must be set. The
configuration of both the IMASK and PICMASK registers of
the ADMC300 is shown at the end of the data sheet.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com