Table of Contents

Advertisement

Quick Links

查询CDB89712供应商
CDB89712 HARDWARE AND SOFTWARE USER'S MANUAL
Copyright © 1999, 2000, 2001 – Cirrus Logic Inc. All Rights Reserved.
This document describes the CS89712 Development Board provided by Cirrus Logic Inc. No warranty is given for the
suitability of this design for any purpose other than demonstrating the functional operation of the CS89712. The information
contained in this document is subject to change without notice.
P.O. Box 17847, Austin, Texas 78760
(512) 445 7222 FAX: (512) 445 7581
捷多邦,专业PCB打样工厂,24小时加急出货
User's Manual
Copyright  Cirrus Logic, Inc. 2000
(All Rights Reserved)
CDB89712
JUL '01
DS502UM2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ARM CDB89712 and is the answer not in the manual?

Questions and answers

Summary of Contents for Cirrus Logic ARM CDB89712

  • Page 1 Copyright © 1999, 2000, 2001 – Cirrus Logic Inc. All Rights Reserved. This document describes the CS89712 Development Board provided by Cirrus Logic Inc. No warranty is given for the suitability of this design for any purpose other than demonstrating the functional operation of the CS89712. The information contained in this document is subject to change without notice.
  • Page 2: Table Of Contents

    (electronic, mechanical, photographic, or otherwise) without the prior written consent of Cirrus Logic, Inc. Items from any Cirrus Logic website or disk may be printed for use by the user. However, no part of the printout or electronic files may be copied, reproduced, stored in a retrieval system, or transmitted, in any form or by any means (electronic, mechanical, photo- graphic, or otherwise) without the prior written consent of Cirrus Logic, Inc.Furthermore, no part of this publication may be used as a basis for manufacture or...
  • Page 3 CDB89712 3.6.1.3. nPWRFL .......................3-4 3.6.1.4. nEXTPWR ....................3-4 3.7 Power States ........................3-4 3.7.1 Description Of Supported Power States ..............3-4 3.7.1.1. OPERATING ....................3-4 3.7.1.2. STANDBY .....................3-4 3.7.1.3. IDLE ......................3-4 3.8 Resetting /Waking Up the Development Board ..............3-5 3.8.0.1. Ethernet Port power state ................3-5 3.8.1 Resetting the Board ....................3-5 3.8.1.1.
  • Page 4 CDB89712 ARM SDT ..................5-3 Chapter 6: Board Interfaces Reference ................6-1 6.1 introduction .........................6-1 6.2 Location of Major Connectors Discussed in this Chapter ...........6-1 6.3 Major Interfaces ........................6-1 6.3.1 Serial Port Interfaces ....................6-1 6.3.1.1. UART0 (J8) ....................6-2 6.3.1.2. UART1 (J9) ....................6-2 6.3.1.3.
  • Page 5 LIST OF FIGURES Figure 3-1. CS89712 Functional Block Diagram................3-2 Figure 3-2. CS89712 Operating States..................3-5 Figure 4-1. Wiggler Connected to CDB89712................4-1 Figure 4-2. Null Modem Cable Wiring ..................4-2 Figure 4-3. Layout of CS89712 Development Board with Major Board Components Identified .. 4-3 Figure 5-1.
  • Page 6 LIST OF TABLES Table 2-1. Terms and Definitions ....................2-2 Table 2-2. Units of Measurement....................2-3 Table 4-1. Jumper settings Used to Enable Certain Processor States ........4-4 Table 4-2. Flash Memory Interface Settings ................4-6 Table 4-3. Description of Momentary Switches................4-6 Table 4-4.
  • Page 7: Chapter 1: The Cs89712 Development Kit

    CS89712 Development Kit: CDB89712 1.3 KIT CONTENTS The CDB89712 Development Kit contains the following: Cirrus Logic CS89712 Development Board - CDB89712 Cirrus Logic CS89712 Development Kit CD — CS89712 Data Sheet — Component Data Sheet — Orcad Schematic —...
  • Page 8: Software Development Toolkits Ported To The Cs89712

    CDB89712 — Sample Software Applications LynuxWorks' BlueCat Enhanced Tool Kit for Windows Host and the CS89712 Linux Board Support Package — Sample Software Applications VxWorks Board Support Package from WindRiver Macraigor OCD ("Wiggler") Debugging Tool Ice_boot Debug Monitor Preloaded in FLASH Memory Serial Cable AC Adapter 1.4 SOFTWARE DEVELOPMENT TOOLKITS PORTED TO THE CS89712...
  • Page 9 CDB89712 ® GNU Pro ETS (Embedded ToolSuite) from Red Hat , Inc., a product formerly sold by Cygnus Solu- tions, is a set of software development tools based on the open source GNU standard. The CS89712 Developers Toolkit does not include an evaluation copy of this software development environment. To learn more about GNU Pro ETS and about how to order this product, go to this Web site: www.cygnus.com/gnupro/gnupro_ets.html BlueCat Enhanced Development Tool Kit distributed by LynuxWorks.
  • Page 10: Cs89712 Development Kit Board

    The development kit board is designed as a prototype. It has headers to access the various I/O ports of the CS89712, and for an interface to a logic analyzer. 1.6 MAIN FEATURE SET The development board has the following features: Cirrus Logic CDB89712 Evaluation Board Microprocessor — CS89712 processor running at up to 73.728 MHz Memory —...
  • Page 11: Chapter 2: Overview

    This document describes the board-level hardware and software components that comprise the CDB89712 Cirrus Logic Development Board. This document points the user to vendor documents / Internet sites where the reader can find more specific details about other processors and devices (ICs) used on the CDB89712 development board.
  • Page 12: Document Conventions

    CDB89712 2.3 DOCUMENT CONVENTIONS 2.3.1 Terms and Definitions Table 2-1 contains the acronyms, abbreviations, and terms used in this User’s Manual. Acronym / Definition Abbreviation Analog-to-Digital Converter Angel ARM Toolkit target debug monitor software Advanced RISC Machines. This is the architecture of the microprocessor at the heart of the CS89712.
  • Page 13: Units Of Measurement

    CDB89712 2.3.2 Units of Measurement Table 2-2 describes the units of measurement used in this manual. Symbol Unit of Measure Bits per pixel. The number is bits used in a display. Bits per second. Used to describe the transfer rate of a serial interface. °...
  • Page 14: Ensuring That You Have The Latest Revision Of This Document

    Any changes to the Development Kit will be described in future revisions of this manual and in Errata Sheets, if any, that accompany this document. The latest version of this manual, as well as documentation associated with all the other products from Cirrus Logic can be found on the Cirrus Internet site at: http://www.cirrus.com/...
  • Page 15: Chapter 3: Details Of Hardware Design

    Chapter 3: Details of Hardware Design 3.1 INTRODUCTION This chapter describes the major components on the CS89712 Development Board. A complete CS89712 data sheet can be downloaded from the Cirrus Logic website at http://www.cirrus.com. 3.2 CS89712 PROCESSOR The CS89712 is an ARM 32-bit RISC microcontroller incorporating a wide range of on-chip peripherals, including an on-chip Ethernet controller.
  • Page 16: Functional Block Diagram

    CDB89712 3.3 FUNCTIONAL BLOCK DIAGRAM 10BASE-T ETHERNET INTERNAL DATA BUS 3.6864 MHZ D[0-31] ARM720T 32.768 32.768 KHZ OSCILLATOR ARM7TD MEMORY CONTROLLER NPOR, RUN, STATE CONTROL RESET, WAKEUP EXPCLK, WORD, 8-KBYTE EXPANSION NCS[0:3], EXPRDY, CACHE CONTROL POWER WRITE BATOK, EXPWR MANAGEMENT PWRFL, BATCHG MOE, MWE, SDCLK, SDRAM CNTRL...
  • Page 17: Flash Memory

    CDB89712 3.4.2 FLASH Memory The FLASH memory is provided in one bank, made up of two 32 Mbit devices, arranged as one contiguous block of 8 Mbytes. Accesses to FLASH are 32 bits wide. The devices used on the development board are Intel TE28F320B3BA110. Each block may be erased up to 100,000 times before end of life.
  • Page 18: Nbatchg

    CDB89712 to their negated states. 3.6.1.2. nBATCHG When asserted indicates a “no battery” condition, or battery voltage has fallen below the minimum operating threshold. 3.6.1.3. nPWRFL When asserted indicates a power fail condition. This condition will force a transition to the Standby State.
  • Page 19: Resetting /Waking Up The Development Board

    CDB89712 Figure 3-2. CS89712 Operating States 3.8 RESETTING /WAKING UP THE DEVELOPMENT BOARD There are several momentary signals that are used to either reset or wakeup the development board. 3.8.0.1. Ethernet Port power state The Ethernet port has a software initiated power down state that is independent of the ARM core. 3.8.1 Resetting the Board There are three asynchronous reset signals supported by the CS89712:...
  • Page 20: Npwfrl

    CDB89712 3.8.1.3. nPWFRL Power failure; when active, this signal will generate an internal reset and place the CS89712 into Standby State. This signal is generated from a switch labelled PWRFL on the CDB89712. 3.8.2 Waking up the Board Once the CS89712 has been reset, it enters Standby. The transition from the Standby state to the Operating state is triggered by a rising edge on the Wakeup pin.
  • Page 21: Chapter 4: Set-Up And Operation Reference

    Connect a null modem cable, which is supplied with your CS89712 Development Kit, from a host PC to the Development Board. Communication is enabled by connecting UART1 (Serial Port 0) on the Copyright  Cirrus Logic, Inc. 2000 JUL ‘01 P.O.
  • Page 22: Figure 4-2. Null Modem Cable Wiring

    CDB89712 development board to either COM1 or COM2 of the host PC. See “Angel Debug Monitor” on page 2 for more information about the Angel debug monitor software. The pin connections for the null modem connector are shown in Figure 4-2.
  • Page 23: Cs89712 Development Board Layout

    CDB89712 4.3 CS89712 DEVELOPMENT BOARD LAYOUT Figure 4-3 shows the layout of the CDB89712, Rev. A and Rev. B: Ethernet Flash memory SDRAM Connector Prototype Connectors Area Reset, Wakeup Buttons CS89712 Power Manage- ment Switches Prototype Area IrDA Port Expansion UART2 / UART1 / Power...
  • Page 24: Development Board Jumper And Switch Settings

    CDB89712 4.4 DEVELOPMENT BOARD JUMPER AND SWITCH SETTINGS This section describes the jumpers switches, indicators and other signals that are available on the CS89712 Development Board. For more information about the functions they control, see the CS89712 Data Sheet. 4.4.1 Controlling / Changing Processor States Table 4-1 shows the jumper settings for controlling and changing the operating states of CS89712...
  • Page 25 CDB89712 JP33 Factory test only. JP34 TxD2 Shunt pin 1 and 2 to loopback UART 2. RxD2 Table 4-1. Jumper settings Used to Enable Certain Processor States (Continued) You will need to jumper JP29 and 30 when you use JTAG or Multi-ICE debugging. DS502UM2...
  • Page 26: Flash Memory Interface Settings (Jp15-18)

    CDB89712 4.4.2 Flash Memory Interface Settings (JP15-18) The interface to the Flash memory is controlled by jumpers JP15, 16, 17 and 18. The settings are shown in table Table 4-2. Jumper Name Description JP15 16 / 32 BIT 16 bit Flash memory enabled. disables the FLASH ENABLE most significant word of the Flash memory (U7).
  • Page 27: Led Indicators

    CDB89712 4.4.4 LED Indicators describes the activity displayed by the LED indicators on the CS89712 Development Table 4-4 Board. Location Name Description DIAG User Controllable Diagnostic Indicator LINK Valid Link Detected on LAN ACTIVITY Activity Detected on LAN POWER Board Power On Table 4-4.
  • Page 28: System Assignments

    CDB89712 4.5 SYSTEM ASSIGNMENTS 4.5.1 Memory Map Physical Address Space Description Decode 0x0000:0000 – 0x00FF:FFFF 16 Mbytes SDRAM 0x0000:0000 - 0x0000:4000 Ice_boot program 0x0000:4000 - 0x0000:8000 Page Table for MMU 0x0000:8000 – 0x00FF:FFFF User Program Space 0x0100:0000 – 0x017F:FFFF 8 Mbytes FLASH BANK 1 nCS0 0x0180:0000 –...
  • Page 29: Gpio Assignments

    CDB89712 4.5.2 GPIO Assignments Port Reset State Description PA[7:0] Input Keyboard Row Data JP20 Input I/O Available for general use on JP19 Input RTS control line for UART0 Input Ring Indicate line for UART0 Input Available for general use. Input Available for general use.
  • Page 30: Controlling Power States

    CDB89712 4.6 CONTROLLING POWER STATES 4.6.1 Toggle Switch Settings for Controlling Power / Standby / Battery States The switch settings described in Table 4-9 control the operating state for either the battery or an external power source. Note: toggle down is toggle switched toward the prototype area. Switch Label Signal Switch Description...
  • Page 31: Peripheral Power States

    CDB89712 4.6.3 Peripheral Power States Function Operating Standby Idle nPOR Reset nURESET Reset Reset PLL/CLKEN SDRAM Self Refresh Self Refresh UARTs Reset Reset TIMERS Reset Reset Reset Reset ADC I/F Reset Reset CODEC I/F Reset Reset Reset Reset DC – DC Reset Reset Table 4-11.
  • Page 32: Chapter 5: Using The Development Board Software

    When the download process is complete, the PC will display the message: Successfully downloaded ice_boot.rom Power down the board, remove JP31, then power up the board. Press POR, wait 2 seconds, then press Copyright  Cirrus Logic, Inc. 2000 JUL ‘01 P.O. Box 17847, Austin, Texas 78760...
  • Page 33: Installing The Green Hills Tools

    CDB89712 Wakeup. The board is now ready to use. 5.1.1.2. Installing the Green Hills tools To install the Green Hills tools, run Setup.exe from the root directory on the CD-ROM and follow the on-screen directions. 5.1.1.3. Memory map Table 4-5, “Memory Map for the CS89712 Microcontroller, Booting Ice_boot,” shows the memory map once Ice_boot has been loaded.
  • Page 34: Using Angel To Control The Development Board Using Arm Tools Debugger

    CDB89712 5.1.4.1. Using Angel to Control the Development Board using ARM Tools Debugger NOTE: (See Greenhill’s documentation for connecting to Angel with the Greenhill debugger) In order to communicate with the development board: 1) Connect one of the supplied NULL modem cables between the Serial Port 0 connector on the development board and any available COM port on the host system.
  • Page 35: Chapter 6: Board Interfaces Reference

    The CS89712 is equipped with two UARTs. Both UARTs support data rate up to 115kbps and have 16 byte FIFO on both receive and transmit channels. UART0 also supports the IrDA protocol, which can be enabled under software control. Copyright  Cirrus Logic, Inc. 2000 JUL ‘01 P.O. Box 17847, Austin, Texas 78760...
  • Page 36: Uart0 (J8)

    CDB89712 6.3.1.1. UART0 (J8) The primary serial port of the CS89712 is UART0. This UART contains many of the standard modem control signals found in a standard UART. The signals not implemented by the CS89712 are DTR, RTS and RI. The development board implements both RTS and RI through GPIO pins. The definition is given in Table 6-2 below.
  • Page 37: Infrared (Irda) Interface

    CDB89712 6.3.2 Infrared (IrDA) Interface The development boards IrDA port supports Infrared communications for such applications as data transfer between hand-held devices and printing files on infrared-enabled printers. The IrDA port supports data transfers of up to 115.2 kbps. The IrDA port on the CS89712 is shared with UART1. The processor can be configured to use either the standard serial port pins, or the LEDDRV and PHDIN pins to handle infrared signals.
  • Page 38: Headers

    CDB89712 6.3.4 Headers Table 6-5 describes the headers for the CS89712 Development Board. Location Name Description JP21 MULTI-ICE Connection to Multi-ICE or Wiggler JP24 MULTI-ICE Connection to Multi-ICE. JP34 TTL SERIAL PORT 1 TTL connection to Serial Port 1 JP19, JP20, Expansion headers for Refer to schematic for details on header pin assignments.
  • Page 39: Data Input And Control Interfaces

    CDB89712 6.3.6 Data Input and Control Interfaces 6.3.6.1. Diagnostic LED A single LED may be driven by software as a visual indicator of activity. The GPIO bit PD0 drives the LED. On a power-on reset the LED is not lit. When the PD0 bit is set to an output driving the port bit high will light the LED.
  • Page 40: Chapter 7: Board Specifications

    The Ethernet connector used in this design is a standard right angle 10Base-T RJ45. Example part: CorCom - RJ45-8L2-S. Serial Ports (J8, J9) The serial port connectors are male, right angle standard density 9-contact DSUBs. Example part: Copyright  Cirrus Logic, Inc. 2000 JUL ‘01 P.O. Box 17847, Austin, Texas 78760 (All Rights Reserved)
  • Page 41: Recommended Operating And Storage Environments

    CDB89712 AMP - 787203-1. Power (J1) DC Power Jack, 2.5mm Mini power connector, 2 position 0.1 pin. Example part: Switchcraft - RAPC712. 7.3 RECOMMENDED OPERATING AND STORAGE ENVIRONMENTS 7.3.1 Temperature The CS89712 Development Board can be stored safely at temperatures ranging from -20 to 85°C. The CS89712 Development Board functions reliably in an ambient operating temperature of 0-70°C, inclusive.
  • Page 42: Appendix A: Development Kit Software Reference

    If a runtime error condition is detected, the user can supply their own function to handle and report the condition. A.1.3 helloworld.c Demonstrates a simple "hello world" application using the I/O window as stdio. Copyright  Cirrus Logic, Inc. 2000 JUL ‘01 P.O. Box 17847, Austin, Texas 78760 (All Rights Reserved) DS502UM2...
  • Page 43: Ledblink.c

    CDB89712 A.1.4 ledblink.c This example demonstrates how to control a led by writing the relative register. The led will blink constantly after running. A.1.5 MemoryChecking.c Applications which use dynamic memory management (malloc / free) must ensure that all malloc’d memory blocks are freed after use. If allocated memory is not freed, then that memory is no longer available for re-allocation to the program, thus reducing the total available memory.
  • Page 44 CDB89712 - Runtime Error Checking: There are a number of intentional errors in this demonstration program. These errors will not cause the application to fail, and are composed of completely legal C statements. Program errors such as these are easy to create, can manifest themselves unpredictably, and are difficult to reproduce and debug.
  • Page 45 • Notes •...

Table of Contents