ST公司 STSTEVAL-IFW001V1STR912FA实时以太网评估方案
2012-02-23
ST公司的STR91xFAxxx系列是ARM966E-S™ 16/32位闪存MCU,集成了以太网,USB,CAN,AC马达控制,4个定时器,ADC,RTC和DMA.处理器核采用哈佛架构,5级流水线,高达96MIPS性能,支持单周期DSP指令,主要用在语音处理,音频算法和低端图像.本文介绍了STR91xFA主要特性,方框图,以及STR912FA实时以太网评估板STEVAL-IFW001V1主要特性,方框图,电路图,材料清单和PCB元件布局图.
STR91xFAxxx:ARM966E-S™ 16/32-bit Flash MCU with Ethernet, USB, CAN, AC motor control, 4 timers, ADC, RTC, DMA
STR91xFA is a series of ARM-powered microcontrollers which combines a 16/32-bit ARM966E-S RISC processor core, dual-bank Flash memory, large SRAM for data or code, and a rich peripheral set to form an ideal embedded controller for a wide variety of applications such as point-of-sale terminals, industrial automation, security and surveillance, vending machines, communication gateways, serial protocol conversion, and medical equipment. The ARM966E-S core can perform single-cycle DSP instructions, good for speech processing, audio algorithms, and low-end imaging.
This datasheet provides STR91xFA ordering information, functional overview, mechanical information, and electrical device characteristics.
For complete information on STR91xFA memory, registers, and peripherals, please refer to the STR91xFA Reference Manual.
For information on programming the STR91xFA Flash memory please refer to the STR9 Flash Programming Reference Manual.
For information on the ARM966E-S core, please refer to the ARM966E-S Rev. 2 Technical Reference Manual.
The STR91xFA is a SiP device, comprised of two stacked die. One die is the ARM966E-S CPU with peripheral interfaces and analog functions, and the other die is the burst Flash. The two die are connected to each other by a custom high-speed 32-bit burst memory interface and a serial JTAG test/programming interface.
STR91xFA主要特性:
■ 16/32-bit 96 MHz ARM9E based MCU
– ARM966E-S RISC core: Harvard architecture, 5-stage pipeline, Tightly-Coupled Memories (SRAM and Flash)
– STR91xFA implementation of core adds high-speed burst Flash memory interface,instruction prefetch queue, branch cache Up to 96 MIPS directly from Flash memory
– Single-cycle DSP instructions supported
– Binary compatible with ARM7 code
■ Dual burst Flash memories, 32-bits wide
– 256 KB/512 KB/1 MB/2 MB main Flash
– 32 KB/128 KB secondary Flash
– Sequential Burst operation up to 96 MHz
– 100 K min erase cycles, 20 yr min retention
■ SRAM, 32-bits wide
– 64K or 96K bytes, optional battery backup
■ 9 programmable DMA channels
■ Clock, reset, and supply management
– Internal oscillator operating with external 4-25 MHz crystal
– Internal PLL up to 96 MHz
– Real-time clock provides calendar functions, tamper, and wake-up functions
– Reset Supervisor monitors supply voltage, watchdog, wake-up unit, external reset
– Brown-out monitor
– Run, Idle, and Sleep Mode as low as 50 uA
■ Vectored interrupt controller (VIC)
– 32 IRQ vectors, 30 interrupt pins
– Branch cache minimizes interrupt latency
■ 8-channel, 10-bit A/D converter (ADC)
– 0 to 3.6 V range, 0.7 usec conversion
■ 10 Communication interfaces
– 10/100 Ethernet MAC with DMA and MII
– USB Full-speed (12 Mbps) slave device
– CAN interface (2.0B Active)
– 3 16550-style UARTs with IrDA protocol
– 2 Fast I2C™, 400 kHz
– 2 channels for SPI™, SSI™, or MICROWIRE™
■ External Memory Interface (EMI)
– 8- or 16-bit data, up to 24-bit addressing
– Static Async modes for LQFP128
– Additional burst synchronous modes for LFBGA144
■ Up to 80 I/O pins (muxed with interfaces)
■ 16-bit standard timers (TIM)
– 4 timers each with 2 input capture, 2 output compare, PWM and pulse count modes
■ 3-Phase induction motor controller (IMC)
■ JTAG interface with boundary scan
■ Embedded trace module (ARM ETM9)
图1.STR91xFA方框图
STEVAL-IFW001V1, STR912FA实时以太网评估板
Ethernet is a networking standard which has been well known in the computer world as a communication interface mainly for local area networks and Internet access, and proven over the years through its many different versions. While it is indeed a well-tested, fast communication bus, it was originally designed for non real-time (RT) data transfers based on the common medium access and collision detection principle - CSMA/CD. For industrial control it is critical to propagate control data in a fast and deterministic manner through the network to address nodes in limited (short) bus time cycles. Deterministic behavior in terms of RT Ethernet requires a communication process where the time progression can be predicted precisely. This behavior enables synchronization of controlled elements (CNs) in time (process control). It is necessary to eliminate common medium access by using dedicated bus topologies (e.g. daisy chains), by assignment of time slots for each communication device, or by other methods, such as IEEE1588.Industrial Ethernet has been gaining popularity in industrial automation over the last few years. There are numerous standards on the market from different vendors, and many interest groups have been founded around them. The principles of the standards are very similar. The safety requirements of the protocols are extremely important for critical field bus communication. Vendors are defining real-time Ethernet protocols by adding special requirements for bus topologies, bus access, dedicated ASICs and SW stacks on top of the Ethernet standard. Another trend is to keep the smartness of the Ethernet by maintaining its original non real-time usage in asynchronous bus cycle time slots and to handle the critical RT communication in isochronous time slots of the bus cycles. This makes it possible to have one common physical bus (Ethernet) at all levels of communication within a factory, from management level down to the field bus. In this document you will find a description of a system based on the STR912FA ARM966E-S™ microcontroller from STMicroelectronics for Ethernet real-time communication.
This user manual describes the STR912FAW44 evaluation board for real-time Ethernet slave communication node evaluation. This board can be daisy chained with others into factory automation field bus systems. The board enables and requires the hooking on of different extensions that fulfill the requirements for different real-time Ethernet protocols on the market (e.g. Powerlink, EtherCAT, and others). For each protocol a special extension, or a programmable one, must be used. The communication between the board and the extension can be done through MII, EMI, SPI™, I2C™ or UART.
For Xilinx® Spartan™ FPGA extensions refer to the user manual for the STEVAL-IFW002V1 evaluation board. With additional on-board connectors it is possible to connect industrial I/O cards and motor control boards.
图2.STR912FAW44实时以太网评估板外形图
实时以太网评估板主要特性:
● 32-bit STR912FAW44 microcontroller with ARM966E-S™ core running at 96 MHz
● Two fast E-STE101P Ethernet transceivers supporting full duplex communication; available boot configuration settings; up to 32 selectable MII addresses; RJ45 connectors with embedded LEDs
● Two 50-pin header connectors for connecting different on-hook extensions with realtime IP featuring: three MIIs (medium independent interface), EMI (external memory interface), UART, I2C, SPI, external interrupts, 1.8 V, 3.3 V and GND pins
● Connectors for interfacing with industrial I/O cards: CAN, AC MC (motor control),CLT/PCLT (input termination circuit), HSD or SPI HSD (high side driver)
● Power supply using the L5973AD DC-DC converter, and the LF18 for the core supply
● JTAG debug interface connector
● 6 V to 30 V DC power supply voltage range
● One reset and one general-purpose button; two general purpose LEDs
图3.实时以太网评估板方框图
图4.实时以太网评估板电路图(1):MCU
图5.实时以太网评估板电路图(2):连接器,按钮,LED和CAN
图6.实时以太网评估板电路图(3):电源
图7.实时以太网评估板电路图(4):以太网1
图8.实时以太网评估板电路图(5):以太网2
图9.实时以太网评估板电路图(6):控制连接器
实时以太网评估板材料清单:
图10.实时以太网评估板元件布局图:顶层
图11.实时以太网评估板元件布局图:底层
详情请见:
http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00159308.pdf
和
http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/USER_MANUAL/CD00181740.pdf