| 数据搜索系统,热门电子元器件搜索 |
|
DSP56303 数据表(PDF) 106 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
DSP56303 数据表(HTML) 106 Page - Freescale Semiconductor, Inc |
|
106 / 292 page ![]() DSP56303 User’s Manual, Rev. 2 6-6 Freescale Semiconductor Host Interface (HI08) The choice of which protocol to use is based on such system constraints as the amount of data to be transferred, the timing requirements for the transfer, and the availability of such resources as processing bandwidth and DMA channels. All of these constraints are discussed in the following sections. The transfers described here occur asynchronously between the host and the DSP; each transferring data at its own pace. However, use of the appropriate handshaking protocol allows data transfers to occur at optimum rates. 6.4.1 Software Polling Software polling is the simplest data transfer method to use, but it demands the greatest amount of the core’s processing power. Status bits are provided for the host or the DSP core to test and determine if the data registers are empty or full. However, the DSP core cannot be involved in other processing activities while it is polling these status bits. On the DSP side, for transfers from the DSP to the host (host reads), the DSP core must determine the state of Host Transmit Data register (HTX). In transfers from the host to the DSP (host writes), the DSP side should determine the state of the Host Receive Data Register (HRX). Thus, two bits are provided to the core for polling: the Host Transmit Data Empty (HTDE) bit in the Host Status register (HSR[1]:HTDE) the Host Receive Data Full (HRDF) bit in the Host Status register (HSR[0]:HRDF) A similar mechanism is available on the host-side to determine the state of the Transmit Registers (TXH:TXM:TXL) and Receive Registers (RXH:RHM:RHL). Two bits are provided to the host for polling: the Transmit Data Empty (TXDE) bit in the Interface Status Register (ISR[1]:TXDE) the Receive Data Full (RXDF) bit in the Interface Status Register (ISR[0]:RXDF) The HI08 also offers four general-purpose flags for communication between the host and the DSP. The DSP-side uses the HSR Host Flag bits (HCR[4–3] = HF[3–2]) to pass application-specific information to the host. The status of HF3–HF2 is reflected in the host-side ISR Host Flag bits (ISR[4–3] = HF[3–2]). Similarly, the host side can use the ICR Host Flag bits (ICR[4–3] = HF[1–0]) to pass application-specific information to the DSP. The status of HF[1–0] is reflected in the DSP-side HSR Host Flag bits (HSR[4–3] = HF[1–0]). 6.4.2 Core Interrupts and Host Commands The HI08 can request interrupt service from the DSP56303 core. The DSP56303 core interrupts are internal and do not require the use of an external interrupt signal. When the appropriate interrupt enable bit in the HCR is set, an interrupt condition caused by the host interface sets the appropriate bit in the HSR, generating an interrupt request to the DSP56303 interrupt controller (see Figure 6-2). The DSP56303 acknowledges interrupts by jumping to the appropriate interrupt service routine. The following DSP core interrupts are possible from the HI08 peripheral: |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |