Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SN8F5708 Datasheet(PDF) 143 Page - SONiX Technology Company

Part # SN8F5708
Description  8051-based Microcontroller
PDF  204 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SONIX [SONiX Technology Company]
Direct Link  http://www.sonix.com.tw
Logo SONIX - SONiX Technology Company

SN8F5708 Datasheet(HTML) 143 Page - SONiX Technology Company

Back Button SN8F5708 Datasheet HTML 139Page - SONiX Technology Company SN8F5708 Datasheet HTML 140Page - SONiX Technology Company SN8F5708 Datasheet HTML 141Page - SONiX Technology Company SN8F5708 Datasheet HTML 142Page - SONiX Technology Company SN8F5708 Datasheet HTML 143Page - SONiX Technology Company SN8F5708 Datasheet HTML 144Page - SONiX Technology Company SN8F5708 Datasheet HTML 145Page - SONiX Technology Company SN8F5708 Datasheet HTML 146Page - SONiX Technology Company SN8F5708 Datasheet HTML 147Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 143 / 204 page
background image
www.sonix.com.tw
SN8F5708 Series
Copyright © 2019, SONiX Technology Co., Ltd.
SPI
Datasheet Rev. 2.4
143
21 SPI
The SPI a serial communicate interface for data exchanging from one MCU to one MCU or other
hardware peripherals. It is a simple 8-bit interface without a major definition of protocol, packet or
control bits. The SPI transceiver includes three pins, clock (SCK), data input and data output (MISO/
MOSI) to send data between master and slaver terminals. An optional slave select pin (SSN) can be
enabled by register in slave mode. The SPI interface builds in 4-mode which are the clock idle
status and the clock phases.
Full-duplex, 3-wire synchronous data transfer.
Master (SCK is clock output) or Slave (SCK is clock input) operation.
Seven SPI Master baud rates.
Slave Clock rate up to fcpu/8.
8-bit data transmitted MSB first, LSB last.
Serial clock with programmable polarity and phase.
Master Mode fault error flag with MCU interrupt capability.
Write collision flag protection.
21.1
SPI Operation
The SPCON register can control SPI operating function, such as: transmit/receive, clock rate, data
transfer direction, SPI clock idle status and clock control phase and enable this circuit. This SPI
circuit will transmit or receive 8-bit data automatically by setting SPEN in SPCON register and write
or read SPDAT register.
CPOL bit is designed to control SPI clock idle status. CPHA bit is designed to control the clock edge
direction of data receive. CPOL and CPHA bits decide the SPI format. The SPI data transfer direction
is MSB bit to LSB bit.
The SPI supports 4-mode format controlled by CPOL and CPHA bits. The edge direction is “Data
Transfer Edge”. When setting rising edge that means to receive and transmit one bit data at SCK
rising edge, and data transition is at SCK falling edge. When setting falling edge, that means to
receive and transmit one bit data at SCK falling edge, and data transition is at SCK rising edge.
“CPHA” is the clock phase bit controls the phase of the clock on which data is sampled. When
CPHA=1, the SCK first edge is for data transition, and receive and transmit data is at SCK 2nd edge.
When CPHA=0, the 1st bit is fixed already, and the SCK first edge is to receive and transmit data.
The SPI data transfer timing as following figure:



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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