Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

LM3S310 Datasheet(PDF) 242 Page - List of Unclassifed Manufacturers

Part # LM3S310
Description  Microcontroller
PDF  342 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ETC2 [List of Unclassifed Manufacturers]
Direct Link  
Logo ETC2 - List of Unclassifed Manufacturers

LM3S310 Datasheet(HTML) 242 Page - List of Unclassifed Manufacturers

Back Button LM3S310 Datasheet HTML 238Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 239Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 240Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 241Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 242Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 243Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 244Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 245Page - List of Unclassifed Manufacturers LM3S310 Datasheet HTML 246Page - List of Unclassifed Manufacturers Next Button
Zoom Inzoom in Zoom Outzoom out
 242 / 342 page
background image
Synchronous Serial Interface (SSI)
242
October 6, 2006
Preliminary
Figure 12-12.
MICROWIRE Frame Format, SSIFss Input Setup and Hold Requirements
12.3
Initialization and Configuration
To use the SSI, its peripheral clock must be enabled by setting the SSI bit in the RCGC1 register.
For each of the frame formats, the SSI is configured using the following steps:
1.
Ensure that the SSE bit in the SSICR1 register is disabled before making any configuration
changes.
2.
Select whether the SSI is a master or slave:
a.
For master operations, set the SSICR1 register to 0x00000000.
b. For slave mode (output enabled), set the SSICR1 register to 0x00000004.
c.
For slave mode (output disabled), set the SSICR1 register to 0x0000000C.
3.
Configure the clock prescale divisor by writing the SSICPSR register.
4.
Write the SSICR0 register with the following configuration:
– Serial clock rate (SCR)
– Desired clock phase/polarity, if using Freescale SPI mode (SPH and SPO)
– The protocol mode: Freescale SPI, TI SSF, MICROWIRE (FRF)
– The data size (DSS)
5.
Enable the SSI by setting the SSE bit in the SSICR1 register.
As an example, assume the SSI must be configured to operate with the following parameters:
Master operation
Freescale SPI mode (SPO=1, SPH=1)
1 Mbps bit rate
8 data bits
Assuming the system clock is 20 MHz, the bit rate calculation would be:
FSSIClk = FSysClk / (CPSDVSR * (1 + SCR)) ' 1x106 = 20x106 / (CPSDVSR * (1 +
SCR))
In this case, if CPSDVSR=2, SCR must be 9.
The configuration sequence would be as follows:
1.
Ensure that the SSE bit in the SSICR1 register is disabled.
2.
Write the SSICR1 register with a value of 0x00000000.
SSIClk
SSIFss
SSIRx
First RX data to be
sampled by SSI slave
t
Setup =(2*tSSIClk )
t
Hold=tSSIClk



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