background image

Copyright 

 Cirrus Logic, Inc. 2000

(All Rights Reserved)

P.O. Box 17847, Austin, Texas 78760
(512) 445 7222  
 FAX: (512) 445 7581
http://www.cirrus.com

CDB89712

User’s Manual

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.

JUL ‘01

DS502UM2

查询CDB89712供应商

捷多邦,专业PCB打样工厂,24小时加急出货

Summary of Contents for ARM CDB89712

Page 1: ... 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 JUL 01 DS502UM2 查询CDB89712供应商 捷多邦 专业PCB打样工厂 24小时加急出货 ...

Page 2: ...lopment and subject to development changes Cirrus Logic Inc has made best efforts to ensure that the information contained in this document is accurate and reliable However the information is subject to change without notice and is provided AS IS without warranty of any kind express or implied No responsibility is assumed by Cirrus Logic Inc for the use of this information nor for infringements of...

Page 3: ...ntrolling Changing Processor States 4 4 4 4 2 Flash Memory Interface Settings JP15 18 4 6 4 4 3 Momentary Switches 4 6 4 4 4 LED Indicators 4 7 4 5 System Assignments 4 8 4 5 1 Memory Map 4 8 4 5 2 GPIO Assignments 4 9 4 5 3 Interrupt Assignments 4 9 4 6 Controlling Power States 4 10 4 6 1 Toggle Switch Settings for Controlling Power Standby Battery States 4 10 4 6 2 Setting Toggle Switches to Man...

Page 4: ...nterfaces 6 5 6 3 6 1 Diagnostic LED 6 5 Chapter 7 Board Specifications 7 1 7 1 Introduction 7 1 7 2 Physical Specification 7 1 7 2 1 Printed Circuit Board PCB 7 1 7 2 1 1 PCB Form Factor 7 1 7 2 1 2 PCB Construction Materials 7 1 7 2 1 3 Connector Characteristics 7 1 7 3 Recommended Operating and Storage Environments 7 2 7 3 1 Temperature 7 2 7 3 2 Humidity 7 2 7 3 3 Air Flow 7 2 Appendix A Devel...

Page 5: ... 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 Successful Connect Message 5 3 Figure 5 2 Angel Error Message 5 3 ...

Page 6: ... the CS89712 Booting Angel 4 8 Table 4 7 GPIO Assignments for the CS89712 Development Board 4 9 Table 4 8 Interrupt Assignments for the CS89712 Development Board 4 9 Table 4 9 Toggle Switch Assignments 4 10 Table 4 10 Power Management Switches 4 10 Table 4 11 Power States of the CS89712 s Peripherals by Operating State 4 11 Table 6 1 Description of Connectors 6 1 Table 6 2 Serial Port GPIO Impleme...

Page 7: ...and applications for the CS89712 1 2 ORDERING THE CDB89712 DEVELOPMENT KIT You can order the CDB89712 Development Kit from your local Cirrus Sales Representative using the following part number l CS89712 Development Kit CDB89712 1 3 KIT CONTENTS The CDB89712 Development Kit contains the following l Cirrus Logic CS89712 Development Board CDB89712 l Cirrus Logic CS89712 Development Kit CD CS89712 Da...

Page 8: ... Devel opment Kit includes a 30 day evaluation version of the MULTI Integrated Development Environment toolkit is a development environment for embedded applications using C C Embedded C Ada 95 or FORTRAN languages For more information about the MULTI development environment see www ghs com products MULTI_IDE html To upgrade to a fully licensed version of the MULTI Integrated Development environme...

Page 9: ...pment Tool Kit distributed by LynuxWorks BlueCat Linux is an open source distribution of Linux version 2 2 12 adapted to meet the requirements of embedded developers BlueCat Linux is enhanced with cross development and embedding tools and includes components that run on the development system the host and on the embedded system target It also contains demonstration programs and test suites to help...

Page 10: ...development board has the following features l Cirrus Logic CDB89712 Evaluation Board l Microprocessor CS89712 processor running at up to 73 728 MHz l Memory DRAM 16 Mbytes of SDRAM FLASH A total of 8 Mbytes l Peripherals Power Management Switches Two Serial Ports primary Serial interface switchable between RS 232 and IrDA RJ45 Jack for on chip Ethernet Logic Analyzer Connectors General Purpose I ...

Page 11: ...The scope of this manual is limited to describing the printed circuit board connections between components on that board and between the board and other components intended to connect to the evaluation board 2 2 REVISION LEVELS ASSOCIATED WITH THIS MANUAL This document assumes you are using following revision levels when you use this manual l Your development board is Revision B of the CDB89712 bo...

Page 12: ...munication standard Ice_boot Program that initializes SDRAM interface MMU and cache Preloaded on CDB89712 Flash mem ory Used with Green Hills Multi and Wiggler IrDA Infrared Data Association JTAG Joint Test Action Group LCD Liquid Crystal Display MMU Memory Management Unit NAND Not And opposite of logical And PWM Pulse Width Modulation RTC Real Time Clock This clock maintains time date information...

Page 13: ...SB separated by a colon for example CODR 7 0 or LSB to MSB separated by a hyphen for example CODR 0 2 The use of tbd indicates values that are to be determined n a designates not available and n c indicates a pin that is a no connect Symbol Unit of Measure bpp Bits per pixel The number is bits used in a display bps Bits per second Used to describe the transfer rate of a serial interface C degree C...

Page 14: ...nterconnects l ARM http www arm com l AMP http connect amp com l Bourns http www bourns com l Coilcraft http www coicraft com l Halo Electronics http www haloelectronics com l Intel http www intel com developer l Kemet http www kemet com l LynuxWorks http www lynuxworks com l Maxim http www maxim ic com l Micrel http www micrel com l Microchip http www microchip com l NEC http www necel com l Sipe...

Page 15: ...SSOR The CS89712 is an ARM 32 bit RISC microcontroller incorporating a wide range of on chip peripherals including an on chip Ethernet controller The core of the CS89712 is designed with an ARM720T processing unit comprising an ARM7 microprocessor enhanced MMU and 8 Kbytes of 4 way set associative cache The CS89712 is a 3 3V core processor voltage is 2 5V device with a maximum input clock of 73 72...

Page 16: ... detailed discussion of setting up the MMU is beyond the scope of this manual and the reader is directed to the ARM Architectural Reference Manual for further information 32 768 KHZ OSCILLATOR PLL INTERRUPT CONTROLLER POWER MANAGEMENT SSI1 ADC LCD CONTROLLER ARM7TD 8 KBYTE CACHE MMU TIMER CODE ARM720T INTERNAL DATA BUS PWM 3 6864 MHZ 32 768 KHZ EINT 1 3 FIQ MEDCHG BATOK EXPWR PWRFL BATCHG PORTS A ...

Page 17: ... integrated real time clock and is provided by a simple tuning fork type crystal The processor derives its clock from a 3 6864 MHz crystal connected to the master oscillator pins 73 728 MHz is the maximum operating frequency of the CS89712 3 6 POWER MANAGEMENT MODES The power management modes implemented by the CS89712 enable complete control of system power consumption While the development board...

Page 18: ... Operating l Standby l Idle 3 7 1 Description Of Supported Power States Figure 3 2 CS89712 Operating States details the operating states of the CS89712 microcontroller Table 4 11 Power States of the CS89712 s Peripherals by Operating State lists the status of the CS89712 s peripherals in the different operating states 3 7 1 1 OPERATING All functions and integrated peripherals of the CS89712 are ru...

Page 19: ...when power is first applied to the board The development board implements this signal with a simple resistor and capacitor network with a time constant of approximately 10mS In addition a momentary switch labeled POR is available to implement control of this signal Note that a power on reset will also reset the RTC 3 8 1 2 nURESET User reset this input resets the ARM processor without resetting ma...

Page 20: ...e board numbered 0 and 1 Serial Port 0 is always in its powered up state Port 0 can be disabled but not powered down by installing a jumper on JP36 which holds the Data Terminal Ready DTR line low If the jumper is removed the DTR line is held high Serial Port 1 is disabled by installing a jumper on JP35 3 9 2 Ethernet Port The CDB89712 has one 10BASE T Ethernet port J3 It is connected to the Ether...

Page 21: ...host PC to the development board to debug an application l Connect your host PC to the JTAG interface connector via a cable and port specified by the debugging software you choose to use The Wiggler supplied with the board connects to the PC parallel port and to the 14 pin JTAG header JP21 Pin 1 of the ribbon cable connector with the red stripe on the cable goes towards the edge of the board that ...

Page 22: ... 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 Figure 4 2 Null Modem Cable Wiring ...

Page 23: ...Figure 4 3 Layout of CS89712 Development Board with Major Board Components Identified Ethernet Connector Flash memory SDRAM Prototype Area Power Switch UART1 Serial Port 0 UART2 Serial Port 1 Power Connector Prototype Area Power Manage ment Switches Reset Wakeup Buttons ICE Connectors CS89712 Expansion Headers IrDA Port ...

Page 24: ...per Signal Description JP31 MEDCHG Boot in normal mode start executing from flash location 0x0000 0000 Factory setting Boot from internal boot ROM reverse chip select mapping begin executing from what is normally expansion page 7 now at location 0x0000 0000 JP35 UART2 EN DIS Enable UART2 line driver Factory setting Disable UART2 line driver JP27 28 PE 1 0 32 bit boot operation Factory setting 8 bi...

Page 25: ...3 Factory test only JP34 TxD2 RxD2 Shunt pin 1 and 2 to loopback UART 2 a You will need to jumper JP29 and 30 when you use JTAG or Multi ICE debugging Table 4 1 Jumper settings Used to Enable Certain Processor States Continued ...

Page 26: ...ASH 16 bit selected This adjusts the addressing of the Flash memory to short word 16 bit addressing so that A1 is the LSB of the address going to the Flash memory This setting is only valid when JP15 is not installed 32 bit selected This setting aligns the Flash memory address to long word 32 bit boundaries so that the LSB of the address to the Flash memory is A2 This setting is only valid when JP...

Page 27: ... activity displayed by the LED indicators on the CS89712 Development Board Location Name Description D7 DIAG User Controllable Diagnostic Indicator D5 LINK Valid Link Detected on LAN D6 ACTIVITY Activity Detected on LAN D2 POWER Board Power On Table 4 4 LED Indicators ...

Page 28: ... 0x7000 007F On Chip Boot Code 128 Bytes 0x8000 0000 0x8000 02FF CS89712 Internal Registers Table 4 5 Memory Map for the CS89712 Microcontroller Booting Ice_boot Physical Address Space Description Decode 0x0000 0000 0x0000 FFFF Flash Bank ROM Space nCS0 0x0001 0000 0x007F FFFF Flash Bank nCS0 0x2000 0000 0x2000 02FF Expansion Header nCS2 0x2000 0300 0x2000 030F Ethernet Port nCS2 0X2000 0310 0X2FF...

Page 29: ... Available for general use PD0 Output low O Diagnostic LED control line PD1 I O O Available for general use PD2 Output low O Available for general use PD3 Output low O Available for general use PD4 Output low O Available for general use PD5 Output low O Available for general use PD6 I O O SDQM0 PD7 Output low I O SDQM1 PE0 Input O CS89712 boot mode selection PE1 Input O Available for general use C...

Page 30: ...r Switch Label Signal Switch Description BATCHG nBATCHG Default Off Simulates low battery condition PWRFL nPWRFL Default Off Forces CS89712 into Standby state BATOK BATOK Default No battery installed Battery OK EXTPWR nEXTPWR External power Off Default External power On Power Main Power not a processor pin other than VDD VPROC Power Off Power On Table 4 9 Toggle Switch Assignments Switch Name Sign...

Page 31: ...Off On Off Off SDRAM On Self Refresh On Off Self Refresh UARTs On Off On Reset Reset RTC On On On On On TIMERS On Off On Reset Reset LCD On Off On Reset Reset ADC I F On Off On Reset Reset CODEC I F On Off On Reset Reset PIC On On On Reset Reset DC DC On Off On Reset Reset Table 4 11 Power States of the CS89712 s Peripherals by Operating State ...

Page 32: ... to assess the features and functions of the CS89712 and the peripherals designed on the board 5 1 1 Green Hills Multi 2000 Included in the CD ROM is a 30 day evaluation copy of Green Hills Multi 2000 This software contains the MULTI 2000 Integrated Development Environment C C Optimizing Compilers Instruction Set Simulator MULTI Multimedia Demonstration Windows 9x NT Only and Documentation in PDF ...

Page 33: ...on the CDROM and follow the on screen directions If you are unfamiliar with the ARM SDT select the online manuals as one of the components to install The SDT will have minor problems if it is installed into a directory path that contains a space character therefore we recommend that you to not install the SDT into the Program Files directory Caution The evaluation version of the SDT will create a ...

Page 34: ...hould connect to Angel on the development board and then print out a message in the Console Window that is similar to the message found in Figure 5 1 If there is a problem such as a bad serial cable attempting to use the wrong serial port etc the message shown in Figure 5 2 will be displayed 5 1 4 2 Switching between Development Board Debuggers and the ARMulator when using the ARM SDT The ARM Debu...

Page 35: ...he exact location of the CS89712 Development Board components 6 2 LOCATION OF MAJOR CONNECTORS DISCUSSED IN THIS CHAPTER Table 6 1 describes the purpose of the connectors on the CS89712 Development Board and how they are labeled on the board 6 3 MAJOR INTERFACES 6 3 1 Serial Port Interfaces The CS89712 is equipped with two UARTs Both UARTs support data rate up to 115kbps and have 16 byte FIFO on b...

Page 36: ...port has the added feature that the serial port voltage level shifter may be disabled and the CS89712 s driver pins are accessed directly This is accomplished by installing a jumper on JP35 and using JP34 to access the port pins JP34 is outlined in Table 6 3 below 6 3 1 3 Controlling Serial Port Communications Table 6 4 describes the jumper setting for enabling disabling COM1 and COM2 communicatio...

Page 37: ...e 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 See the CS89712 data sheet for a full explanation of this configuration 6 3 3 Twisted Pair Ethernet Interface J3 The Ethernet controller is a 10Base T controller A detailed discussion of the Ethernet port is beyond the s...

Page 38: ...connection to Serial Port 1 JP19 JP20 JP22 JP23 Expansion headers for user defined options Refer to schematic for details on header pin assignments JP15 RS232 EN DIS Enable disable Serial Port 1 JP31 TTL SER2 TTL I O for Serial Port 1 JP27 30 CPU CONFIG Configures CPU clock speed and boot operation J4 7 PROCESSOR PINS Intended for future product development In future this board may be manufactured...

Page 39: ...erfaces 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: ...ent Board with Major Board Components Identified 7 2 1 2 PCB Construction Materials The PCB is constructed from materials with a flame rating of 94V0 This rating meets the self extinguishing characteristics required by safety agencies in countries of sale 7 2 1 3 Connector Characteristics Processor Daughter Module Headers J4 J7 The four connectors intended for use as daughter module headers are ar...

Page 41: ...ging from 20 to 85 C The CS89712 Development Board functions reliably in an ambient operating temperature of 0 70 C inclusive 7 3 2 Humidity The CS89712 Development Board operates reliably in storage and or operating in relative humidity of 10 to 95 non condensing in the appropriate temperature ranges specified above 7 3 3 Air Flow The CS89712 Development Board operates reliably in storage and or ...

Page 42: ...ch we can write and read formatted data to the eeprom A 1 2 CustomRunTimeErrorChecking c The Green Hills C runtime libraries offer the option of run time error checking of common but potentially nasty programming bugs such as null pointers memory allocation errors array boundary overflows and others Normally these runtime error checks are reported in the debugger execution will halt and an error m...

Page 43: ... bin 4 Power the board and press the wakeup button 5 Once the download is complete LED D7 will light up 6 Power off the board 7 Remove jumper31 8 Power the board and press the reset button 9 Wait 2 seconds and then press the Wakeup button LED D7 will begin to blink at a constant rate A 1 7 RunTimeErrorChecking c Simple programing errors which cannot be detected at compile time can be very difficul...

Page 44: ... runtime error checking libraries will detect these errors at the first execution allowing you to concentrate on more important issues Mixed Language Debugging Capability This application is composed of C and C source files MULTI can seamlessly build and debug mixed language applications written in C C EC FORTRAN or Assembly Formatted Display of Variables Structs Arrays This demonstration uses a l...

Page 45: ... Notes ...

Page 46: ......

Reviews: