- •Performance Features
- •Integration Features
- •System Interface Features
- •Functional Block Diagram
- •GENERAL DESCRIPTION
- •Table 1. ADSP-218xN DSP Microcomputer Family
- •DEVELOPMENT SYSTEM
- •Additional Information
- •ARCHITECTURE OVERVIEW
- •Serial Ports
- •PIN DESCRIPTIONS
- •Memory Interface Pins
- •Table 3. Full Memory Mode Pins (Mode C = 0)
- •Terminating Unused Pins
- •Interrupts
- •LOW-POWER OPERATION
- •Power-Down
- •Idle
- •Slow Idle
- •System Interface
- •Figure 1. Basic System Interface
- •Clock Signals
- •Figure 2. External Crystal Connections
- •Reset
- •Power Supplies
- •Modes Of Operation
- •Setting Memory Mode
- •Passive Configuration
- •Active Configuration
- •IDMA ACK Configuration
- •Memory Architecture
- •Figure 3. ADSP-2184 Memory Architecture
- •Figure 4. ADSP-2185 Memory Architecture
- •Figure 5. ADSP-2186 Memory Architecture
- •Figure 6. ADSP-2187 Memory Architecture
- •Figure 7. ADSP-2188 Memory Architecture
- •Figure 8. ADSP-2189 Memory Architecture
- •Program Memory
- •Table 8. PMOVLAY Bits
- •Data Memory
- •Memory-Mapped Registers (New to the ADSP-218xM and N series)
- •I/O Space (Full Memory Mode)
- •Table 10. Wait States
- •Figure 9. Wait State Control Register
- •Composite Memory Select
- •Figure 11. System Control Register
- •Byte Memory Select
- •Byte Memory
- •Byte Memory DMA (BDMA, Full Memory Mode)
- •Figure 12. BDMA Control Register
- •Table 11. Data Formats
- •Internal Memory DMA Port (IDMA Port; Host Memory Mode)
- •Table 12. IDMA/BDMA Overlay Bits
- •Figure 13. IDMA OVLAY/Control Registers
- •Bootstrap Loading (Booting)
- •IDMA Port Booting
- •Bus Request and Bus Grant
- •Flag I/O Pins
- •Instruction Set Description
- •Designing An EZ-ICE-Compatible System
- •Figure 14. Mode A Pin/EZ-ICE Circuit
- •Target Board Connector for EZ-ICE Probe
- •Figure 15. Target Board Connector for EZ-ICE
- •Target Memory Interface
- •Target System Interface Signals
- •Specifications
- •ABSOLUTE MAXIMUM RATINGS
- •ESD Sensitivity
- •Power Dissipation
- •Table 13. Example Power Dissipation Calculation
- •Environmental Conditions
- •Table 14. Thermal Resistance
- •Test Conditions
- •Figure 16. Voltage Reference Levels for AC Measurements (Except Output Enable/Disable)
- •Figure 17. Equivalent Loading for AC Measurements (Including All Fixtures)
- •Figure 18. Output Enable/Disable
- •Output Disable Time
- •Output Enable Time
- •Timing Specifications
- •General Notes
- •Timing Notes
- •Frequency Dependency For Timing Specifications
- •Output Drive Currents
- •Figure 19. Typical Output Driver Characteristics for VDDEXT at 3.6 V, 3.3 V, 2.5 V, and 1.8 V
- •Figure 20. Power vs. Frequency
- •Figure 21. Typical Power-Down Current
- •Capacitive Loading
- •Figure 22. Typical Output Rise Time vs. Load Capacitance (at Maximum Ambient Operating Temperature)
- •Clock Signals and Reset
- •Table 15. Clock Signals and Reset
- •Figure 24. Clock Signals and Reset
- •Interrupts and Flags
- •Table 16. Interrupts and Flags
- •Figure 25. Interrupts and Flags
- •Bus Request–Bus Grant
- •Table 17. Bus Request–Bus Grant
- •Figure 26. Bus Request–Bus Grant
- •Memory Read
- •Table 18. Memory Read
- •Figure 27. Memory Read
- •Memory Write
- •Table 19. Memory Write
- •Figure 28. Memory Write
- •Serial Ports
- •Table 20. Serial Ports
- •Figure 29. Serial Ports
- •IDMA Address Latch
- •Table 21. IDMA Address Latch
- •Figure 30. IDMA Address Latch
- •IDMA Write, Short Write Cycle
- •Table 22. IDMA Write, Short Write Cycle
- •Figure 31. IDMA Write, Short Write Cycle
- •IDMA Write, Long Write Cycle
- •Table 23. IDMA Write, Long Write Cycle
- •Figure 32. IDMA Write, Long Write Cycle
- •IDMA Read, Long Read Cycle
- •Table 24. IDMA Read, Long Read Cycle
- •Figure 33. IDMA Read, Long Read Cycle
- •IDMA Read, Short Read Cycle
- •Table 25. IDMA Read, Short Read Cycle
- •Figure 34. IDMA Read, Short Read Cycle
- •IDMA Read, Short Read Cycle in Short Read Only Mode
- •Table 26. IDMA Read, Short Read Cycle in Short Read Only Mode
- •Figure 35. IDMA Read, Short Read Cycle in Short Read Only Mode
- •LQFP Package Pinout
- •100-Lead LQFP Pin Configuration
- •Mini-BGA Package Pinout
- •144-Ball Mini-BGA Package Pinout (Bottom View)
- •Outline Dimensions
- •144-Ball Mini-BGA (CA-144)
- •Ordering Guide
- •Table 29. Ordering Guide
ADSP-218xN Series
DSP cycle. DSP accesses to external memory have priority over BDMA byte memory accesses.
The BDMA Context Reset bit (BCR) controls whether the processor is held off while the BDMA accesses are occurring. Setting the BCR bit to 0 allows the processor to continue operations. Setting the BCR bit to 1 causes the processor to stop execution while the BDMA accesses are occurring, to clear the context of the processor, and start execution at address 0 when the BDMA accesses have completed.
The BDMA overlay bits specify the OVLAY memory blocks to be accessed for internal memory. Set these bits as indicated in.
Note: BDMA cannot access external overlay memory regions 1 and 2.
The BMWAIT field, which has four bits on ADSP-218xN series members, allows selection up to 15 wait states for BDMA transfers.
Internal Memory DMA Port (IDMA Port; Host Memory Mode)
The IDMA Port provides an efficient means of communication between a host system and ADSP-218xN series members. The port is used to access the on-chip program memory and data memory of the DSP with only one DSP cycle per word overhead. The IDMA port cannot, however, be used to write to the DSP’s memory-mapped control registers. A typical IDMA transfer process is shown as follows:
1.Host starts IDMA transfer.
2.Host checks IACK control line to see if the DSP is busy.
3.Host uses IS and IAL control lines to latch either the DMA starting address (IDMAA) or the PM/DM OVLAY selection into the DSP’s IDMA control registers. If Bit 15 = 1, the value of bits 7–0 represent the IDMA overlay; bits 14–8 must be set to 0. If Bit 15 = 0, the value of Bits 13–0 represent the starting address of internal memory to be accessed and Bit 14 reflects PM or DM for access. Set IDDMOVLAY and IDPMOVLAY bits in the IDMA overlay register as indicted in Table 12.
4.Host uses IS and IRD (or IWR) to read (or write) DSP internal memory (PM or DM).
5.Host checks IACK line to see if the DSP has completed the previous IDMA operation.
6.Host ends IDMA transfer.
Table 12. IDMA/BDMA Overlay Bits
|
IDMA/BDMA |
IDMA/BDMA |
Processor |
PMOVLAY |
DMOVLAY |
|
|
|
ADSP-2184N |
0 |
0 |
ADSP-2185N |
0 |
0 |
ADSP-2186N |
0 |
0 |
ADSP-2187N |
0, 4, 5 |
0, 4, 5 |
ADSP-2188N |
0, 4, 5, 6, 7 |
0, 4, 5, 6, 7, 8 |
ADSP-2189N |
0, 4, 5 |
0, 4, 5, 6, 7 |
|
|
|
The IDMA port has a 16-bit multiplexed address and data bus and supports 24-bit program memory. The IDMA port is completely asynchronous and can be written while the ADSP-218xN is operating at full speed.
The DSP memory address is latched and then automatically incremented after each IDMA transaction. An external device can therefore access a block of sequentially addressed memory by specifying only the starting address of the block. This increases throughput as the address does not have to be sent for each memory access.
IDMA Port access occurs in two phases. The first is the IDMA Address Latch cycle. When the acknowledge is asserted, a 14-bit address and 1-bit destination type can be driven onto the bus by an external device. The address specifies an on-chip memory location, the destination type specifies whether it is a DM or PM access. The falling edge of the IDMA address latch signal (IAL) or the missing edge of the IDMA select signal (IS) latches this value into the IDMAA register.
Once the address is stored, data can be read from, or written to, the ADSP-218xN’s on-chip memory. Asserting the select line (IS) and the appropriate read or write line (IRD and IWR respectively) signals the ADSP-218xN that a particular transaction is required. In either case, there is a one- processor-cycle delay for synchronization. The memory access consumes one additional processor cycle.
Once an access has occurred, the latched address is automatically incremented, and another access can occur.
Through the IDMAA register, the DSP can also specify the starting address and data format for DMA operation. Asserting the IDMA port select (IS) and address latch enable (IAL) directs the ADSP-218xN to write the address onto the IAD14–0 bus into the IDMA Control Register (Figure 13). If Bit 15 is set to 0, IDMA latches the address. If Bit 15 is set to 1, IDMA latches into the OVLAY register. This register, also shown in Figure 13, is memory-mapped at address DM (0x3FE0). Note that the latched address (IDMAA) cannot be read back by the host.
When Bit 14 in 0x3FE7 is set to zero, short reads use the timing shown in Figure 34 on page 37. When Bit 14 in 0x3FE7 is set to 1, timing in Figure 35 on page 38 applies for short reads in short read only mode. Set IDDMOVLAY
REV. 0 |
–17– |
