Advertisement

Quick Links

MCB167-NET
Evaluation Board
High-Speed Microcontroller Board
for Infineon 167 and ST10-167/168 variants
with dual CAN and Ethernet Controller
User's Guide 05.2000

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MCB167-NET and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Keil MCB167-NET

  • Page 1 MCB167-NET Evaluation Board High-Speed Microcontroller Board for Infineon 167 and ST10-167/168 variants with dual CAN and Ethernet Controller User’s Guide 05.2000...
  • Page 2 Copyright © 1993-2000 Keil Elektronik GmbH and Keil Software, Inc. All rights reserved. Keil C166™ and µVision2™ are trademarks of Keil Elektronik GmbH.
  • Page 3 DIP switches and configuration jumpers. “Chapter 3. Hardware” provides detailed information about hardware including the schematic drawings for the MCB167-NET board and the logic equations for the PLD. “Chapter 4. Programming” gives details about how to use our tools to generate programs for the MCB167-NET evaluation board.
  • Page 4: Table Of Contents

    Chapter 3. Hardware..................13 PAL Equations ......................17 Schematics ........................18 Printed Board Assembly .....................22 Technical Data ......................23 Pin-Out of Port Signals ....................23 Chapter 4. Programming .................25 Writing Programs for the MCB167-NET..............25 BLINKY Example Program..................28 Other Example Programs ....................29 Application Notes .......................29 Index ........................30...
  • Page 5: Chapter 1. Introduction

    Thank you for letting Keil Software provide you with the MCB167-NET evaluation board and software for the 166/ST10 microcontroller family. With this kit you can generate code and then operate it on the MCB167-NET evaluation board. This hands-on process helps you determine hardware and software needs for current and future product development.
  • Page 6: Quick Start

    Connect the MCB167-NET to your PC. “Using the MCB167-NET” on page 7. Read about the default configuration settings. “Configuring the MCB167-NET” on page 8. Configure the tool options for the MCB167-NET “Writing Programs for the MCB167-NET” on board. page 25.
  • Page 7: Chapter 2. Setup

    Connect power using a DC 9V= 500mA power supply. The serial cable lets your PC download program code and debug your target applications. The power cable provides power to the MCB167-NET evaluation board. The MCB167-NET does not get power from the PC via the serial cable.
  • Page 8: Configuring The Mcb167-Net

    LED’s for Power and Port P2.0 .. P2.7 Status ST10-167/168 variant Configuring the MCB167-NET You configure the MCB167-NET evaluation board with the DIP switches and the configuration jumpers. The MCB167-NET evaluation board is shipped with the following configuration: 20 MHz internal CPU clock, 3 chip select signals, 4 segment address lines.
  • Page 9: Dip Switches

    MCB167-NET Board User’s Guide DIP Switches The following sections describe each of the DIP switches of the MCB167-NET board. CLKCFG: Default OFF ON OFF The CLKCFG switches select the clock generation. The 167 device used an on- chip PLL that generates from the external 10MHz XTAL the CPU clock signal.
  • Page 10 MCB167-NET Board BTYP: Default OFF ON The BTYP switches select the external bus type. The MCB167-NET board uses an demultiplexed 16-bit address bus. Therefore the bus type cannot be changed without extensive modification of the MCB167-NET hardware. The following table lists the possible external bus types with the 167 CPU.
  • Page 11: Configuration Jumpers

    WRCFG: Default ON The WRCFG configuration jumper selects the initial operation of the WR/ and BHE/ signals. For correct operation the MCB167-NET board requires a WRH/ and WRL/ signal. Therefore this jumper should be always ON. A20, A21, A22, A23: Default ON The A20…A23 configuration jumpers connect the CAN bus drivers (IC9 and...
  • Page 12 Chapter 2. Setup VAREF, VAGND: Default ON This configuration jumpers provide the reference voltage for the A/D converter. When you set this jumpers to off, you may supply an user provided reference voltage. VPP: Default OFF VPP provides the flash programming voltage for some devices. In some device variants.
  • Page 13: Chapter 3. Hardware

    MCB167-NET Board User’s Guide Chapter 3. Hardware The MCB167-NET is designed to be a very flexible evaluation board that you can use for a wide variety of 167 and ST10-167/168 variants. It supports up to two CAN interfaces that can be enabled using jumpers. We have also tried to provide a board that can be expanded to support your own hardware prototypes.
  • Page 14 9 and “Configuration Jumpers” on page 11 for a complete description of the DIP switches and configuration jumpers. NOTE You must RESET the MCB167-NET after changing the state of any DIP switch. CAN Drivers The MCB167-NET provides a dual CAN interface with SI9200AY CAN drivers (IC9 and IC11) and termination resistors (R18 and R19).
  • Page 15 PAL Equations” on page 17 for a complete listing of the PAL equations used. Status LEDs The MCB167-NET has a power LED labeled PWR which indicates the power to the board is on. Eight LEDs are connected to the Port 2 outputs for status display in user programs.
  • Page 16 Prototyping Area A perforated area is provided on the MCB167-NET for prototyping your own hardware. All CPU signals are connected to this prototyping area. The signals provided are driven directly by the CPU. Exercise caution to avoid overloading these signal lines.
  • Page 17: Pal Equations

    MCB167-NET Board User’s Guide PAL Equations This following lists the PAL equations for the 20V8 logic device at IC12. ;PALASM Design Description ;---------------------------------- Declaration Segment ------------ TITLE GAL for MCB167NET Prototype board PATTERN Decode Logic for Ethernet Controller REVISION 1.0...
  • Page 18: Schematics

    Chapter 3. Hardware Schematics...
  • Page 19 MCB167-NET Board User’s Guide...
  • Page 20 Chapter 3. Hardware...
  • Page 21 MCB167-NET Board User’s Guide...
  • Page 22: Printed Board Assembly

    Chapter 3. Hardware Printed Board Assembly...
  • Page 23: Technical Data

    MCB167-NET Board User’s Guide Technical Data Supply Voltage: 8V - 12V DC Supply Current: typical: 400mA XTAL Frequency: 10 MHz (allows 10MHz - 50MHz on-chip clock) Memory: 1 Mbytes high-speed RAM (optional: 1 Mbytes off-chip Flash ROM) CPU: Infineon C167CR or C167CS...
  • Page 24 Chapter 3. Hardware PX.4 PX.5 PX.6 PX.7 PX.0 PX.1 PX.2 PX.3 Signal Pin-Out for P4, P6, P7, and P8 signals INTRQ3 INTRQ2 INTRQ1 WRL/ MISC VAREF VAGND READY/ RSTIN/ RSTOUT/ NMI/ Signal Pin-Out for control signals (MISC)
  • Page 25: Chapter 4. Programming

    Chapter 4. Programming Writing programs for the MCB167-NET is relatively simple. The Keil Monitor- 166 can be used to connect the µVision2 Debugger to the MCB167-NET board. You can use the powerful debugging interface to test application programs on the MCB-167-NET board.
  • Page 26 Chapter 4. Programming NET\Blinky\Start167.A66 to your project folder. This file is already correctly configured for the MCB167-NET board. Set tool options for MCB167-NET hardware. Project - Options for Target opens the µVision2 Options for Target - Target configuration dialog. When you are using Monitor-...
  • Page 27 Then you may single step through your code and use other debugger features. You can find more information in the µVision2 and C166 Getting Started User’s Guide (C:\Keil\C166\hlp\GS166.PDF), Chapter 5. Testing Programs.
  • Page 28: Blinky Example Program

    BLINKY Example Program The following simple program, BLINKY, is an exercise you may use to test the MCB167-NET and verify that you can use the tools provided to generate a working program. BLINKY blinks the LEDs on the MCB167-NET evaluation board. The complete source listing for the program is shown below: /* FLASH.C - LED Flasher for the Keil MCB167-NET Board */...
  • Page 29: Other Example Programs

    The following table lists the sample programs for the MCB167-NET board and their folder names. You can find more information about the Hello and the Measure example in the µVision2 and C166 Getting Started User’s Guide (C:\Keil\C166\hlp\GS166.PDF), Chapter 7.
  • Page 30: Index

    P2.15 Jumper Circuit Description PAGE / NONP Jumper CLKCFG DIP Switch PAL Equations Configuration Port Signals Configuration Jumpers Power Supply Circuitry Configuring the MCB167-NET Printed Board Assembly Contents of MCB251SB Kit Programming CS8900A Prototyping Area CSSEL Push Buttons Decode Logic...
  • Page 31 MCB251 Evaluation Board User’s Guide Technical Data VPP Jumper UART WRCFG Jumper Writing Programs for the MCB167-NET...

Table of Contents