9-18
DSP56367
MOTOROLA
Serial Host Interface
Serial Host Interface Programming Model
9.5.6.15
Host Receive FIFO Not Empty (HRNE)—Bit 17
The read-only status bit HRNE indicates that the Host Receive FIFO (HRX) contains at least
one data word. HRNE is set when the FIFO is not empty. HRNE is cleared when HRX is read
by the DSP (read instructions or DMA transfers), reducing the number of words in the FIFO
to zero. HRNE is cleared during hardware reset, software reset, SHI individual reset, and
during the stop state.
9.5.6.16
Host Receive FIFO Full (HRFF)—Bit 19
The read-only status bit HRFF indicates, when set, that the Host Receive FIFO (HRX) is full.
HRFF is cleared when HRX is read by the DSP (read instructions or DMA transfers) and at
least one place is available in the FIFO. HRFF is cleared by hardware reset, software reset,
SHI individual reset, and during the stop state.
9.5.6.17
Host Receive Overrun Error (HROE)—Bit 20
The read-only status bit HROE indicates, when set, that a data-receive overrun error has
occurred. Receive-overrun errors cannot occur when operating in the I
2
C master mode,
because the clock is suspended if the receive FIFO is full; nor can they occur in the I
2
C slave
mode when HCKFR is set.
HROE is set when the shift register (IOSR) is filled and ready to transfer the data word to the
HRX FIFO and the FIFO is already full (HRFF is set). When a receive-overrun error occurs,
the shift register is not transferred to the FIFO. If a receive interrupt occurs with HROE set,
the receive-overrun interrupt vector is generated. If a receive interrupt occurs with HROE
cleared, the regular receive-data interrupt vector is generated.
HROE is cleared by reading the HCSR with HROE set, followed by reading HRX. HROE is
cleared by hardware reset, software reset, SHI individual reset, and during the stop state.
9.5.6.18
Host Bus Error (HBER)—Bit 21
The read-only status bit HBER indicates, when set, that an SHI bus error occurred when
operating as a master (HMST set). In I
2
C mode, HBER is set if the transmitter does not
receive an acknowledge after a byte is transferred; then a stop event is generated and
transmission is suspended. In SPI mode, HBER is set if SS is asserted; then transmission is
suspended at the end of transmission of the current word. HBER is cleared only by hardware
reset, software reset, SHI individual reset, and during the stop state.
9.5.6.19
HCSR Host Busy (HBUSY)—Bit 22
The read-only status bit HBUSY indicates that the I
2
C bus is busy (when in the I
2
C mode) or
that the SHI itself is busy (when in the SPI mode). When operating in the I
2
C mode, HBUSY
is set after the SHI detects a start event and remains set until a stop event is detected. When
operating in the slave SPI mode, HBUSY is set while SS is asserted. When operating in the
master SPI mode, HBUSY is set if the HTX register is not empty or if the IOSR is not empty.
Summary of Contents for DSP56367
Page 16: ...xvi MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 22: ...xxii MOTOROLA List of Figures Figure Number Title Page Number ...
Page 26: ...xxvi MOTOROLA List of Tables Table Number Title Page Number ...
Page 148: ...4 6 DSP56367 MOTOROLA Design Considerations PLL Performance Issues ...
Page 248: ...9 30 DSP56367 MOTOROLA Serial Host Interface SHI Programming Considerations ...
Page 306: ...10 58 DSP56367 MOTOROLA Enhanced Serial Audio Interface ESAI ESAI Initialization Examples ...
Page 389: ...Bootstrap ROM Contents MOTOROLA DSP56367 A 15 end ...
Page 390: ...A 16 DSP56367 MOTOROLA Bootstrap ROM Contents ...
Page 432: ...C 8 DSP56367 MOTOROLA JTAG BSDL ...
Page 484: ...D 52 DSP56367 MOTOROLA Programmer s Reference ...
Page 490: ...E 6 DSP56367 MOTOROLA Power Consumption Benchmark ...
Page 516: ...F 26 DSP56367 MOTOROLA IBIS Model ...
Page 522: ...Index 6 MOTOROLA Index ...
Page 523: ......