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

X  

SH89F52P/044PR bảng dữ liệu(PDF) 59 Page - SINOWEALTH Electronic Ltd

tên linh kiện SH89F52P/044PR
Giải thích chi tiết về linh kiện  8051 Microcontroller with 10bit ADC
PDF  105 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  SINOWEALTH [SINOWEALTH Electronic Ltd]
Trang chủ  https://en.sinowealth.com
Logo SINOWEALTH - SINOWEALTH Electronic Ltd

SH89F52P/044PR bảng dữ liệu(HTML) 59 Page - SINOWEALTH Electronic Ltd

Back Button SH89F52P/044PR Datasheet HTML 55Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 56Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 57Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 58Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 59Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 60Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 61Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 62Page - SINOWEALTH Electronic Ltd SH89F52P/044PR Datasheet HTML 63Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 59 / 105 page
background image
SH88F516(SH88F54/SH89F52)
59
9.2 Serial Peripheral Interface (SPI)
9.2.1 Feature
 Full-duplex, three-wire synchronous transfers
 Master or slave operation
 Six programmable master clock rates
 Serial clock with programmable polarity and phase
 Master mode fault error flag with MCU interrupt capability
 Write collision flag protection
 Selectable LSB or MSB transfer
The Serial Peripheral Interface (SPI) Module allows full-duplex, synchronous, serial communication between the MCU and
peripheral devices, including other MCUs.
The following diagram shows a typical SPI bus configuration using one master controller and many slave peripherals. The bus
is made of three wires connecting all the devices. The master device selects the individual slave devices by using four pins of a
parallel port to control the four SS
_______
pins of the Slave devices.
MISO
MOSI
SCK
SS
Master
Port0.0
Port0.1
Port0.2
Port0.3
Slave
Slave
Slave
Slave
V
DD
9.2.2 Signal Description
(1) Master Output Slave Input (MOSI)
This 1-bit signal is directly connected between the master device and slave devices. The MOSI line is used to transfer data in
series from the master to the slave. Therefore, it is an output signal from the master, and an input signal to a slave.
(2) Master Input Slave Output (MISO)
This 1-bit signal is directly connected between the slave devices and master device. The MISO line is used to transfer data in
series from the slave to the master. Therefore, it is an output signal from the slave, and an input signal to the master. The MISO pin
is placed in a high-impedance state when the SPI operates as a slave that is not selected (SS
———
high).
A static high level on the SS
———
pin puts the MISO line of a slave in a high-impedance state.
(3) SPI Serial Clock (SCK)
This signal is used to synchronize the data movement both in and out of the devices through their MOSI and MISO lines. It is
driven by the master for eight clock cycles, which allows exchanging one byte on the serial lines. The SCK signal is ignored by
a SPI slave when the slave is not selected (SS
———
high).
(4) Slave Select (SS
———
)
Each slave peripheral is selected by one slave select pin (SS
———
). This signal must stay low for any active slave. It is obvious that
only one master (SS
———
high) can drive the network. The master may select each slave device by software through port pins. To
prevent bus conflicts on the MISO line, only one slave should be selected at a time by the master for a transmission. In a master
configuration, the SS
———
line can be used in conjunction with the MODF flag in the SPI status register to prevent multiple masters
from driving MOSI and SCK.
The SS
———
pin could be used as a general IO if the following conditions are met:
(a) The device is configured as a master and the SSDIS control bit in SPCON is set. This kind of configuration can happen when
only one master is driving the network. Therefore, the MODF flag in the SPSTA will never be set.
(b) The device is configured as a slave with CPHA and SSDIS control bits set. This kind of configuration can happen when the
network comprises only one master and one slave only. Therefore, the device should always be selected and the master will
never use the slave’s SS
———
pin to select the target communication slave.
Note: When CPHA = ‘0’, a falling edge of SS
———
pin is used to start the transmission.



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