Freescale-semiconductor DSP56366 User Manual Page 129

  • Download
  • Add to my manuals
  • Print
  • Page
    / 366
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 128
Serial Host Interface Programming Model
DSP56366 24-Bit Digital Signal Processor User Manual, Rev. 4
Freescale Semiconductor 7-5
The SHI interrupt vector table is shown in Table 7-1 and the exception priorities generated by the SHI are
shown in Table 7-2.
7.4.1 SHI Input/Output Shift Register (IOSR)—Host Side
The variable length Input/Output Shift Register (IOSR) can be viewed as a serial-to-parallel and
parallel-to-serial buffer in the SHI. The IOSR is involved with every data transfer in both directions (read
and write). In compliance with the I
2
C and SPI bus protocols, data is shifted in and out MSB first. In 8-bit
data transfer modes, the most significant byte of the IOSR is used as the shift register. In 16-bit data
transfer modes, the two most significant bytes become the shift register. In 24-bit transfer modes, the shift
register uses all three bytes of the IOSR (see Figure 7-5).
NOTE
The IOSR cannot be accessed directly either by the host processor or by the
DSP. It is fully controlled by the SHI controller logic.
Table 7-1 SHI Interrupt Vectors
Program Address Interrupt Source
VBA:$0040 SHI Transmit Data
VBA:$0042 SHI Transmit Underrun Error
VBA:$0044 SHI Receive FIFO Not Empty
VBA:$0048 SHI Receive FIFO Full
VBA:$004A SHI Receive Overrun Error
VBA:$004C SHI Bus Error
Table 7-2 SHI Internal Interrupt Priorities
Priority Interrupt
Highest SHI Bus Error
SHI Receive Overrun Error
SHI Transmit Underrun Error
SHI Receive FIFO Full
SHI Transmit Data
Lowest SHI Receive FIFO Not Empty
Page view 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 365 366

Comments to this Manuals

No comments