基于MCF51CN128设计的以太网连接参考方案

发布者:光明2599最新更新时间:2011-01-25 手机看文章 扫描二维码
随时随地手机看文章
时间:2010-08-11 22:52:32 来源: 作者:

The MCF51CN128 features the following functional units:

• 32-bit ColdFire V1 Central Processing Unit (CPU)

– Up to 50.33 MHz ColdFire CPU from 3.6 V to 3.0 V, up to 40 MHz CPU from 3.0 V to 2.1 V, and up to 20 MHz CPU from 2.1 V to 1.8 V across temperature range of –40 °C to 85 °C

– Provides 0.94 Dhrystone 2.1 MIPS per MHz performance when running from internal RAM (0.76 DMIPS/MHz from flash)

– ColdFire Instruction Set Revision C (ISA_C)

– Support for up to 45 peripheral interrupt requests and 7 software interrupts

• On-Chip Memory

– 128 KB Flash, 24 KB RAM

– Flash read/program/erase over full operating voltage and temperature

– On-chip memory aliased to create a contiguous memory space with off-chip memory

– Security circuitry to prevent unauthorized access to Peripherals, RAM, and flash contents

• Ethernet

– FEC—10/100 BASE-T/TX, bus-mastering fast Ethernet controller with direct memory access (DMA); supports half or full duplex; operation is limited to 3.0 V to 3.6 V

– MII—media independent interface to connect Ethernet controller to external PHY; includes output clock for external PHY

• External Bus

– Mini-FlexBus—Multi-function external bus interface; supports up to 1 MB memories, gate-array logic, simple slave device or glueless interfaces to standard chip-selected asynchronous memories

– Programmable options: access time per chip select, burst and burst-inhibited transfers per chip select, transfer direction, and address setup and hold times

• Power-Saving Modes

– Two low-power stop modes, one of which allows limited use of some peripherals (ADC, KBI, RTC)

– Reduced-power wait mode shuts off CPU and allows full use of all peripherals; FEC can remain active and conduct DMA transfers to RAM and assert an interrupt to wake up the CPU upon completion

– Low-power run and wait modes allow peripherals to run while the voltage regulator is in standby

– Peripheral clock enable register can disable clocks to unused modules, thereby reducing currents

– Low-power external oscillator that can be used in stop3 mode to provide accurate clock source to active peripherals

– Low-power real-time counter for use in run, wait, and stop modes with internal and external clock sources

– 6 μs typical wake-up time from stop3 mode

– Pins and clocks to peripherals not available in smaller packages are automatically disabled for reduced current consumption; no user interaction is needed

• Clock Source Options

– Oscillator (XOSC) — Loop-control pierce oscillator; crystal or ceramic resonator range of 31.25 kHz to 38.4 kHz or 1 MHz to 25 MHz

– Multi-Purpose Clock Generator (MCG) — Flexible clock source module with either frequency-locked-loop (FLL) or phase-lock loop (PLL) clock options. FLL can be controlled by internal or external reference and includes precision trimming of internal reference, allowing 0.2% resolution and 2% deviation over temperature and voltage. PLL derives a higher accuracy clock source derived by an external reference

• System Protection

– Watchdog computer operating properly (COP) reset with option to run from dedicated 1-kHz internal clock source or bus clock

– Low-voltage detection with reset or interrupt; selectable trip points

– Illegal opcode and illegal address detection with programmable reset or exception response

– Flash block protection

• Development Support

– Single-wire background debug module (BDM) interface; supports same electrical interface used by the S08, 9S12, and 9S12x families debug modules

– 4 PC plus 2 address (optional data) breakpoint registers with programmable 1- or 2-level trigger response

– 64-entry processor status and debug data trace buffer with programmable start/stop conditions

• Peripherals

– ADC—Up to 12 channel, 12-bit resolution; 2.5 μs conversion time; automatic compare function; 1.7 mV/°C temperature sensor; internal bandgap reference channel; operation in stop3; fully functional from 3.6 V to 1.8 V

– SCI—Three modules with optional 13-bit break

– SPI—Two interfaces with full-duplex or single-wire bi-directional; double-buffered transmit and receive; master or slave mode; MSB-first or LSB-first shifting

– IIC—Two IICs with up to 100 kbps with maxmimum bus loading; multi-master operation; programmable slave address; interrupt-driven byte-by-byte data transfer; supports broadcast mode and 11-bit addressing

– TPM—Two 3-channel, 16-bit resolution modules; selectable input capture, output compare, or buffered edge- or center-aligned PWM on each channel

– RTC—8-bit modulus counter with binary- or decimal-based prescaler; external clock source for precise time base, time-of-day, calendar- or task-scheduling functions; free-running on-chip low-power oscillator (1 kHz) for cyclic wake-up without external components; runs in all MCU modes

– MTIM—Two 8-bit resolution modulo timers with 8-bit prescaler

• Input/Output

– Up to 70 general-purpose input/output (GPIO) pins, all with pin mux controls to select alternate functions

– 16 keyboard interrupt (KBI) pins with selectable polarity

–        Hysteresis and configurable pull-up device or input filtering on all input pins; configurable slew rate and drive strength on all output pins 16 Rapid GPIO pins connected to the CPU’s high-speed local bus with set, clear, and toggle functionality (PTD and PTF)

MCF51CN128目标应用:

Building control

Industrial operator interfaces

Consumer and industrial appliances

Medical monitoring and instrumentation

Point-of-sale and courier systems

Security and building control systems

图1.MCF51CN128方框图

RDMCF51CN128: Serial to Ethernet Bridge

The most common use of this reference design will be to integrate old MCU projects to the internet. The connection between these legacy microcontrollers will be by SCI and SPI. The MCU used is the MCF51CN128. As a second goal, customers don’t need to know about ETH, or in certain cases, a little knowledge will be required, though enough information is provided for customer education in Lasko Ethernet TCP/IP implementation.

图2.MCF51CN128以太网连接参考设计外形图

以太网连接参考设计主要特性:

The following list shows some of the reference design features:

–        Hardware:

Ethernet Minimal System in 1.15’’x1.55’’

RTOS+TCP/IP highly coupled and customized for a very small memory footprint

Webserver supporting HTTP 2.0

File System (FAT16) thru uSD socket

Bridges to UART, SPI and IIC to Ethernet easily

Serial Header that allows to use signals as needed

Sensors (SPI and I2C) already on board

–        Sofware:

lwIP 1.3.0 + FreeRTOS v5.3.0

Layered Software for easy migration and upgrade of SW drivers

The following reference design implements:

Web Server

Email Client

FTP Server

SD card driver

FAT16 file system

Serial Bridge

图3.以太网连接参考设计电路图(1)

图4.以太网连接参考设计电路图(2)

图5.以太网连接参考设计电路图(3)

图6.以太网连接参考设计电路图(4)

引用地址:基于MCF51CN128设计的以太网连接参考方案

上一篇:基于PN512设计的13.56MHz无接触通信收发技术
下一篇:基于STC89C51的CAN总线点对点通信模块设计

小广播
添点儿料...
无论热点新闻、行业分析、技术干货……
设计资源 培训 开发板 精华推荐

最新单片机文章
  • ARM裸机篇--按键中断
    先看看GPOI的输入实验:按键电路图:GPF1管教的功能:EINT1要使用GPF1作为EINT1的功能时,只要将GPFCON的3:2位配置成10就可以了!GPF1先配 ...
  • 网上下的--ARM入门笔记
    简单的介绍打今天起菜鸟的ARM笔记算是开张了,也算给我的这些笔记找个存的地方。为什么要发布出来?也许是大家感兴趣的,其实这些笔记之所 ...
  • 学习ARM开发(23)
    三个任务准备与运行结果下来看看创建任务和任运的栈空间怎么样的,以及运行输出。Made in china by UCSDN(caijunsheng)Lichee 1 0 0 ...
  • 学习ARM开发(22)
    关闭中断与打开中断中断是一种高效的对话机制,但有时并不想程序运行的过程中中断运行,比如正在打印东西,但程序突然中断了,又让另外一个 ...
  • 学习ARM开发(21)
    先要声明任务指针,因为后面需要使用。 任务指针 volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • 学习ARM开发(20)
  • 学习ARM开发(19)
  • 学习ARM开发(14)
  • 学习ARM开发(15)
何立民专栏 单片机及嵌入式宝典

北京航空航天大学教授,20余年来致力于单片机与嵌入式系统推广工作。

换一换 更多 相关热搜器件
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved