SM320F2812-HT

SGUS062A –JUNE 2009 –REVISED APRIL 2010

www.ti.com

4.7Serial Peripheral Interface (SPI) Module

The F2812 device includes the four-pin serial peripheral interface (SPI) module. The SPI is a high-speed, synchronous serial I/O port that allows a serial bit stream of programmed length (one to sixteen bits) to be shifted into and out of the device at a programmable bit-transfer rate. Normally, the SPI is used for communications between the DSP controller and external peripherals or another processor. Typical applications include external I/O or peripheral expansion through devices such as shift registers, display drivers, and ADCs. Multidevice communications are supported by the master/slave operation of the SPI.

The SPI module features include:

Four external pins:

SPISOMI: SPI slave-output/master-input pin

SPISIMO: SPI slave-input/master-output pin

SPISTE: SPI slave transmit-enable pin

SPICLK: SPI serial-clock pin

NOTE

All four pins can be used as GPIO, if the SPI module is not used.

Two operational modes: master and slave

Baud rate: 125 different programmable rates

Baud rate

=

LSPCLK

,

when BRR 0

 

(SPIBRR + 1)

 

 

= LSPCLK , 4

when BRR = 0, 1, 2, 3

Serial port performance is limited by I/O buffer switching speed. Internal prescalers must be adjusted such that the peripheral speed is less than the I/O buffer speed limit— 20 MHz maximum.

Data word length: one to sixteen data bits

Four clocking schemes (controlled by clock polarity and clock phase bits) include:

Falling edge without phase delay: SPICLK active-high. SPI transmits data on the falling edge of the SPICLK signal and receives data on the rising edge of the SPICLK signal.

Falling edge with phase delay: SPICLK active-high. SPI transmits data one half-cycle ahead of the falling edge of the SPICLK signal and receives data on the falling edge of the SPICLK signal.

Rising edge without phase delay: SPICLK inactive-low. SPI transmits data on the rising edge of the SPICLK signal and receives data on the falling edge of the SPICLK signal.

Rising edge with phase delay: SPICLK inactive-low. SPI transmits data one half-cycle ahead of the falling edge of the SPICLK signal and receives data on the rising edge of the SPICLK signal.

Simultaneous receive and transmit operation (transmit function can be disabled in software)

Transmitter and receiver operations are accomplished through either interrupt-driven or polled algorithms.

Nine SPI module control registers: Located in control register frame beginning at address 7040h.

NOTE

All registers in this module are 16-bit registers that are connected to Peripheral Frame 2. When a register is accessed, the register data is in the lower byte (7–0), and the upper byte (15–8) is read as zeros. Writing to the upper byte has no effect.

76 PeripheralsCopyright © 2009–2010, Texas Instruments Incorporated

Submit Documentation Feedback

Product Folder Link(s): SM320F2812-HT

Page 76
Image 76
Texas Instruments SM320F2812-HT specifications Serial Peripheral Interface SPI Module

SM320F2812-HT specifications

The Texas Instruments SM320F2812-HT is a highly capable digital signal processor (DSP) specifically designed for high-performance and real-time applications in harsh environments. This part of the C2000 family of microcontrollers caters to applications in areas such as industrial automation, motor control, and power conversion, where reliability and durability under extreme temperature conditions are paramount.

One of the standout features of the SM320F2812-HT is its robust architecture based on a 32-bit fixed-point core. This allows for efficient execution of complex algorithms while maintaining a high processing speed. The processor operates at clock speeds of up to 150 MHz, enabling it to handle multiple tasks simultaneously with minimal latency.

The SM320F2812-HT boasts an impressive memory configuration that includes up to 128 KB of flash memory and 4 KB of RAM. The integrated memory supports efficient data handling and storage, making it ideal for demanding applications that require quick access to critical information. The device also features various peripherals, including analog-to-digital converters (ADCs), pulse width modulation (PWM) modules, and serial communication interfaces, which enhance its functionality in real-time processing and control tasks.

Furthermore, this DSP employs advanced control algorithms and supports various communication protocols, allowing it to interoperate seamlessly with other devices within a system. Its capabilities are further enhanced by Texas Instruments’ extensive development tools and software libraries, which enable developers to accelerate design cycles and improve overall efficiency.

With its high temperature rating, the SM320F2812-HT is designed to operate within a temperature range from -40°C to 125°C, making it particularly well-suited for use in automotive, aerospace, and other rugged environments where traditional components might fail. The high reliability and endurance of this microcontroller make it a preferred choice among engineers looking for durable solutions without compromising performance.

In summary, the Texas Instruments SM320F2812-HT represents a powerful blend of processing capabilities, memory architecture, and environmental resilience. Its features make it a go-to option for developers in search of a robust DSP for real-time applications, ensuring that it meets the rigorous demands of various industrial sectors while delivering consistent performance.