2 hckr prescaler rate select (hrs)-bit 2, 3 hckr divider modulus select (hdm[7:0])-bits 10-3, 4 hckr reserved bits-bits 23-14, 11 – Freescale Semiconductor DSP56366 User Manual

Page 133: 5 hckr filter mode (hfm[1:0]) - bits 13-12, Hckr prescaler rate select (hrs)—bit 2 -9, Hckr reserved bits—bits 23–14, 11 -9, Hckr filter mode (hfm[1:0]) — bits 13–12 -9

Advertising
background image

Serial Host Interface Programming Model

DSP56366 24-Bit Digital Signal Processor User Manual, Rev. 4

Freescale Semiconductor

7-9

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.

7.4.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.

7.4.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.

7.4.5.4

HCKR Reserved Bits—Bits 23–14, 11

These bits in HCKR are reserved. They are read as zero and should be written with zero for future
compatibility.

7.4.5.5

HCKR Filter Mode (HFM[1:0]) — Bits 13–12

The read/write control bits HFM[1:0] specify the operational mode of the noise reduction filters, as
described in

Table 7-3

. The filters are designed to eliminate undesired spikes that might occur on the clock

and data-in lines and allow the SHI to operate in noisy environments when required. One filter is located
in the input path of the SCK/SCL line and the other is located in the input path of the data line (i.e., the
SDA line when in I

2

C mode, the MISO line when in SPI master mode, and the MOSI line when in SPI

slave mode).

Advertising