Serial Host Interface
Serial Host Interface Programming Model
MOTOROLA
DSP56009 User’s Manual
5-11
used in conjunction with the CPOL bit to select the desired clock-to-data relationship.
The CPHA bit, in general, selects the clock edge that captures data and allows it to
change states. It has its greatest impact on the first bit transmitted (MSB) in that it
does or does not allow a clock transition before the data capture edge.
When 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 will be 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 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 will be 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 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 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 will be 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.
The clock phase and polarity should be identical for both the master and slave SPI
devices. CPHA and CPOL are functional only when the SHI operates in the SPI
mode, and are ignored in the I
2
C mode. The CPHA bit is set and the CPOL bit is
cleared during hardware reset and software reset.
5.3.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
Summary of Contents for DSP56009
Page 19: ...MOTOROLA DSP56009 User s Manual 1 1 SECTION 1 OVERVIEW ...
Page 38: ...1 20 DSP56009 User s Manual MOTOROLA Overview DSP56009 Architectural Overview ...
Page 39: ...MOTOROLA DSP56009 User s Manual 2 1 SECTION 2 SIGNAL DESCRIPTIONS ...
Page 64: ...2 26 DSP56009 User s Manual MOTOROLA Signal Descriptions On Chip Emulation OnCETM Port ...
Page 65: ...SECTION 3 MEMORY OPERATING MODES AND INTERRUPTS ...
Page 85: ...MOTOROLA DSP56009 User s Manual 4 1 SECTION 4 EXTERNAL MEMORY INTERFACE ...
Page 149: ...MOTOROLA DSP56009 User s Manual 5 1 SECTION 5 SERIAL HOST INTERFACE ...
Page 180: ...5 32 DSP56009 User s Manual MOTOROLA Serial Host Interface SHI Programming Considerations ...
Page 181: ...MOTOROLA DSP56009 User s Manual 6 1 SECTION 6 SERIAL AUDIO INTERFACE ...
Page 207: ...MOTOROLA DSP56009 User s Manual 7 1 SECTION 7 GENERAL PURPOSE INPUT OUTPUT ...
Page 212: ...7 6 DSP56009 User s Manual MOTOROLA General Purpose Input Output GPIO Register GPIOR ...
Page 220: ...A 8 DSP56009 User s Manual MOTOROLA Bootstrap ROM Contents ...
Page 221: ...MOTOROLA DSP56009 User s Manual B 1 APPENDIX B PROGRAMMING REFERENCE ...
Page 250: ...B 30 DSP56009 User s Manual MOTOROLA Programming Reference ...
Page 251: ...MOTOROLA DSP56009 User s Manual C 1 APPENDIX C APPLICATION EXAMPLES ...
Page 262: ...C 12 DSP56009 User s Manual MOTOROLA Application Examples ...
Page 269: ...MOTOROLA DSP56009 User s Manual C 1 APPENDIX C APPLICATION EXAMPLES ...
Page 280: ...C 12 DSP56009 User s Manual MOTOROLA Application Examples ...