công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

DSP56857 bảng dữ liệu(PDF) 277 Page - Freescale Semiconductor, Inc

tên linh kiện DSP56857
Giải thích chi tiết về linh kiện  Digitial Signal Controller
PDF  662 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  FREESCALE [Freescale Semiconductor, Inc]
Trang chủ  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

DSP56857 bảng dữ liệu(HTML) 277 Page - Freescale Semiconductor, Inc

Back Button DSP56857 Datasheet HTML 273Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 274Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 275Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 276Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 277Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 278Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 279Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 280Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 281Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 277 / 662 page
background image
Operating Modes
Serial Peripheral Interface (SPI), Rev. 4
Freescale Semiconductor
11-7
11.6 Operating Modes
The SPI has two operating modes:
•Master
•
Slave
An operating mode is selected by the SPMSTR bit in the SPSCR as follows:
•
SPMSTR = 0 Slave mode
•
SPMSTR = 1 Master mode
Note:
The SPMSTR bit should be configured before enabling the SPI, setting the SPE bit in
the SPSCR. The master SPI should be enabled before enabling any slave SPI. All slave
SPIs should be disabled before disabling the master SPI.
11.6.1 Master Mode
The SPI operates in Master mode when the SPI master bit, SPMSTR, is set.
Note:
Configure the SPI module as master or slave before enabling the SPI. Enable the
master SPI before enabling the slave SPI. Disable the slave SPI before disabling the
master SPI.
Only a Master SPI module can initiate transmissions. With the SPI enabled, software begins the
transmission from the Master SPI module by writing to the SPI Data Transmit Register (SPDTR).
If the Shift register is empty, the data immediately transfers to the Shift register, setting the SPI
Transmitter Empty (SPTE) bit. The data begins shifting out on the MOSI pin under the control of
the SPI Serial Clock (SCLK).
The SPR2, SPR1 and SPR0 bits in the SPSCR register, control the baud rate generator and
determine the speed of the Shift register. Through the SCLK pin, the baud rate generator of the
master also controls the Shift register of the slave peripheral.
As the data shifts out on the MOSI pin of the master, external data shifts in from the slave on the
master’s MISO pin. The transmission ends when the Receiver Full (SPRF) bit becomes set. At the
same time the SPRF becomes set the data from the slave transfer to the Receive Data register. In
normal operation, SPRF signals the end of a transmission. Software clears SPRF by reading the
SPI Data Receive Register (SPDRR). Writing to the SPI Data Transmit Register (SPDTR) clears
the SPTE bit.
Figure 11-3 is an example configuration for a Full-Duplex Master-Slave Configuration. Having
the SS bit of the Master DSC held high is only necessary if MODFEN = 1. Tying the Slave DSC
SS bit to ground should only be executed if CPHA = 1.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com