Serial Host Interface
Serial Host Interface Programming Model
MOTOROLA
DSP56367
9-11
When the SHI is in slave mode and CPHA = 0, the SS line must be deasserted and asserted by
the external master between each successive word transfer. SS must remain asserted between
successive bytes within a word. The DSP core should write the next data word to HTX when
HTDE = 1, clearing HTDE. However, the data is transferred to the shift register for
transmission only when SS is deasserted. HTDE is set when the data is transferred from HTX
to the shift register.
When the SHI is in slave mode and CPHA = 1, the SS line may remain asserted between
successive word transfers. The SS must remain asserted between successive bytes within a
word. The DSP core should write the next data word to HTX when HTDE = 1, clearing
HTDE. The HTX data is transferred to the shift register for transmission as soon as the shift
register is empty. HTDE is set when the data is transferred from HTX to the shift register.
When the SHI is in master mode and CPHA = 0, the DSP core should write the next data word
to HTX when HTDE = 1, clearing HTDE. The data is transferred immediately to the shift
register for transmission. HTDE is set only at the end of the data word transmission.
Note:
The master is responsible for deasserting and asserting the slave device SS line
between word transmissions.
When the SHI is in master mode and CPHA = 1, the DSP core should write the next data word
to HTX when HTDE = 1, clearing HTDE. The HTX data is transferred to the shift register for
transmission as soon as the shift register is empty. HTDE is set when the data is transferred
from HTX to the shift register.
9.5.5.2
HCKR Prescaler Rate Select (HRS)—Bit 2
The HRS bit controls a prescaler in series with the clock generator divider. This bit is used to
extend the range of the divider when slower clock rates are desired. When HRS is set, the
prescaler is bypassed. When HRS is cleared, the fixed divide-by-eight prescaler is operational.
HRS is ignored when the SHI operates in the slave mode, except for I
2
C when HCKFR is set.
The HRS bit is cleared during hardware reset and software reset.
Note:
Use the equations in the SHI datasheet to determine the value of HRS for the
specific serial clock frequency required.
9.5.5.3
HCKR Divider Modulus Select (HDM[7:0])—Bits 10–3
The HDM[7:0] bits specify the divide ratio of the clock generator divider. A divide ratio
between 1 and 256 (HDM[7:0] = $00 to $FF) may be selected. When the SHI operates in the
slave mode, the HDM[7:0] bits are ignored (except for I
2
C when HCKFR is set). The
HDM[7:0] bits are cleared during hardware reset and software reset.
Note:
Use the equations in the SHI datasheet to determine the value of HDM[7:0] for the
specific serial clock frequency required.
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: ......