參數(shù)資料
型號(hào): C16X
廠商: SIEMENS AG
元件分類: 8位微控制器
英文描述: 8-Bit Microcontroller(8位微控制器)
中文描述: 8位微控制器(8位微控制器)
文件頁(yè)數(shù): 9/40頁(yè)
文件大?。?/td> 460K
代理商: C16X
Using the
SSC (SPI) Interface in a Multimaster System
Semiconductor Group
9 of 40
AP1632 06.96
3.5.1 Send data
Transmitting data is performed by simply writing the data value into the SSC Transmit
Buffer SSCTB. If the shift register is empty, that means, the last transmission is already
finished, the contents of the SSCTB is copied immediately to the shift register. In master
mode, transmission starts instantly by supplying SSC shift clock on SCLK and shifting out
data on MTSR while in slave mode the data remains unchanged in the shift register until
the remote master applies SSC shift clock. Data is then shifted out on MRST.
n all modes, after copying the data from SSCTB to the shift register, an SSC transmit
interrupt indicates a request for new data to be transmitted. This is especially used for
transferring 16 words after the command
DIR_CHG
when the SSC transmit interrupt
causes PEC1 to transfer data from a memory array to SSCTB without any interrupt
service routine.
For the C code of the routines
TX_SSC.C
and
TX_INT.C
see 4.1.8 and 4.1.9.
Figure 7:
Transmitting Data via SSC
SSTRB (SSC Transm it Buffer)
S
SSC Transmit Line
SSC Receive Line
PEC
16 bit
1
COM M AND = M ASTER_REQ
W AIT FOR TRANSM ISSION
DONE (SSCBSY = 0) OR EXPIRED
TIMER (=>no current m aster)
init to M ASTER
COM M AND = DIR_CHG
SSC transm it interrupt
directed to PEC 1; prepare
PEC 1 for 16 word transfers
SSC TRANSM IT INTERRUPT & COM M AND = DIR_CHG:
RECEIVED W ORD
s
16 tim es transfer TX_BUFFER to PEC 1
until PEC 1 counter = 0
redirect SSC transm it interrupt to interrupt service
routine TX_INT
TX_BUFFER [1...16]
DATA TO TRANSM IT
16 bit
.
.
TRANSMIT W ORD
HEADER
SOURCE
DESTINATION
COM M AND
4 bit
4 bit
5 bit
3 bit
16 bit
TX_BUFFER [0]
相關(guān)PDF資料
PDF描述
C1731 205 UH Inductor Approved for use by GlobeSpan
C1733 ADSL Line Coupling Transformer, IEC60950 Supplementary 250V
C2042 Analog Devices AD20MSP930 CPE Line Transformer Meet requirements of IEC60950 for supplementary insulation, 250V working voltage
C2056 78.03 UH Inductor
C221J11S205DQF Power Rocker Switches
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
C17 制造商:ALC 功能描述:ALCO - TOGGLE SWITCH COVERS (COLORED) 制造商:Cooper Crouse-Hinds 功能描述: 制造商:Thomas & Betts 功能描述:
C-17 制造商:ALC 功能描述:ALCO - TOGGLE SWITCH COVERS (COLORED)
C1-7 制造商:Alpha 3 Manufacturing 功能描述:
C-17 300000-003IG 制造商:DigitHead Inc 功能描述:3"RIBBON CABLE ASSEMBLY.STANDARD 50P FEMALE POLARIZED IDC SOCKET
C170 制造商:Yorkville Sound 功能描述:Coliseum Mini Series 8'' Indoor / Outdoor 70V Black Speaker Pair - 100W 制造商:YORKVILLE SOUND 功能描述:IN / OUTDOOR SPEAKER PAIR 8 INCH 100W 8 OHM / 70V BLACK 制造商:Datak Corporation 功能描述:Cable Assembly RS-232 3.048m 28AWG 9 POS D-Sub to 9 POS D-Sub M-F