rabbit- overview of the rabbit 4000 product line & dynamic c software

Upload: jose-luis-castro-aguilar

Post on 03-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    1/62

    Rabbit 4000

    Major Features/Subsystems

    Larry Cicchinelli [email protected]

    [email protected]

    mailto:[email protected]:[email protected]:[email protected]:[email protected]
  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    2/62

    Features/Performance

    Price

    RCM40xx

    10baseT

    RCM42xx

    10/100 E-Net

    RCM4xxx Core Module Roadmap

    RCM41xx

    I/O Control

    RCM43xx

    10/100&SD

    RCM44xx

    WiFi

    RCM45xx

    Zigbee

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    3/62

    RCM4xxx Module

    Families

    Core Module Strategy Pin-compatible socket interface on all core modules based on the

    Rabbit 4000

    Single connector I/O interface Value-added feature models

    Fast Ethernet (10/100baseT)

    Analog (12-bit ADC)

    Mass memory storage (Serial and NAND Flash)

    Removable memory card (MiniSD)*

    WiFi (802.11b)

    Zigbee (802.15.4)

    Extended memory modules (>1MB)*

    *Upcoming model

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    4/62

    PWMOutputs

    Asynchronous Serial

    (IrDA Capable)

    A, B, C, D, E, F

    SynchronousSerial & SPI

    A, B, C, D

    Parallel & Bitwise

    I/O ports

    A, B, C, D, E

    Battery Backable

    Real Time Clock

    DMAController

    10-bit Timer

    System (B)

    Cascadable

    8-bit TimerSystem (A)

    External

    Interrupt Inputs

    Fast

    Oscillator

    32.768 kHz

    Clock Input

    IntegratedEthernet

    Power Save

    and ClockControl

    Slave

    Interface

    Periodic Interrupt

    (488 mS)

    Remote

    Bootstrap

    SDLC & HDLC

    (IrDA Capable)

    E, F

    Spectrum

    Spreader(Low EMI)

    Auxiliary I/O

    Data & Address

    Bus

    External

    Memory and I/O

    Bus Interface

    Quadrature

    Decoder

    Input Capture &

    Pulse Width

    Measurement

    ClockDoubler

    Internal Address/Data Bus

    Watchdog

    Timer

    Glueless

    Memory and I/O

    Chip Control

    System/User

    Hardware

    Encryption &Chip Security16-bit TimerSystem (C)

    Rabbit

    4000

    Rabbit

    4000Block

    Diagram

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    5/62

    Major

    Features/Subsystems

    60MHz Maximum Clock Frequency

    128 pin LQFP not compatible with

    Rabbit 3000

    Low Power Operation

    Reduced EMI

    20 to 24 bit Address Bus up to 16 MB Up to Six Memory Chips 96 MB

    Support for 16 bit memories

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    6/62

    Major

    Features/Subsystems

    1.8V core with 1.8 - 3.3V I/O

    Inputs are 3.3V tolerant (not 5V!)

    Hardware Debugging Enhancements 10BaseT Ethernet MAC and Phy

    Analog part is external

    8 DMA Channels Four PWM Channels

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    7/62

    Major

    Features/Subsystems

    Five 8-bit Parallel Ports: A - E

    Six Serial Ports

    Ten 8 bit Timers (Timer A) One 10 bit Timer with 2 Match

    Registers

    One 16 bit Timer with 4 IndependentOutputs (Timer C)

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    8/62

    Major

    Features/Subsystems

    Two Quadrature Decoder Channels

    Two Input Capture Channels

    Slave Port Interface Six External Interrupt Inputs

    External I/O Interface

    Built-in Real Time Clock Two Watchdog Timers

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    9/62

    Parallel Ports

    Summary

    Port Pins shared among the PeripheralDevices

    On reset all bits which can be inputs are

    set as inputs.

    Ports B, C, D & E: each bit is individuallyconfigurable as either input or output.

    Ports C, D & E: each output bit isindividually configurable as either push-pull or open drain.

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    10/62

    Parallel Ports

    Port C Alternate Outputs

    Bit Alt Out 0 Alt Out 1 Alt Out 2 Alt Out 3

    7 TxA I7 PWM 3 SCLK C

    6 TxA I6 PWM 2 TxE

    5 TxB I5 PWM 1 RCLK E

    4 TxB I4 PWM 0 TCLK E

    3 TxC I3 Timer C3 SCLK D

    2 TxC I2 Timer C2 TxF

    1 TxD I1 Timer C1 RCLK F

    0 TxD I0 Timer C0 TCLK F

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    11/62

    Parallel Ports

    Port C Inputs

    Bit InputCapture

    7 Y RxA RxE

    6 N

    5 Y RxB RClkE

    4 N TClkE

    3 Y RxC RxF

    2 N

    1 Y RxD RClkF

    0 N TClkF

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    12/62

    Rabbit Configuration

    Utility

    Supports only the Rabbit 4000

    Presents a GUI for configuring the

    Rabbit 4000 I/O features

    Is sensitive to shared processor

    resources it does NOT know about

    Core Modules

    Creates a library file based on users

    selections

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    13/62

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    14/62

    DC Characteristics

    Core Voltage = 1.8v

    I/O Voltage = 1.8v to 3.6v

    3.6v tolerant inputs (not 5v)

    I/O buffers can sink and source 6ma

    Current consumption proportional to

    operating speed

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    15/62

    Low Power Operation

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    16/62

    Low EMI

    Separate Power Pins for CPU Core andI/O

    Reduces EMI by 15db

    Spectrum Spreader Reduces EMI by 15db

    Three Modes: off, weak and strong

    typically

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    17/62

    Spectrum Spreader

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    18/62

    Serial Ports

    Six Serial Ports

    All capable of standard UART operation

    All capable of IrDA bit timing

    4 Ports capable of SPI

    2 Ports capable of HDLC/SDLC

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    19/62

    PWM

    Four independent PWM channels

    Ten bit resolution

    All four run at the same frequency

    Single pulse or spread of four pulses

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    20/62

    Quadrature Decoder

    Two complete channels - I and Q inputs

    Default 8 bit counter, option for 10 bits

    Can generate interrupt on both overflow

    and underflow

    Built-in digital low pass filter

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    21/62

    Input Capture

    Two Input Capture Channels

    Uses timer A8 to determineresolution

    16 bit counter Three time interval modes plus

    count mode

    Built-in digital low pass filter Select from among 12 inputs: Can

    interrupt on Start and/or Stop

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    22/62

    DMA

    8 identical and independent channels

    Transfer data between any two of

    Memory

    External I/O

    Internal I/O

    Two external signals may be used for

    flow control

    Each channel has its own interrupt

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    23/62

    DMA

    Buffer Descriptors are used to controlDMA operation

    Operate from DMA registers but may

    originate in memory Several buffer modes

    Single Buffer

    Array of Buffers Linked List

    Circular Queue

    Linked Array

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    24/62

    DMA

    Program determines how much CPU

    time is allocated to DMA transfers

    Bytes per burst

    CPU clocks between bursts

    Transfer priority

    E t l I t t

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    25/62

    External Interrupts

    Two Interrupt Vectors (ISRs) with 3

    input sources each

    Three bit low pass filter

    Maximum Interrupt Latency = 29 clocks

    Interrupt on rising and/or falling edge(s)

    No action required to clear the interrupt

    E t l I/O

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    26/62

    External I/O

    Easy method of adding parallel ports

    Chip designs have access to 13

    address bits for a total of 64K bytes

    RCM designs allow Auxiliary External

    I/O

    Access 6 or 8 address lines

    Uses Port A as the data bus

    Handshake inputs to pause transactions

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    27/62

    External I/O Block

    Diagram

    Rabbit

    Processor

    I/O

    Device

    D0..D7

    A0..(A12)

    /IOWR

    /IORD

    I/O

    Strobe

    D0..D7

    A0..(A12)

    /IOWR

    /IORD

    CS

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    28/62

    Built-in

    Real Time Clock

    32 kHz Oscillator circuit

    48 bit counter good for over 100 years

    Required to download via Dynamic C

    Used to measure the frequency of the

    CPU oscillator

    Battery Backed Accuracy is about +/- 3 seconds/day

    W t hd Ti

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    29/62

    Watchdog Timer

    17 bit counter

    Driven by 32 kHz oscillator

    Selectable timeout period: 0.25, 0.5, 1,

    2 sec Setup and petted by Dynamic C via

    the periodic ISR within the BIOS

    User is expected to use VirtualWatchdogs available in Dynamic Csee the Vd functions

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    30/62

    Dynamic C

    Development Software

    C programming environment Compiler, Editor, Debugger Real-time debugging via serial

    programming cable interface Assembly level programming alsosupported Royalty-free TCP/IP stack includedin source code

    Numerous software libraries andsample programs included All Development Kits includeDynamic C

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    31/62

    Dynamic C

    Major Features

    Full Feature Editor

    Syntax Highlighting

    Configurable code templates Bookmarks

    Parenthesis and Curly Brace Matching

    Large Built-In Help Facility

    Function Help

    Processor Registers

    Many Customizable Features

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    32/62

    Dynamic CEditor Features

    Easy-to-use built in text

    editor

    Syntax highlighting

    Programs can be executed

    and debugged at the source

    code or assembly code level

    Pull down menus and

    keyboard shortcuts are

    available for most

    commands

    Embedded assembly

    language programming

    supported

    Interactive Function Lookup

    feature: Control-H

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    33/62

    Dynamic CCompiler Features

    Dynamic C compiles either directly to

    memory on target board or can

    compile to .bin file for distribution

    Serial program downloads negotiates

    down from 460Kbps (115.2K typical) Function chaining allows segments of

    code to be embedded to multiple

    functions

    Extensions to C language provided

    such as shared and protected

    variables, co-statements and co-

    functions

    Function libraries also included in

    source code

    Serial to USB Connector for

    interfacing

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    34/62

    Additional Dynamic C

    Software Modules

    (AES) Advanced Encryption Standard - 128 bit

    encryption for transfer of sensitive data.

    (SSL) Secure Sockets Layer - Industrystandard web security for embeddedapplications.

    Modbus TCP - Ethernet variant of the standardcommunication protocol for industrial automationsystems.

    Additi l D i C

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    35/62

    Additional Dynamic C

    Software Modules

    (PPP) Point-to-Point Protocol - TCP/IPfunctionality for serial and PPPoE connections.

    (SNMP) Simple Network ManagementProtocol - Management software fornetworked devices

    FAT file system - Popular, network-accessible file system for flashmemories

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    36/62

    Additional Dynamic C

    Software Modules

    RabbitWeb - Easily create web interfaces tomonitor and control embedded applications

    RabbitSys - Robust system for remotemonitoring, maintenance, and firmware update

    C/OS-II Real-Time Kernel - Source Code &Sample Programs for Jean LaBrosse's popularreal time kernel.

    M I f ti

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    37/62

    More Information

    Rabbit 4000 Microprocessor UsersManual

    Rabbit 4000 Microprocessor Designers

    Guide

    Dynamic C Function Reference Manual

    Dynamic C Users Manual

    http://www.rabbit.com/

    Embedded Systems Design using the

    Rabbit 3000 Microprocessor

    http://www.rabbit.com/http://www.rabbit.com/
  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    38/62

    The Rabbit I/OChip

    Larry Cicchinelli

    Rabbit Semiconductor

    Rabbit

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    39/62

    Rabbit

    I/O Expansion Chip

    Accessible via Parallel Bus

    SPI

    RabbitNet

    Up to 32 I/O pins 8 channels of 4 ports each when SPI interface is

    used

    3.3V (5V tolerant inputs) Small (10x10mm 64-pin LQFP)

    Low-cost

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    40/62

    Interface

    Parallel bus

    8-bit data, 5-bit address,/CS, /WE, /OE

    SPI (4-wire)

    2 bytes per command:[address], [data]

    Bit-order selectable

    RabbitNet-compatible bitordering available

    3-wire interface

    Similar to SPI, but with

    bidirectional data line

    Rabbit Net

    Other signals

    Clock, reset

    Interrupt request line

    Global SYNC input

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    41/62

    I/O Features

    PWM

    in-sync (4 per channel)

    variable-phase (2 per chan)

    external sync (global or

    per-channel)

    Input Capture (1 per chan)

    specify begin/end condition

    interrupt on condition

    also pulse widthmeasurement, quadraturedecode options

    Event counter (1 per chan)

    Increment

    up/down

    General-purpose I/O

    each pin can be set as

    input or output

    can read/write up to nibble

    pin-pair protection avail.

    any pins not used for other

    features can be GPIO

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    42/62

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    43/62

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    44/62

    Release Platforms

    On future prototype boards

    RIO Application Kit

    RabbitNet expansion board, hub device

    As I/O expansion on SBCs

    Available this Spring

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    45/62

    RCM4400W

    802.11 Wireless on a Core

    Module

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    46/62

    802.11 Wireless

    IEEE 802.11 is wireless

    standard used in home andoffice wireless networking

    Widely-supported industry standard

    RCM4400W initially 802.11b 802.11g planned Q4 2007

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    47/62

    Features of 802.11b

    Networking

    2.4 GHz

    Operating Frequency

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    48/62

    Features of 802.11b

    Networking

    Speed

    11 Mbps

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    49/62

    Features of 802.11b

    Networking

    Range

    35 m

    Indoor

    100 m

    Outdoor

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    50/62

    Features of 802.11b

    Networking

    Interoperability

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    51/62

    Overcoming Roadblocks to

    Embedded Wireless

    Consumer-level 802.11 solutions

    have short lifespan

    CompactFlash cards disappearing

    Chipsets change

    Radio design is very difficult

    Rabbits RCM4400W helps you

    overcome these challenges

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    52/62

    RCM4400W Advantages Radio and MAC integrated in the core

    module

    Pin-compatible with other RCM4000series core modules

    Networking API with wireless is virtuallyidentical to API with Ethernet

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    53/62

    RCM4400W Features Rabbit 4000 at 58.98 MHz

    512 KB Flash

    512 KB SRAM

    802.11b Wireless

    WEP encryption

    WPA/TKIP encryption (beta in April)

    Up to 35 GPIO

    Up to 6 Serial Ports

    -20C to 85C

    FCC certification pending

    Complete development kit available

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    54/62

    RCM4510W

    Rabbit-based ZigBeeTM/802.15.4

    Solutions

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    55/62

    What is ZigBeeTM

    ?Definition Communication protocols for WPAN

    Small, low-power digital radios

    Based on the IEEE 802.15.4

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    56/62

    Why ZigBee?

    ZigBee Features Low power consumption Inexpensive solution

    Mesh networking

    Typical Applications include

    Industrial control & automation Sensor monitoring

    Data collection

    Alarm systems

    Home automation

    Flexible Network

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    57/62

    Flexible Network

    Topologies

    Topology to match your application

    Development Made

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    58/62

    Development Made

    Simple

    Development Kit Highlights: RCM4510W

    Core acts as end device

    Development board

    DigiTM XBee USB

    Acts as network coordinator

    Easy to use USB interface

    Utility with Visual Basic

    source

    Dynamic C Integrated

    Development Environment

    Easy-to-use, full-featured IDE

    Includes extensive samples,

    library source code, and

    documentation

    RCM4510W

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    59/62

    RCM4510WProduct Highlights Rabbit 4000 core

    29 MHz 512K flash / 512K SRAM

    Industrial tempurature

    FCC approval in-process

    MaxstreamTM XBee Series 2 2.4 GHz ISM

    30 m indoor/90 m outdoor 250Kbps

    Multiple topology support

    Loaded for I/O 40+9 GPIO

    Up to 4 analog

    Up to 6 serial ports

    Distributed low-power, low datarate applications Wireless control, data logging

    and monitoring

    Radio replaces serial cables

    S

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    60/62

    Summary

    Powerful combination of proven

    embedded control and a robust wireless

    solutions No risk, complete development systems

    that greatly reduce time to market

    Development Kit available

    RCM4510W

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    61/62

    RCM4510W

    Development Kit

  • 7/28/2019 Rabbit- Overview of the Rabbit 4000 Product Line & Dynamic C Software

    62/62

    Thank you!

    Questions?