background image

MCB167-NET Board User’s Guide 

11 

 

   

   

   

   

Configuration Jumpers  

The following sections describe each of the configuration jumpers of the 
MCB167-NET board. 

CAN1, CAN2:  Default ON 

The 

CAN1

 and 

CAN2

 configuration jumper enable on 120

 termination resistor 

on the CAN1 or CAN2 bus interface.  This resistor is used on the end of each 
CAN communication line. 

P2.15:  Default ON 

The 

P2.15

 configuration jumper provides the interrupt request signal of the 

Ethernet controller to the EX7IN interrupt input of the C167 CPU. 

EA/:  Default ON 

The 

EA/

 configuration jumper selects on-chip or off-chip program execution.  

With the default setting the CPU starts instruction execution from external 
memory.  When the EA/ jumper is off, code execution starts from on-chip ROM. 

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 

IC11) to the C167 CAN interface signals.  When you remove the A21 and A22 
jumpers you disconnect the CAN1 bus driver.  With A20 and A24 the CAN2 bus 
driver is disconnected. 

Summary of Contents for 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: ...copy of the software for backup purposes No part of this manual may be reproduced or transmitted in any form or by any means electronic or mechanical including photocopying recording or information st...

Page 3: ...nnect and configure the board and provides detailed information about the DIP switches and configuration jumpers Chapter 3 Hardware provides detailed information about hardware including the schematic...

Page 4: ...167 NET 8 DIP Switches 9 Configuration Jumpers 11 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 W...

Page 5: ...0Mbit Ethernet network Several program examples are provided a simple test program that flashes the LEDs a program that writes Hello World to the serial port and a measurement recording system TCP IP...

Page 6: ...figure the tool options for the MCB167 NET board Writing Programs for the MCB167 NET on page 25 Create a simple program to blink the LEDs BLINKY Example Program on page 28 Write code to use the Ethern...

Page 7: ...gger with the Monitor 166 driver A pre configured Monitor for the MCB167 NET board is included in Keil C166 Version 4 06 or higher This package contains also several example programs for the MCB167 NE...

Page 8: ...nt address lines enabled bootstrap loader for downloading the debug monitor enabled CAN drivers and CAN bus termination resistors 5V reference voltage for the A D converter The default DIP switch sett...

Page 9: ...10MHz 5 50MHz ON OFF OFF 10MHz direct drive on chip PLL is off ON OFF ON 10MHz 1 5 15MHz only possible on some CPU variants ON ON OFF 10MHz 0 5 5MHz only possible on some CPU variants ON ON ON 10MHz...

Page 10: ...oard 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 typ...

Page 11: ...ON The EA configuration jumper selects on chip or off chip program execution With the default setting the CPU starts instruction execution from external memory When the EA jumper is off code execution...

Page 12: ...ply an user provided reference voltage VPP Default OFF VPP provides the flash programming voltage for some devices In some device variants On some device variants this jumpers might be used to disable...

Page 13: ...ription The descriptions here will help you understand how the MCB167 NET board works and how you can easily interface to the various I O devices available The following block diagram shows the variou...

Page 14: ...configuration jumpers Features such as CAN interfaces chip select and segment address lines internal CPU clock frequency on chip ROM usage and Monitor operation can all be configured using these swit...

Page 15: ...us display in user programs The LEDs labeled LAN and LINK show the current status of the Ethernet interface Push Buttons The MCB167 NET provides two push buttons The first push button labeled RESET is...

Page 16: ...efer to the figure at the right to determine how the DB9 connector for this port is wired Prototyping Area A perforated area is provided on the MCB167 NET for prototyping your own hardware All CPU sig...

Page 17: ...L INPUT PIN 12 GND INPUT PIN 13 UNUSED2 COMBINATORIAL INPUT PIN 14 UNUSED3 COMBINATORIAL INPUT PIN 15 RESET COMBINATORIAL OUTPUT PIN 16 IOW COMBINATORIAL OUTPUT PIN 17 IOR COMBINATORIAL OUTPUT PIN 18...

Page 18: ...18 Chapter 3 Hardware Schematics...

Page 19: ...MCB167 NET Board User s Guide 19...

Page 20: ...20 Chapter 3 Hardware...

Page 21: ...MCB167 NET Board User s Guide 21...

Page 22: ...22 Chapter 3 Hardware Printed Board Assembly...

Page 23: ...M CPU Infineon C167CR or C167CS optional ST Microelectronic ST10 167 or ST10 168 Peripherals 1 RS232 Interface 2 CAN Interfaces 1 Ethernet Controller Pin Out of Port Signals This following tables list...

Page 24: ...are PX 4 PX 5 PX 6 PX 7 PX 0 PX 1 PX 2 PX 3 P4 P6 P7 P8 Signal Pin Out for P4 P6 P7 and P8 signals INTRQ3 INTRQ2 EA INTRQ1 WRL RD VPP ALE VAREF VAGND READY RSTIN RSTOUT NMI MISC Signal Pin Out for con...

Page 25: ...e Infineon C167CS device Writing Programs for the MCB167 NET The following steps describe the how to create and compile a Vision2 project for use with the Monitor 166 on the MCB167 NET board You can f...

Page 26: ...or 166 the complete target application need to be stored in RAM space Therefore you need to split the 1MByte RAM space available on the MCB167 NET into a ROM section for program code and a RAM section...

Page 27: ...the baudrate A good choice for the baudrate is 57600 The power up the MCB167 NET board and connect the serial interface to the PC Build your project Vision2 should translate all your source files and...

Page 28: ...void main void unsigned int i Delay var unsigned int j LED var DP2 0x00FF ODP2 0x0000 while 1 Loop forever for j 0x0001 j 0x0100 j 1 Blink LED P2 j 0x00FF Output to LED Port for i 0 i 50000 i Delay fo...

Page 29: ...Programs Example Description Boards Keil MCB167 Net Blinky Program that blinks the LEDs on the MCB167 NET board This program can be used to check that the Monitor 166 and the MCB167 NET board works c...

Page 30: ...ecode Logic 15 DIP Switch Default Settings 8 SW1 8 DIP Switches 9 E Ethernet controller 29 Ethernet Interface 15 Example Program BLINKY 28 Example Programs 29 H Hardware 13 Hardware Requirements 7 I I...

Page 31: ...MCB251 Evaluation Board User s Guide 31 T Technical Data 23 U UART 15 V VPP Jumper 12 W WRCFG Jumper 11 Writing Programs for the MCB167 NET 25...

Reviews: