DatasheetsPDF.com

VRS51L3074

Ramtron Corporation
Part Number VRS51L3074
Manufacturer Ramtron Corporation
Description FRAM-enhanced high performance 8051-based microcontroller coupled
Published Aug 3, 2007
Detailed Description www.DataSheet4U.com VRS51L3074 9 SPI Interface The SPI interface of the VRS51L3074’s provides numerous enhancements co...
Datasheet PDF File VRS51L3074 PDF File

VRS51L3074
VRS51L3074


Overview
www.
DataSheet4U.
com VRS51L3074 9 SPI Interface The SPI interface of the VRS51L3074’s provides numerous enhancements compared to other vendor offerings.
The SPI interface’s key features include: • • • • • • • • Supports four standard SPI modes (clock phase/polarity) Operates in master and slave modes Automatic control of up to four chip select lines Configurable transaction size (1 to 32 bits) Transaction size of >32 bits is possible Double Rx and TX data buffers Configurable MSB or LSB first transaction Generation frame select/load signals 9.
1 SPI Control Registers The SPICTRL register controls the operating modes of the SPI interface in master mode.
TABLE 97:SPI CONTROL REGISTER - SPICTRL SFR C1H 7 R/W 0 6 R/W 0 5 R/W 0 4 R/W 0 3 R/W 0 2 R/W 0 1 R/W 0 0 R/W 1 Bit 7 Mnemonic SPICLK[2:0] Description SPI Communication Speed (Master Mode) 000 = Sys Clk / 2 ( / 8 if SPISLOW = 1) 001 = Sys Clk / 4 ( / 16 if SPISLOW = 1) 010 = Sys Clk / 8 ( / 32 if SPISLOW = 1) 011 = Sys Clk / 16 ( / 64 if SPISLOW = 1) 100 = Sys Clk / 32 ( / 128 if SPISLOW = 1) 101 = Sys Clk / 64 ( / 256 if SPISLOW = 1) 110 = Sys Clk / 128 ( / 512 if SPISLOW = 1) 111 = Sys Clk / 256 ( / 1024 if SPISLOW = 1) SPI Active Chip Select Line (Master Mode) 00 = CS0 is active 01 = CS1 is active 10 = CS2 is active 11 = CS3 is active SPI Clock Phase 0 = SD0 output on rising edge and SDI sampling on falling edge 1= SD0 output on falling edge and SDI sampling on rising edge SPI Clock Polarity 0 = SCK stays at 0 when SPI is inactive 1 = SCK stays at 1 when SPI is inactive SPI Master Mode Enable 0 = SPI operates in slave mode 1 = SPI operate in master mode (default) FIGURE 14: SPI INTERFACE OVERVIEW 4 SPICS[1:0] 2 SPICLKPH 1 0 SPICLKPOL SPIMASTER Before the SPI can be accessed it must first be enabled by setting the SPIEN bit of the PERIPHEN1 register to 1.
When the SPIMASTER bit is set to 1, the SPI interface operates in master mode.
This is the default operating mode of the VRS51L3074 SPI inte...



Similar Datasheet


@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site. (Privacy Policy & Contact)