Advertisement

Quick Links

kitCON-161CS/JC/JI
Hardware-Manual
Edition December 1999
A product of a PHYTEC Technology Holding company

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the kitCON-161CS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Phytec kitCON-161CS

  • Page 1 Hardware-Manual Edition December 1999 A product of a PHYTEC Technology Holding company...
  • Page 2 The information in this document has been carefully checked and is believed to be entirely reliable. However, PHYTEC Meßtechnik GmbH assumes no responsibi- lity for any inaccuracies. PHYTEC Meßtechnik GmbH neither gives any guarantee nor accepts any liability whatsoever for consequential damages resulting from the use of this manual or its associated product.
  • Page 3: Table Of Contents

    Contents Preface ......................1 Introduction to the kitCON-161CS/JC/JI .........1 1.1 Block Diagram................3 1.2 Overview of the kitCON-161CS/JC/JI .........4 Quickstart Instructions ...............5 2.1 Starting the kitCON using a Monitor program ......6 2.2 Starting the kitCON and programming the Flash ......9 2.3 Internal Flash memory programming .........12 Pinout....................13...
  • Page 4 12.2 Downloading into Flash ............. 51 Index......................53 Figure 1: Block Diagram ................3 Figure 2: Overview of the kitCON-161CS/JC/JI (Component side)..4 Figure 3: The Power-Plug................5 Figure 4: Important Jumpers and Connectors for Start-up ......6 Figure 5: The main menu of the FlashTools..........
  • Page 5: Preface

    3 m. Implementation of PHYTEC products into target devices, as well as user modifications and extensions of PHYTEC products, is subject to renewed establishment of conformity to, and certification of, EMV- Statutes.
  • Page 6 ESD-dangers. The kitCON-161CS/JC/JI is one of a series of PHYTEC kitCONs that can be fitted with different controllers and, hence, offers various func- tions and configurations. PHYTEC supports all common Infineon’ 8-...
  • Page 7: Introduction To The Kitcon-161Cs/Jc/Ji

    Introduction 1 Introduction to the kitCON-161CS/JC/JI The kitCON-161CS/JC/JI is an EURO-sized (160 x 100 mm) Eval- uation Board for the Infineon C161x microcontroller of the C166- microcontroller family. It can house C161 derivatives of type C161CS/JC or JI in a TQFP-128 package. These derivatives differ in number and type of the on-chip interfaces (refer to Table 1).
  • Page 8 Up to four free Chip-Select signals for easy connection of periph- eral devices (controller-dependent) • Provision for operating the board with an ICE/connect-16x for easy emulation of the controller For more information about additional configurations see the PHYTEC product catalog © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 9: Block Diagram

    C A N JP9 JP2 Transceiver JP11 JP12 J1850 Transceiver C161JC and JI R e s e t / DB9-socket DB9-plug DB9-plug W a t c h d o g Figure 1: Block Diagram © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 10: Overview Of The Kitcon-161Cs/Jc/Ji

    1.2 Overview of the kitCON-161CS/JC/JI Figure 2: Overview of the kitCON-161CS/JC/JI (Component side) © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 11: Quickstart Instructions

    Keil Elektronik GmbH, which downloads a Monitor program enabling simple debugging of user code. The following sections provide a step by step description for starting the kitCON-161CS/JC/JI using the FlashTools as well as for starting the kitCON-161CS/JC/JI using the Monitor program polatity: center hole +8..12VDC...
  • Page 12: Starting The Kitcon Using A Monitor Program

    Important Jumpers and Connectors for Start-up 2.1 Starting the kitCON using a Monitor program • Use of the Monitor program requires a kitCON-161CS/JC/JI and an IBM-PC or a compatible system, as well as an unregulated power supply for 8 V= - 12 V= /500 mA. Typically, all jumpers for configuring the kitCON-161CS/JC/JI have been correctly set upon delivery of the board.
  • Page 13 Monitor program kitCON-161CS/JC/JI, as a special transmission protocol is required. Ensure that only DOS is active at the time of the invocation. Ensure that the directory in which MON166.EXE is started con- tains the two files ’boot’ and ’monitor’ for the Controller C161.
  • Page 14 • To leave the Monitor program press <F1> Quickstart Instructions for using a Monitor program - Summary • Connect the kitCON-161CS/JC/JI to an IBM-PC or a compatible system using a serial cable (P1 to COM1 or COM2) • Turn switch 1 of Dip-Switch S3 ON •...
  • Page 15: Starting The Kitcon And Programming The Flash

    2.2 Starting the kitCON and programming the Flash • Use of the FlashTools requires a kitCON-161CS/JC/JI and an IBM- PC or a compatible system, as well as an unregulated power supply for 8 V= - 12 V= /500 mA. Typically, all jumpers for configuring the kitCON-161CS/JC/JI have been correctly set upon delivery of the board.
  • Page 16 After successfully loading the FlashTools will automatically start and the FlashTools main menu will appear on the monitor screen of the Host-PC. ==================================================================== FLASH-Utility for 80C16X V 2.5 ==================================================================== (c) 1994, PHYTEC Meßtechnik GmbH, D-55129 Mainz Flash-Devices: AMD 29F010 Flash-Area: 000000H-03FFFFH Software-Protected-Areas #1: none...
  • Page 17 ’Hello World !...’ which appears on the screen of the Host-PC. The program can also be exe- cuted by pressing the RESET button on the kitCON-161CS/JC/JI after turning OFF switch 1 of DIP-switch S3 (i.e.: toggling the kitCON-161CS/JC/JI into execution mode).
  • Page 18: Internal Flash Memory Programming

    The new derivatives of the C161CS/JC/JI offer the “single chip mode”. If you want to start the bootstrap loader in this mode, you have to pull down the /RD pin after reset. This feature is NOT implemented on the actual board design. © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 19: Pinout

    X1 is described in section 3.7. Further signal inputs and outputs are provided through the connectors PFO and WDI, which are described in section 3.8. And section 3.9 describes the two-wire clamp X7. Figure 6: Position of the connectors © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 20: Power Connectors X5, X4

    3.1 Power Connectors X5, X4 There are two ways to provide power to the kitCON-161CS/JC/JI: • connection via the VG96 connector at X4 • connection via the low voltage socket at X5 Attention: Please do not use a laboratory or variable power supply, as power spikes during power-up could destroy the PHYTEC module mounted on the kitCON-161CS/JC/JI.
  • Page 21: The Kitcon-Connector

    P3.13 / P3.15 RXD0 SCLK Digital Port P7 P7.4 P7.6 P7.5 P7.7 Digital Port P9 P9.0, SDA0 P9.2, SDA1 P9.4, SDA2 P9.1, SCL0 P9.3, SCL1 P9.5 Supply Voltage Table 2: Pinout of the kitCON-Connectors X3 © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 22: The Ice/Connect-16X

    Pins 41+42, 43+44, 45+46, 47+48, 49+50 and 53+54 are pre-con- nected on the component side. When using an ICE/connect-16x these pre-connections must to be opened at jumpers J8, J9, J10, J13, J14 and J15. © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 23 /RESO_P /RESO_U /NMI-P /NMI-U /RD_P /RD_U /WRL /WRH P66, HLDA A20, SDL_RxD A21, CANRX A22, CANTX A23, SDL_TxD P6.0, CS0 P6.1, CS1 P6.2 CS2 P6.3 CS3 P6.4(CS4) Table 3: Pinout of the ICE/connect-16x X2 © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 24: The Db9-Socket P1

    CAN_L Pin 7: CAN_H Pin 3,6: CAN_GND Pin 9: CAN_VCC Figure 10: Pinout of the DB9-plug P2 (CAN 0)(front view) The availability of this interface depends on the controller mounted on the kitCON- 161CS/JC/JI. © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 25: The Db9-Plug P3

    Figure 11: Pinout of the DB9-plug P3 (CAN 1)(front view) J1850 Pinout of plug P3 if: JP2 = open and JP9 = 1+2 DB9-plug P3: J1850-Interface Pin 3: J1850 Bus Pin6, 8: Figure 12: Pinout of the DB9-plug P3 (J1850)(front view) © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 26: Pin Row X1 (Rs-232_1)

    (see the LTC694 data sheet for further information on the exact functioning of PFO and the trigger-levels). The availability of this interface depends on the controller mounted on the kitCON- 161CS/JC/JI. © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 27: Connector X7

    JP10 must be closed in position 1+2. At the time of delivery jumper JP10 is closed at 2+3, i.e. the J1850 Transceiver is supplied from the kitCON-161CS/JC/JI’s supply voltage. Note: To ensure full functionality of the J1850-bus the use of an external power supply for the transceiver is recommended.
  • Page 28 © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 29: Jumper

    JP11, JP12 Figure 14: Numbering of the Jumper-Pads * = J8 – J10 and J13 – J15 are on the back side of the kitCON-161CS/JC/JI Figure 15: Position of the Jumpers (component side) and default-setting (standard version of the kitCON-161CS/JC/JI)
  • Page 30 61/65 and 62/66 In order to utilize the special features of a specific controller on the kitCON-161CS/JC/JI other jumpers might be set additionally The availability of this interface depends on the controller mounted on the kitCON- 161CS/JC/JI.
  • Page 31: Program Storage Jp1

    Reset. In order to allow the execution of a specific controller’s internal program memory, jumper JP1 must be closed at 2+3. Code-Access 1+2 * external Program Storage internal Program Storage * = Default-Setting © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 32: Db9-Plug P3 Jp2, Jp4, Jp9

    4.2 DB9-plug P3 JP2, JP4, JP9 If the kitCON-161CS/JC/JI houses a C161CS or Jx Controller DB9- plug P3 carries either the CAN-Signals or the signals of the J1850- Interface. Jumper JP2 and JP9 determine which signals are available at DB9-plug P3.
  • Page 33: Supply Voltage Of The Can-Interface Jp5, Jp6

    * = Default-Setting 4.5 Connection of the CAN-Interfaces JP7 If the kitCON-161CS/JC/JI houses a C161CS Controller it is possible to connect both CAN-interfaces of the controller via jumper JP7. Using this option enables easy testing of CAN-applications without necessity...
  • Page 34: J1850-Driver Function Jp8

    Jumper JP10 selects the supply voltage for the J1850-driver. The driver can be supplied either from the board-level power supply for the kitCON-161CS/JC/JI, or through an external power supply that can be connected to the two-wire clamp at X7 Supply voltage of the J1850-Driver...
  • Page 35: Configuration Of Ports P4.4 - P4.7 Jp11, Jp12

    P4.4 – P4.7. With jumpers JP11 and JP12 these alternate functions of port P4 can be enabled on the kitCON-161CS/JC/JI. The Table below shows the pinout of ports P4.4 – P4.7. If no alternate function is given the port serves only as digital I/O or address line.
  • Page 36: Configuration Of The Chip-Select Signals /Cs0, /Cs1 Jp13

    U10 and U11. Memory Size of U10/U11 1 MB RAM 2+3 * 256 kByte or 64 kByte -Setting * = Default More information about additional configurations can be found in the PHYTEC product catalog © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 37: Reference Voltage Of The A/D Converter J11, J12

    61/65 and 62/66 or from the internal supply voltage of the kitCON-161CS/JC/JI. The source of the reference voltage can be chosen with the jumpers J11 and J12.
  • Page 38: Boot-Switch S3 (Switch 1)

    4 of port P0 is low during reset. This is accomplished by turning ON switch 1 of DIP-Switch S3. Boot Mode S3 switch 1 ON * Bootstrap mode normal Program Execution • = Default -Setting © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 39: Chip-Select Signals S3 (Switch 2 And 3)

    S3 switch 4 S3 switch 5 only A16 and A17 are active OFF * OFF * four A16 - A19 are active all A16 - A23 are active none are active -Setting * = Default © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 40: Clock Mode S3 (Switch 6, 7 And 8)

    To determine the clock source and the prescaler port P0.13 -P0.15 must be configured with DIP-Switch S3 (switch 6, 7 and 8) during system reset. The standard version of the kitCON-161CS/JC/JI is equipped with a 5 MHz quartz (XT1) meaning that the frequency of the CPU clock is 20 MHz with the default jumper setting.
  • Page 41: Memory Models

    On the next page you will find two examples for configuring the memory area. These examples refer to the standard configuration of jumper JP13 (1+2, 3+4), i.e. /CS0 controls Flash bank1 and /CS1 RAM bank1. These examples match the needs of most standard applications. © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 42 068Ch : Bus active for /CS4 ( free I/O) BUSCON0-3: for all 55 ns memory devices active (0 Waitstate, RW- Delay, no Tri-state, short ALE, 16-bit Demultiplexed) BUSCON4: for free I/O area (3 Waitstate, RW-Delay, Tri-state, long ALE, 16-bit Demultiplexed) © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 43 FLASH Bank1 U8/U9 04:FFFFh RAM Bank1 U10/U11 P6.0 (/CS0) 04:0000h 04:0000h P6.1 (/CS1) 256 kByte 256 kByte RAM Bank1 U10/U11 FLASH Bank1 U8/U9 P6.1 (/CS1) P6.0 (/CS0) 00:0000h 00:0000h Figure 16: Examples for memory models © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 44 © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 45: Flash Memory

    The new derivatives of the C161CS/JC/JI offer the “single chip mode”. If you want to start the bootstrap loader in this mode, you have to pull down the /RD pin after reset. This feature is NOT imple- mented on the actual board design. © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 46: External Flash

    6.2 External Flash Flash is a highly functional means of storing non-volatile data. The kitCON-161CS/JC/JI can house Flash devices of type 29F010 (128 kByte memory) or of type 29F040 (512 kByte memory) as Flash memory. Use of 5 V Flash devices means that no dedicated program- ming voltage is required on board.
  • Page 47: The Can-Interface

    The CAN-Interface 7 The CAN-Interface The kitCON-161CS/JC/JI can be equipped with a C161CS or a C161JC controller. One of the special features of these derivatives is the on-chip Full-CAN-Controller (two with C161CS) which enables the kitCON-161CS/JC/JI to be run within a CAN-network. Running the C161 controller at 20 MHz CPU clock, a bit rate of up to 1 MB can be achieved.
  • Page 48: Second Can-Interface On C161Cs

    7.2 Second CAN-interface on C161CS A second CAN-interface is available if the kitCON-161CS/JC/JI is equipped with a C161CS controller. The second on-chip Full-CAN- Controller has the same features as the first one. When utilizing the second CAN-interface the portpins P4.4 (RXDC) and P4.7 (TXDC) should not be connected to any other circuitry.
  • Page 49: The Leds

    TheLEDs 8 The LEDs 8.1 The Status LEDs D4 and D5 The kitCON-161CS/JC/JI is fitted with two LEDs D4 and D5, which indicate the status of the board. The red LED D4 simply indicates proper connection to the power source.
  • Page 50: The Battery Buffer

    9 The Battery Buffer To prevent loss of data in case of sudden power failure the kitCON-161CS/JC/JI can be equipped with a battery. This battery buffers the memory devices on U10 and U11. However, this battery buffer is not otherwise essential to the functioning of the kitCON-161CS/JC/JI.
  • Page 51: Technical Specifications

    Technical Specifications 10 Technical Specifications The physical dimensions of the kitCON-161CS/JC/JI are represented in Figure 19. The board’s profile is about 17 mm thick, including the DB9 sockets. The components on the soldering side have a maximum height of 3.5 mm and approximately 12 mm on the component side.
  • Page 52 Power consumption:: 250 mA. at 20 MHz CPU-clock. These specifications describe the standard configuration of the kitCON-161CS/JC/JI as of the pressing of this manual. Typically the current consumption is 170 mA with 64 kByte SRAM memory and 256 kByte Flash memory at 20°C.
  • Page 53: Hints For Handling The Module

    11 Hints for Handling the Module Removal or exchange of the standard quartz or oscillator is not advis- able given the compact nature of the kitCON-161CS/JC/JI. Should this nonetheless be necessary, please ensure that the board, as well as surrounding components and sockets, remain undamaged during removal.
  • Page 54 © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 55: Flashtools

    12 FlashTools Flash is a highly functional means of storing non-volatile data. With the kitCON-161CS/JC/JI equipped with two Flash devices this modern technique is at your disposal. One of the main advantages of using Flash devices is the on-board programming capability. On- board programming can be easily done with a special utility program, the ’FlashTools’, described in this section.
  • Page 56 Connect the kitCON-161CS/JC/JI to a Host- PC (using either the COM1 or COM2 serial communication port) with a serial cable as shown below: Host-PC (COM1 or 2) kitCON-161CS/JC/JI DB9 socket P1 RxD Pin 2 TxD Pin 2 TxD Pin 3...
  • Page 57: Downloading Into Flash

    After user code has been downloaded into the Flash, it can be exe- cuted following a software reset. Alternatively, turn Switch 1 of Dip- Switch S3 to OFF in order to switch the kitCON-161CS/JC/JI into execution mode following a hardware reset.
  • Page 58 © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 59: Index

    J13-J15 ........22, 28 J1850 ........25, 32 Quickstart Instructions ....8 J3 ..........34 Quickstart Instructions for J8-J10 ........22, 28 Flash-programming-Summary...16 JP1 ..........29 Quickstart Instructions for JP10 ...........32 using a Monitor program- JP11 ...........33 Summary........11 JP12 ...........33 JP13 ...........34 © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 60 The LEDs ........48 S3 ..........35 Segment Address Lines..... 38 Starting FlashTools ....54 WDI...........26 Starting the kitCON and programming the Flash ..... 12 Starting the kitCON using a X1..........25 Monitor program......9 X7..........26 © PHYTEC Meßtechnik GmbH 1999 L-356e_2...
  • Page 61 How would you improve this manual? Did you find any mistakes in this manual? page Submitted by: Customer number: Name: Company: Address: Return to: PHYTEC Technologie Holding AG Postfach 100403 D-55135 Mainz, Germany Fax : +49 (6131) 9221-33 © PHYTEC Meßtechnik GmbH 2000 L-314e_2...
  • Page 62 Published by © PHYTEC Meßtechnik GmbH 1999 Ordering No. L-356e_2 Printed in Germany...

This manual is also suitable for:

Kitcon-161jcKitcon-161ji

Table of Contents