16 peripheral frames 0, 1, 2 (pfn), 17 general-purpose input/output (gpio) multiplexer, 18 32-bit cpu timers (0, 1, 2) – Texas Instruments Digital Signal Processor SM320F2812-HT User Manual

Page 33: 19 control peripherals

Advertising
background image

SM320F2812-HT

www.ti.com

SGUS062B

JUNE 2009

REVISED JUNE 2011

HALT:

Turn off oscillator. This mode basically shuts down the device and places it in the
lowest possible power consumption mode. Only a reset or XNMI wakes the
device from this mode.

3.2.16 Peripheral Frames 0, 1, 2 (PFn)

The F2812 segregates peripherals into three sections. The mapping of peripherals is as follows:

PF0:

XINTF:

External Interface Configuration Registers (2812 only)

PIE:

PIE Interrupt Enable and Control Registers Plus PIE Vector Table

Flash:

Flash Control, Programming, Erase, Verify Registers

Timers:

CPU-Timers 0, 1, 2 Registers

CSM:

Code Security Module KEY Registers

PF1:

eCAN:

eCAN Mailbox and Control Registers

PF2:

SYS:

System Control Registers

GPIO:

GPIO Mux Configuration and Control Registers

EV:

Event Manager (EVA/EVB) Control Registers

McBSP:

McBSP Control and TX/RX Registers

SCI:

Serial Communications Interface (SCI) Control and RX/TX Registers

SPI:

Serial Peripheral Interface (SPI) Control and RX/TX Registers

ADC:

12-Bit ADC Registers

3.2.17 General-Purpose Input/Output (GPIO) Multiplexer

Most of the peripheral signals are multiplexed with general-purpose I/O (GPIO) signals. This enables the
user to use a pin as GPIO if the peripheral signal or function is not used. On reset, all GPIO pins are
configured as inputs. The user can then individually program each pin for GPIO mode or Peripheral Signal
mode. For specific inputs, the user can also select the number of input qualification cycles. This is to filter
unwanted noise glitches.

3.2.18 32-Bit CPU Timers (0, 1, 2)

CPU Timers 0, 1, and 2 are identical 32-bit timers with presettable periods and with 16-bit clock
prescaling. The timers have a 32-bit count down register, which generates an interrupt when the counter
reaches zero. The counter is decremented at the CPU clock speed divided by the prescale value setting.
When the counter reaches zero, it is automatically reloaded with a 32-bit period value. CPU Timer 2 is
reserved for Real-Time OS (RTOS)/BIOS applications. CPU Timer 1 is also reserved for TI system
functions. CPU Timer 2 is connected to INT14 of the CPU. CPU Timer 1 can be connected to INT13 of the
CPU. CPU Timer 0 is for general use and is connected to the PIE block.

3.2.19 Control Peripherals

The F2812 supports the following peripherals which are used for embedded control and communication:

EV:

The event manager module includes general-purpose timers, full-compare/PWM units,
capture inputs (CAP) and quadrature-encoder pulse (QEP) circuits. Two such event
managers are provided which enable two three-phase motors to be driven or four
two-phase motors. The event managers on the F2812 is compatible to the event
managers on the 240x devices (with some minor enhancements).

ADC:

The ADC block is a 12-bit converter, single ended, 16-channels. It contains two
sample-and-hold units for simultaneous sampling.

Copyright

©

2009

2011, Texas Instruments Incorporated

Functional Overview

33

Submit Documentation Feedback

Product Folder Link(s):

SM320F2812-HT

Advertising