Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ST2202 Datasheet(PDF) 45 Page - List of Unclassifed Manufacturers

Part # ST2202
Description  8 BIT Integrated Microcontroller with 256K Bytes ROM
PDF  65 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ETC [List of Unclassifed Manufacturers]
Direct Link  
Logo ETC - List of Unclassifed Manufacturers

ST2202 Datasheet(HTML) 45 Page - List of Unclassifed Manufacturers

Back Button ST2202 Datasheet HTML 41Page - List of Unclassifed Manufacturers ST2202 Datasheet HTML 42Page - List of Unclassifed Manufacturers ST2202 Datasheet HTML 43Page - List of Unclassifed Manufacturers ST2202 Datasheet HTML 44Page - List of Unclassifed Manufacturers ST2202 Datasheet HTML 45Page - List of Unclassifed Manufacturers ST2202 Datasheet HTML 46Page - List of Unclassifed Manufacturers ST2202 Datasheet HTML 47Page - List of Unclassifed Manufacturers ST2202 Datasheet HTML 48Page - List of Unclassifed Manufacturers ST2202 Datasheet HTML 49Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 45 / 65 page
background image
Sitronix
ST2202
Ver 2.0a
45/65
2003-May-05
1
17
7.. S
SE
ER
RIIA
AL
L P
PE
ER
RIIP
PH
HE
ER
RA
AL
L IIN
NT
TE
ER
RF
FA
AC
CE
E
The ST2202 contains one serial peripheral interface (SPI)
module to interface with external devices, such as Flash
memory, analog-to-digital converter, and other peripherals,
including another ST2202. The SPI consists of a master- or
slave-configurable interface so that connections of both
master and slave devices are allowable. Five signals
multiplexed with Port-C are used by SPI. With equipped
DATA_READY and SS (slave-select) control signals and
transmit/receive buffers, faster data exchange with fewer
software interrupts is easy to be made. Data length is
widely supported from 7-bit up to 16-bit to satisfy various
applications. One clock generator is provided for the
synchronous communication clock SCK, which is sourced
from OSCK. FIGURE 17-1 illustrates the block diagram of
SPI.
CPU Interface
Clock
Generator
16-bit Shift Register
(MSB First)
16-bit Transmit
Buffer
16-bit Receive
Buffer
MOSI
MISO
Interface
Control
SCK
OSCK
DATA_READY
SPICK
SS
FIGURE 17-1 SPI Block Diagram
17.1 SPI Operations
The SPI contains one 16-bit shift register and two 16-bit
buffers for transmission and receiving respectively. Data
with variable length from 7-bit to 16-bit can be exchanged
with external devices through two data lines. Data length is
controlled by bit count register BC[3:0] (bit3~0 of SPI clock
control register SCKR). The current exchange will be over
while the exchanged bit number reaches bit count setting.
The synchronous communication clock SCK is used to
synchronize two devices and transfer data in and out of the
shift register. Data is clocked by SCK with a programmable
data rate, which is assigned by SCK[2:0] (bit6~4 of SPI
clock control register SCKR). Refer to TABLE 11-7 for all
clock rate settings.
The SPI block is controlled by SPIEN (SCTR[7]). Setting
SPIEN will enable SPI function and the clock divider. Then
the internal states of SPI will be reset to initial values. After
that, write data to SDATAL will initiate an exchange. While
exchanging, the busy flag will be set and is reported in SBZ
(bit 4 of SPI status register SSR).
A slave select signal SS (multiplexed with PC4) is used to
identify individual selection of a slave SPI device. Slave
devices that are not selected do not interfere with SPI bus
activities. For a master SPI device, SS can be used to
indicate a multiple-master bus contention which can be
reported in mode fault bit MDERR (bit3 of SPI status
register SSR).
17.1.1 Clock Phase and Polarity Controls
Four combinations of serial clock (SCK) phase and polarity
are selectable by two control bits PHA and POL (bit 2~1 of
SPI control register SCTR). FIGURE 17-2 and FIGURE
17-3 show the transmission format of two phase settings.
Note:
The clock settings should be identical for
master and the communicating slave device.
Transmission Format – PHA = 0
In this mode, both master and the communicating slave
should present MSB after the falling edge of SS . Then the
first edge of SCK will be the first capture strobe of input
data. If POL=0, this first edge is rising edge; if POL=1, it will
be a falling edge.
Transmission Format – PHA = 1
In this mode, both master and the communicating slave will
be ready after the falling edge of SS . The two output MSB
at the first edge of SCK. Then the second edge will be the
capture strobe. If POL=0, the first edge is rising edge; if
POL=1, it will be a falling one.



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


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