Motorola MSC8101 ADS User's Guide Page 8

  • Download
  • Add to my manuals
  • Print
  • Page
    / 346
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 7
Contents
viii MSC8101 User’s Guide
6.2.4 DMA Internal/External Mask Registers (DIMR/DEMR) . . . . . . . . . . . . . . . . . . . 6-9
6.2.5 DMA Channel Parameters RAM (DCPRAM) . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9
6.2.6 FIFO Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12
6.2.7 Multiple Pending DMA Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-12
6.2.8 Buffering and Bursting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-13
6.2.9 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-13
6.3 Using DMA Signals to Initiate and Control DMA Transfers . . . . . . . . . . . . . . . . . . 6-14
6.4 DMA Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-15
6.4.1 Internal to External Dual Access, Simple Buffer . . . . . . . . . . . . . . . . . . . . . . . . 6-15
6.4.2 External to External Dual-Access Burst Transfer, Cyclic Buffer . . . . . . . . . . . . 6-17
6.4.3 Internal Peripheral to External Dual Access, Simple Buffer. . . . . . . . . . . . . . . . 6-19
6.4.4 External to External Dual Access, Chained with Interrupts . . . . . . . . . . . . . . . . 6-21
6.5 Avoiding DMA and SC140 Core Contentions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-25
6.6 Related Reading. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-26
Chapter 7
Interrupts and Interrupt Priorities
7.1 Interrupt Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
7.2 Programmable Interrupt Controller (PIC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
7.3 Programming MSC8101 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
7.3.1 Setting the Interrupt Table Base Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
7.3.2 Setting the Interrupt Priority Level and Trigger Mode . . . . . . . . . . . . . . . . . . . . . 7-4
7.3.3 Monitoring the Status of Pending Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5
7.3.4 Routing Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
7.4 Interrupt Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8
7.4.1 PIC Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9
7.4.2 Clearing Pending Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-9
7.4.3 EFCOP Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-10
7.4.4 PIC Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-13
7.4.4.1 Examples of SIC Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-14
7.4.4.2 Examples of SIC Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-16
Chapter 8
Host Interface (HDI16)
8.1 HDI16 Programming Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
8.1.1 Host-Side Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
8.1.2 DSP-Side Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3
8.2 Operating in Different Data Transfer Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3
8.2.1 Normal Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-5
8.2.2 Host DMA Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8
8.3 Managing Data Transfers Via Handshaking Protocols . . . . . . . . . . . . . . . . . . . . . . . 8-12
8.3.1 Software Polling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13
8.3.1.1 DSP Polling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-13
8.3.1.2 Host Polling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-15
Page view 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 345 346

Comments to this Manuals

No comments