| Electronic Components Datasheet Search |
|
AD1845 Datasheet(PDF) 31 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD1845 Datasheet(HTML) 31 Page - Analog Devices |
|
31 / 40 page ![]() AD1845 –31– REV. C Switching between playback and capture in Single-Channel DMA mode does not require changing the PPIO and CPIO bits or passing through the Mode Change Enable state except for initial setup. For setup, assign zeros to both PPIO and CPIO. This configures both playback and capture for DMA. Following setup, switching between playback and capture can be effected entirely by setting and clearing the PEN and CEN control bits, a technique which avoids having to enter Mode Change Enable. Dual-Channel DMA The AD1845 is designed to support full duplex DMA operation by allowing simultaneous capture and playback. The Dual- Channel DMA feature enables playback and capture DMA requests and acknowledges to occur on separate DMA channels. Capture and playback are enabled and set for DMA transfers. In addition, Dual-Channel DMA must be set (SDC = 0). It is not necessary to enter MCE (Mode Change Enable) to change PEN and CEN (Playback and Capture Enable). DMA Timing Below, timing parameters are shown for 8-Bit Mono Sample Read/Capture and Write/Playback DMA transfers in Figures 22 and 23. The same timing parameters apply to multi-byte trans- fers. The relationship between timing signals is shown in Fig- ures 24 and 25. The Host Interrupt Pin (INT) will go HI after a sample transfer in which the Current Count Register underflows. ISA BUS BCLK tDHD1 tDBDL tDKSU tDKHDb CDRQ OUTPUT CDAK INPUT DBEN & DBDIR OUTPUTS RD INPUT DATA7:0 OUTPUTS tRDDV tDRHD tSTW Figure 22. 8-Bit Mono DMA Read/Capture Cycle ISA BUS BCLK tDHD2 tSTW tDSDL tDKSU tDKHDa PDRQ OUTPUT PDAK INPUT DBEN OUTPUT WR INPUT DATA7:0 OUTPUTS HI DBDIR OUTPUT tDRHD tWDSU Figure 23. 8-Bit Mono DMA Write/Playback Cycle ISA BUS BCLK CDRQ /PDRQ OUTPUTS CDAK/PDAK INPUTS RD OR WR INPUTS DATA7:0 tBWDN LEFT/ LOW BYTE RIGHT/ HIGH BYTE Figure 24. 8-Bit Stereo or 16-Bit Mono DMA Cycle ISA BUS BCLK CDRQ /PDRQ OUTPUTS CDAK/PDAK INPUTS RD OR WR INPUTS DATA7:0 tBWDN LOW BYTE HIGH BYTE LOW BYTE HIGH BYTE LEFT SAMPLE RIGHT SAMPLE Figure 25. 16-Bit Stereo DMA Interrupt DMA Interrupt Writing to the internal 16-bit Base Count Register sets up the count value for the number of samples to be transferred. Note that the number of bytes transferred for a given count will be a function of the selected global data format. The internal Cur- rent Count Register is updated with the current contents of the Upper and Lower Base Count Registers when a write occurs to the Upper Base Count Register. The Current Count Register cannot be read by the host. Read- ing the Base Count Registers will only read back the initializa- tion values written to them. The Current Count Register decrements by one after every sample transferred. An interrupt event is generated after the Current Count Register is zero and an additional playback sample is transferred. The INT bit in the Status Register always reflects the current internal interrupt state defined above. The external INT pin will only go active HI if the Interrupt Enable (wIEN) bit in the Interface Configuration Register is set. If the IEN bit is zero, the external INT pin will always stay LO, even though the Status Register’s INT bit may be set. |
|
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 |
| 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 |