Sab 80c517/80c537 microcontroller target board with 81c90 full can controller and banking support (61 pages)
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 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.
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...
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.
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.
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.
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.
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.
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.
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.
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...
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.
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 */...
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.
Need help?
Do you have a question about the MCB167-NET and is the answer not in the manual?
Questions and answers