Home
phyCORE-167/phyCORE
Contents
1. Signal phyCORE 167Cx Expansion Bus Patch Field P5 0 ANO 50C 50C 17A P5 1 AN1 49C 49C 16F P5 2 AN2 48D 48D 16B P5 3 AN3 48C 48C 16E P5 4 AN4 47D 47D 16C P5 5 AN5 46D 46D 16A P5 6 AN6 46C 46C 15F P5 7 AN7 45D 45D 15B P5 8 AN8 45C 45C 15 P5 9 AN9 44C 44 15 P5 10 AN10 T6EUD 43D 43D 15A P5 11 ANII TSEUD 43C 43C 14F P5 12 AN12 T6IN 42D 42D 14B 5 13 13 5 410 410 14E P5 14 AN14 T4EUD 41C 41C 14A P5 15 ANIS T2EUD 40D 40D 13F P6 0 CSO 49A 49A 44A P6 1 CS1 50A 50A 44 P6 2 CS2 6B 6B 29F P6 3 CS3 5B 5B 29B P6 4 CSA 5A 5A 29E P6 5 HOLD 35B 35B 39B P6 6 HLDA 36A 36A 39D P6 7 BREQ 36B 36B 39F P7 0 POUTO 37B 37B 40A P7 1 POUTI 38A 38A 40E P7 2 POUT2 38B 38B 40B P7 3 POUT3 39A 39A 40D P7 4 CC281IO 40A 40A 40F P7 5 CC29IO 40B 40B 41A P7 6 CC30IO 41A 41A 41E 41B 41B 41B P8 0 CC16IO 27D 27D 9B P8 1 CC17IO 28D 28D 10A P8 2 CC181IO 30D 30D 10B P8 3 CCI19IO 31D 31D 11A P8 4 CC20IO 35C 35C 12A P8 5 CC211O 35D 35D 12E P8 6 CC22IO 36C 36C 12B P8 7 CC2310 36D 36D 12D Table 49 Pin Assignment Port P5 P6 P7 P6 for the phyCORE 167CR 167CS Development Board Expansion Board 86 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board
2. Signal phyCORE 167Cx Expansion Bus Patch Field CANI RxD PA4 5 A21 26B 26B 36B CANI 4 6 22 27B 27B 36F CAN2_RxD P4 4 A20 26A 26A 36E CAN2_TxD P4 7 A23 28A 28A 37A CAN HO 21D 21D 7 CAN LO 20D 20D TE 18C 18C 6E CAN LI 18D 18D 6B RxDO 65232 22D 22D TF TxDO_RS232 23D 23D 8E RxD1_RS232 21C 21C 7B TxD1_RS 232 23C 23C 8A RTS1_RS232 24C 24C 8B CTS1_RS232 25C 25C 8D DSR1_RS232 26C 26C 9A DTR1_RS232 28C 28C 9F 29 29 10 TTL 30 30 10E SCL 31C 31C 10F SDA 32D 32D 11C Table 50 Pin Assignment Interface Signals for the phy CORE 167CR 167CS Development Board Expansion Board Signal phyCORE 167Cx Expansion Bus Patch Field RD 7B 7B 30A WR WRL 8A 8A 30E READY 34A 34A 39A ALE 6A 6A 29D OWE 4D 4D 2C VPP NOT with C167Cx 5D 5D 1D RSTIN 10C 10D 10C 10D 3D 3F RSTOUT 11C 11C 4E BOOT 9 9 3B NMI 4A 4A 29A PFO 8C 8C 3E CS_UART 34C 34C 11F IRQ UART 33C 33C 11E ARQ 33D 33D 11B PFI 7D 7 2F WDI 8D 8D 3A Table 51 Pin Assignment Control Signals for the phyCORE 167CR 167CS Development Board Expansion Board PHYTEC Me technik GmbH 2002 1 527 8 87 phyCORE 167CR 167CS Signal phyCORE 167Cx Expansion Bus Patch Field VCC 1C 2C 1D 2D 2 10 20 2 Not defined 2A 1B XTALI 1A 1A 28A VPD 6D 6D 2D VBAT 6C 6C 2B VAREF 50D 50D 17E
3. 22 Table 8 17 18 Control Signals for Optional External UART 23 Table 9 J9 J10 PC Bus Configuration 23 Table 10 J11 RTC Interrupt 24 Table 11 J12 Write Protection of EEPROM FRAM 24 Table 12 J13 J14 Second Serial Interface Configuration 25 Table 13 J15 EEPROM FRAM Address Configuration 25 Table 14 J16 J17 J18 J19 CAN Interface Configuration 27 Table 15 J20 Remote Download Source Configuration 271 Table 16 J21 J22 First Serial Interface Configuration 28 Table 17 J23 J24 Configuration VCC Pins Microcontroller 29 Table 18 Functional Settings on Port PO for System Startup CONTIS c tein rate NE 32 Table 19 System Startup Configuration 1 34 Table 20 Memory Device Options for VM uei pep ntt eres peu 44 Table 21 Improper Jumper Setting for JP16 on the Development Board eode terere aana Ng a esie 59 Table 22 Improper Jumper Setting for JP30 33 on the Development Board uenti e aa 50 Table 23 JP9 Configuration of the Main Supply Voltage VCC 61 Table 24 JP9 Improper Jumper Settings for the Main Supply Voltage 62 Table 25 JP28 Configuration of the B
4. x i Figure 28 Physical Dimensions debugCORE 167CR 167CS 98 PHYTEC Me technik GmbH 2002 L 527e 8 Index Index F NMI Interrupt 90 5 First CAN Interface 72 First Serial Interface 65 21 Flash 46 FRAM Addtress 25 RT Functional Components on the Battery 47 phyCORE Battery Connector 90 Rond 60 Block Diagram 6 Bootstrap Loader 63 H C Handshake Signals 41 GAN BUS us Pe ru 42 50 CAN Interface 26 42 I CAN Transceiver 42 23 43 CANH EU DAMEN ENIMS 42 EC Interface 44 42 Initialization Routine 31 MS 42 42 J COM ans odo ete 41 19 Concept of the Development 19 BOSE o eus 53 JIOA 23 Connector X4 91 24 24 Pr 25 Development Board Connectors IL P 25 and Jumpers ere
5. Default setting Table 6 J4 J5 A D Converter Reference Voltage The second CAN interface is only available with Infineon s C167CS controller refer to the microcontroller User s Manual and Data Sheet for further information The feature of rerouting CAN signals to port P8 is only available with Infineon s C167CS controller These pins are solely connected to GND of the Development Board when using the phyCORE module on a phyCORE Development Board HD200 It is not possible to attach an external GND potential in this configuration PHYTEC Me technik GmbH 2002 L 527e 8 21 phyCORE 167CR 167CS 3 5 J6 Oscillator Watchdog On Chip Flash Depending on the type of microcontroller that populates the phyCORE module the controller pin 84 has various functions When using the CI67CR pin 84 controls the oscillator Watchdog In contrast when a microcontroller with on chip Flash populates the module pin 84 connects the programming voltage Jumper J6 activates these functions as described in the table below The following configurations are possible Function of Pin 84 J6 Activates oscillator Watchdog of the C167CR open Disables oscillator Watchdog of the C167CR 2 3 Connects VPP 12 V at pin 84 for programming of 1 2 the on chip Flash Note This configuration must not be used in conjunction with an Infineon C167 derivative Default setting Table 7 J6 Activating the Oscillator Watchdo
6. Pi wi lei phyCORE 167CR phyCORE 167CS Hardware Manual Edition November 2002 A product of a PHYTEC Technology Holding company phyCORE 167CR 167CS In this manual are descriptions for copyrighted products that are not explicitly indicated as such The absence of the trademark IM and copyright symbols does not imply that a product is not protected Additionally registered patents and trademarks are similarly not expressly indicated in this manual 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 PHYTEC Me technik GmbH reserves the right to alter the information contained herein without prior notification and accepts no responsibility for any damages which might result Additionally PHYTEC Me technik GmbH offers no guarantee nor accepts any liability for damages arising from the improper usage or improper installation of the hardware or software PHYTEC Me technik GmbH further reserves the right to alter the layout and or design of the hardware without prior notification and accepts no liability for doing so Copyright 2002 PHYTEC MeBtechnik GmbH D 55129 Mainz Rights including those of tran
7. z B JP28 z B JP23 z B JP24 Figure 10 Numbering of Jumper Pads E Xb o GND E p 16 1 35 oim tain 214 jx 33 Wes Messtechnik Gmb 12 2 Developmentboard SOR HD2 8 o 4 x ig x Figure 11 Location of the Jumpers View of the Component Side PHYTEC Me technik GmbH 2002 L 527e 8 57 phyCORE 167CR 167CS Figure 12 shows the factory default jumper settings for operation of the phyCORE Development Board HD200 with the standard phyCORE 167CR 167CS standard C167CR controller use of the RS 232 interface the optional RS 485 interface the CAN interface LED D3 the Boot button on the Development Board Jumper settings for other functional configurations of phyCORE 167CR 167CS module mounted on the Development Board are described in section 14 3 JP19 JP28 JP9 35 phyCORE 167 Phytec Messtechnik GmbH Developmentboard phyCORH 0200 JP15 JP29 Figure 12 Default Jumper Settings of the phy CORE Development Board HD200 with phyCORE 167CR 167CS 58 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board 14 2 3 Unsupported Features and Improper Jumper Settings The following table contains improper jumper settings for operation of the phyCORE
8. 50 Serial Ws Operating 50 Serial NILE t Eae 28 Oscillator Watchdog 22 Serial 41 SI9200EY 42 Silicon Serial Number 90 eee test ER 25 SMT Connector 7 Patch 1 82 Socket First RS 232 65 ci conie 42 Socket P1B Second RS 232 67 phyCORE connector 7 10 SRAM eo a da cores 47 Physical Dimensions 49 SRAM Pin 30 s sse dts 19 Pin 1 82 Storage Temperature 50 Pin y System Configuration 31 PNO KAWA iet Ae 13 System Initialization 3l Plug PIA sist 72 System Startup Configuration 31 eater teh 77 POCO 32 SN Power Consumption 50 Technical Specifications 49 Power 1 61 EP i 41 Programming Voltage 22 100 PHYTEC Me technik GmbH 2002 1 527 8 U UART cde cristas s 41 jg NGT 46 UART external 4l ctl 23 43 UART 41 EE 42 V 012 PETERE TECHN REN RENI EUN 42 D MERE TEUER 21 E
9. ee 82 14 3 8 Pin Assignment Summary of the phyCORE the Expansion Bus and the Patch Field 82 14 3 9 Battery Connector 90 14 3 10 Releasing the NMI 90 14 3 11 DS2401 Silicon Serial 90 14 3 12 Pin Header Connector 4 9 15 CORE 167CR 167C 8 i sscsscesssassscsseassvnsaeasvsdesesvcnnssosesesosetvoonssens 93 15 1 Components of the debugCORE eee 93 15 2 debugADAPTER 167 ei tot tre 95 15 2 1 The Quad COoutiectOt eerie EAS 96 15 3 Physical asain 98 Iro PNE 99 PHYTEC Me technik GmbH 2002 L 527e 8 Contents Index of Figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Block Diagram 167 167 5 View of the phyCORE 167CR 167CS Pinout of the phyCORE connector Top View with Cross Section hi S Numbering of the Jumper Pads oper reiner teet ees Location of the Jumpers Component Side Soldering Side Memory Model
10. 19 21 U3 19 AREF 90000000 0 D D NBA sc Gait dent aes 47 We satin cte 51 Voltage Supervisor Chip 48 U5 Cem ccs 009909000099090009c99909099999 4 VPD PNR ECT CRN 47 WG 41 41 W ER 45 50 23 44 PHYTEC Me technik GmbH 2002 L 527e 8 101 phyCORE 167CR 167CS 102 PHYTEC Me technik GmbH 2002 L 527e 8 Suggestions for Improvement Document phyCORE 167CR 167CS Document number L 527e 8 November 2002 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 449 6131 9221 33 PHYTEC MeftechnikGmbH 2002 L 527e 8 Published by Me technik GmbH 2002 Ordering No L 527e 8 Printed in Germany
11. PHYTEC Me technik GmbH 2002 L 527e 8 debug CORE 167CR 167CS Quad Connector X2 C Quad Connector X2 D Pin Signal Signal Pin Pin Signal Signal Pin he 83 P3 6 P3 7 84 123 VCC GND 124 85 P338 P3 9 86 125 D9 D10 126 87 P3 10 P3 11 88 127 D11 D12 128 s exis oo 129 prs pia 91 P3 15 vcc 92 131 15 AO 132 At i2 r 95 16 A17 96 135 A3 A4 136 97 Aj os 137 A8 Jas iss 99 A20 A21 100 139 A7 VCC 140 101 A22 A23 102 141 GND A8 142 103 VCC GND 104 143 A9 A10 144 105 RDP 106 145 A12 146 107 RDY P 108 147 A13 A14 148 109 ea 110 149 15 vcc 150 111 D2 112 151 XTO XTI 152 4 153 GND RESP 154 115 D5 0 6 116 155 RESO P NMIP 156 17 b 118 157 GND 158 119 NC NC 120 159 NC NC 160 Table 57 Connector Layout of the of the Quad Connector PHYTEC Me technik GmbH 2002 L 527e 8 97 phyCORE 167CR 167CS 15 3 Physical Dimensions Due to the required expansion header the debugCORE s physical dimensions are greater than those of its phyCORE base module This must be taken into consideration especially upon insertion into the target application Dimensions debugCORE 167CR 167CS 80 x 53 mm debugAdapter 167 81 x 66 mm 80 2
12. Jumpers 3 10 Second Serial Interface Configuration J13 J14 Jumpers J13 and J14 enable selection of the signal source of the second serial interface As an alternate to the software emulated interface at port pins P3 0 and P3 1 of the controller an optional external UART can be installed on the phyCORE 167CR 167CS at U7 With the implementation of the external UART the port pins can be used as standard I O pins at X1A44 P3 0 and X1A45 P3 1 The following configurations are possible RS 232 Interface Configuration J13 J14 P3 0 and P3 1 connect to RS 232 transceiver 1 2 1 2 for software emulated second serial interface UART U7 connect to RS 232 transceiver 2 3 2 3 providing a real second interface Default setting Table 12 J13 J14 Second Serial Interface Configuration 3 11 J15 Address of the Serial EEPROM FRAM Jumper J15 configures the serial EEPROM FRAM address The default configuration J15 2 3 sets the address to OxA8 The following configurations are possible EEPROM FRAM Address 15 8 2 3 1 2 Default setting Table 13 JIS EEPROM FRAM Address Configuration PHYTEC Me technik GmbH 2002 L 527e 8 25 phyCORE 167CR 167CS 3 12 CAN Interfaces J16 J17 J18 J19 The first CAN interface of the phyCORE 167CR 167CS is available at the port pins P4 5 CANIRx and P4 6 CANITx as well as CAN2Tx The second CAN interface is lo
13. notallowed Watchdog enabled 2 3 C167CR oscillator Watchdog disabled J7 open P2 8 of the microcon closed IRQ of the UART is troller is freely available connected to P2 8 of the as standard I O at pin microcontroller header row X1B2 J8 open 52 of the microcon closed CS2 of the microcon troller is freely available at troller is connected to the pin header row X1B6 external UART J9 closed P3 4 of the microcon open P3 4 of the microcon troller connected to SCL troller is freely available of the C bus as standard I O at pin header row X1B46 J10 closed P3 3 of the microcon open P3 3 of the microcon troller connected to SDA of the bus troller is freely available as standard I O at pin header row X1A46 Applies to standard modules without optional features Dual on chip CAN is only available with Infineon C167CS microcontroller These pins are solely connected to GND of the Development Board when using the phyCORE module on a phyCORE Development Board HD200 It is not possible to attach an external GND potential in this configuration This function is only available with Infineon s C167CR microcontroller see corresponding Data Sheet 16 PHYTEC Me technik GmbH 2002 L 527e 8 Jumpers Default Setting Alternative Setting closed IRQ of the RTC con open 2 9 of the controller is nected to pin P2 9 of the freely available as microcontroller standard I O a
14. 2 6 Pin 2 TxDO 3 7 3 RxDO 8 4 222 Pin 5 GND Figure 14 Pin Assignment of the DB 9 Socket P1A as First RS 232 Front View l This jumper should always be closed because communication with PHYTEC FlashTools requires use of the first serial interface on the phyCORE module 7 Alternative jumper configuration for additional features refer to section 14 3 2 Not required for standard communication functions PHYTEC Me technik GmbH 2002 L 527e 8 65 phyCORE 167CR 167CS Caution When using the DB 9 socket PIA as RS 232 interface on the phyCORE 167CR 167CS the following jumper settings are not functional and could damage the module Jumper Setting Description JP20 open Pin 2 of DB 9 socket P1A not connected no connection to TxDO signal from phyCORE 167CR 167CS JP21 closed Pin 9 of DB 9 socket P1A connected with port P8 2 from phyCORE 167CR 167CS JP22 1 2 Pin 7 of DB 9 socket P1A connected with port P2 15 from 167 167 5 JP23 1 2 Pin 4 of DB 9 socket P1A connected with port P8 0 from 167 167 5 JP24 closed Pin 6 of DB 9 socket P1A connected with port P8 1 from 167 167 5 JP25 closed Pin 8 of DB 9 socket P1A connected with port P2 14 from phyCORE 167CR 167CS JP26 closed Pin 1 of DB 9 socket P1A connected with port P8 3 from 167 167 5 JP27 open Pin 3 of DB 9 socket P1A not connected no
15. 2C VCC Voltage input 5 3C 7C 12C 17C GND Ground 0 V 22C 27C 32C 37C 4C 5C NC Not connected These contacts should remain unconnected on the target hardware side 6C VBAT I Battery input for back up of RTC and buffering of RAM 8C PFO 690 Power Fail output 9C BOOT I Input for startup of FlashTools 10C RESET I RESET input of the phyCORE 167CR 167CS 11C RESOUT RESOUT signal of uC 13C 14C P2 2 P2 4 I O Port2 of the microcontroller see corresponding 15C 16C P2 5 P2 7 Data Sheet 19C 20C P2 11 P2 12 18C CAN HI I O Differential CANH line of second CAN transceiver 21C RADI RS232 I Input of the second interface series of the phyCORE 167CR 167CS RS 232 level 23C TxD1_RS232 O Output of the second interface series of the phyCORE 167CR 167CS RS 232 level 24C RTSI RS232 O RTS signal of the UART U7 RS 222 level 25C CTS1 RS232 I CTS signal of the UART U7 RS 222 level 26C DSR1_RS232 I DSR signal of the UART U7 RS 232 level 28C DTRI RS232 0 DTR signal of the UART U7 RS 232 level 29C RI1_TTL I RI signal of the UART U7 TTL level 30C CD1_TTL I CD signal of the UART U7 TTL level 31C SCL O CLK line bus 33C IRQ_UART Interrupt output of the UART U7 34C CS UART I Chip Select signal of the UART U7 35C 36C P8 4 P8 6 CAPCOM2 CC20 Capture Input Compare Output CAPCOM 2 CC22 Capture Input Compare Output 38C 39C 40C NC Not connected These contacts should remain unconnected on th
16. Table 16 J21 J22 First Serial Interface Configuration 28 PHYTEC Me technik GmbH 2002 L 527e 8 Jumpers 3 15 J23 J24 Microcontroller Supply Voltage Jumper J23 and J24 connect certain controller pins to their required supply potential Note Jumper J23 and J24 must be closed in conjunction with the Infineon C167CR or C167CS Microcontroller VCC Pin Connection J23 24 connected to closed closed controller pins C16 and C17 function open open as bypass capacitors Default setting phyCORE 167CR 167CS Must not be used on phyCORE 167CR 167CS Table 17 723 J24 Configuration VCC Pins Microcontroller Me technik GmbH 2002 L 527e 8 29 phyCORE 167CR 167CS 30 PHYTEC Me technik GmbH 2002 L 527e 8 System Configuration 4 System Configuration Following a hardware or software reset the microcontroller starts program execution from address 00 0000H At this address a jump instruction to an application specific initialization routine is located This routine configures certain features of the microcontroller Initialization is carried out in a privileged mode and completed by an EINIT instruction After that access to specific registers and execution of certain instructions are limited Although most features of the C167CR C167CS microcontroller are configured and or programmed during the initialization routine other features which influence program
17. When using the DB 9 plug P2B as second CAN interface and the CAN transceiver on the Development Board with galvanic separation the following jumper settings are not functional and could damage the module Jumper Setting Description JP30 closed Pin 8 at P2B is connected with TxD1_RS232 from the phyCORE 167CS JP33 1 2 Pin 2 at P2B is connected with P2 5 from the phyCORE 167CS 2 4 Pin 2 at P2B is connected with CAN 11 from the on board CAN transceiver on the phyCORE 167CS JP34 243 Pin 7 at P2B is connected with from the on board CAN transceiver on the phyCORE 167CS JP14 open Input at opto coupler U6 on the Development Board not connected JP15 open Output at opto coupler U7 on the Development Board not connected JP13 243 Supply voltage for CAN transceiver and opto coupler derived from local supply circuitry on the phyCORE Development Board HD200 JP29 open No power supply via CAN bus Table 45 Improper Jumper Settings for the CAN Plug P2B CAN Transceiver on Development Board with Galvanic Separation PHYTEC Me technik GmbH 2002 L 527e 8 81 phyCORE 167CR 167CS 14 3 7 Programmable LED D3 The phyCORE Development Board HD200 offers a programmable LED at D3 for user implementations This LED can be connected to port pin P2 0 of the phyCORE 167CR 167CS which is available via signal GPIOO JP17 closed A low level at port pin P2 0 causes the LED to illuminate LED D3 remai
18. connection to RxDO signal from phyCORE 167CR 167CS Table 30 Improper Jumper Settings for DB 9 Socket P1A as First RS 232 If an RS 232 cable is connected to P1A the voltage level on the RS 232 lines could destroy the phyCORE 167CR 167CS 66 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board 14 3 4 Second Serial Interface at Socket P1B Socket P1B is the upper socket of the double DB 9 connector at Pl is connected via jumpers to the second serial interface of the phyCORE 167CR 167CS Depending on the module configuration refer to section 3 10 and the available order option optional UART populates the module PCM 009 Cx U three different options are available for configuration of socket P1B 1 The phyCORE 167CR 167CS is NOT populated with the optional UART at U7 standard PCM 009 Cx and no serial interface emulation with port pins P3 0 and P3 1 Jumper Setting Description Pin 2 of DB 9 socket not connected JP2 open Pin 9 of DB 9 socket P1B not connected JP3 open Pin 7 of DB 9 socket P1B not connected JP4 open Pin 4 of DB 9 socket P1B not connected JP5 open Pin 6 of DB 9 socket P1B not connected JP6 open Pin 8 of DB 9 socket P1B not connected JP7 open Pin 1 of DB 9 socket P1B not connected JP8 open Pin 3 of DB 9 socket P1B not connected Table 31 Jumper Configuration of the DB 9 Socket no
19. 1 32 kByte 7 64 kByte 29F800 with 1 16 kByte 2 8 kByte 1 32 kByte 15 64 kByte 29F160 with 1 16 kByte 2 8 kByte 1 32 kByte 31 64 kByte These Flash devices are programmable with 5 V No dedicated pro gramming voltage is required Use of a Flash device as the only code memory results in no or only a limited usability of the Flash memory as non volatile memory for data This is due to the internal structure of the Flash device as during the Flash internal programming process the reading of data from Flash is not possible Hence for Flash programming program execution must be transferred out of Flash such as into von Neumann RAM This usually equals the interruption of a normal program execution cycle As of the printing of this manual Flash devices generally have a life expectancy of at least 100 000 erase program cycles 46 PHYTEC Me technik GmbH 2002 L 527e 8 Battery Buffer and Voltage Supervisor Chip 11 Battery Buffer and Voltage Supervisor Chip U13 The battery that buffers the memory is not essential to the functioning of the phyCORE 167CR 167CS However this battery buffer embodies an economical and practical means of storing non volatile data It is necessary to preserve data from the Real Time Clock in case of a power failure The VBAT input at pin X1C6 of the board is provided for connecting the external battery The negative polarity pin on the battery must be connected to GND on the phyCO
20. 16 Oscillator Watchdog On Chip 22 3 6 17 18 Use ofthe External 22 3 7 J9 J10 Configuration of P3 3 P3 4 for PC Bus 23 3 8 J11 RTC Interrupt Output e eere tenerent one recreo ee 24 3 9 J12 Write Protection of EEPROM FRAM 24 3 10 Second Serial Interface Configuration J13 J14 25 3 11 J15 Address of the Serial EEPROM FRAM 25 3 12 CAN Interfaces J16 J17 J18 119 pter 26 3 13 J20 Remote Download iere re enhn 24 3 14 21 027 ASCH L ott toner eme E ER 28 3 15 J23 J24 Microcontroller Supply Voltage 29 4 System Configuration 0e000000000000000 00000000000000 00000000 00000000000000 0en0e0 31 4 1 System Startup Configuration seen 31 9 Memory Models diede aane naga 35 DL BUSTIN der e e ea 39 Serial Interfaces rat Sake gada a On RYE M TU gana gga anane 41 a D R5 232 InletbdGe eoe de o oi d aha ta ea ag aga 41 5 2 CAN Interface ous ede eo nuts oe 42 7 Real Time Clock RTC 8563 U10 eese 43 8 Serial EEPROM FRAM UO eeeeee 00000000000000 0000000000000000 0000 e00eo 44 9 Remote Supervisory Chip US 4
21. 17 of the controller is connected to VCC connected to GND via a bypass capacitor J24 closed Pin 56 ofthe controller is open Pin 56 of the controller is connected to VCC connected to GND via a bypass capacitor Table 2 Jumper Settings 1 second CAN interface is only available with Infineon s C167CS refer to the controller Data Sheet 2 Note These jumpers must remain closed on the phyCORE 167CR 167CS If they are open no serial communication is possible hence PHYTEC FlashTools or the BOOT monitor will not function properly 18 PHYTEC Me technik GmbH 2002 L 527e 8 Jumpers 3 1 J1 Use of Pin 30 on the SRAM Jumper J1 determines the use of pin 30 on the SRAM devices at U2 and U3 On SRAM devices with a capacity of 128 kBytes pin 30 is defined as an active high Chip Select signal To enable access to such SRAM devices a high level should be applied to pin 30 On SRAM devices with a capacity of more than 512 kBytes pin 30 is used as address line A17 In case the SRAM has a 16 bit bus width this pin must be connected to address line A18 of the microcontroller On the phyCORE 167CR 167CS J1 should be used as follows Jumper Jl must be closed positions 2 3 if the phyCORE 167CR 167CS 1s populated with external SRAM devices with a total capacity of 2 128 kByte This results in a hard wired connection of VCC to pin 30 of the SRAM If an SRAM memory configuration of 2 512 kByte is used pin 30 A17 on th
22. 55 I NM M 25 1 50 BN KK 26 52401 4 44 4 90 Ni a KANGA BN I 26 E 26 23 2 v 26 EMC LLL QM ND QM dU Mer cope ODER 20 Expansion Bus oe testen 82 120 27 External UART aaa V sse PHYTEC Me technik GmbH 2002 1 527 8 99 phyCORE 167CR 167CS WB aede ERU OEC dE A R AN AL URSI REG ER A e D 20 Real Time a AG a UNS Reference 21 Seta ERA UNUS NE A e Ao 21 Remote Supervisory Chip 45 21 Reset aa aas 57 JO E gk a erent O AA ei 22 BADHI Interface 41 22 9 939 Tevel scie oer Al 22 Al JO aan rere INCDUS SIS 23 23 47 82 RTC Interrupt Output 24 PPD aa scan ume KG KAN edt 90 haben raso fen Me ded 41 od NCR 90 Jumper Configuration 57 5 Jumper Settings 18 SOL sac 23 43 L SIDA ORA 23 43 Second CAN Interface 77 ee eye habe 82 Second Serial Interfit 67 O Serial EEPROM Address 25 on chip Flash 22 Serial EEPROM on chip 22 Write Protection 24 Operating Temperature
23. VAGND 42C 47C 39D 42C 47C 39D connected to 44D 9D 44D 49D GND potential GND 2 12A 17A 22 2A 7A 12A 3C 4C 7C 8C 27A 32A 37A 42A 17A 22A 27A 9C 12C 13C 47A 4B 9B 14B 19B 32A 37A 42A 14C 17C 18C 24B 29B 34B 39B 47 52 57A 19C 22C 23C 44B 49B 7C 12C 62A 67 72 24C 27C 29C 17C 22C 27C 32C 77 9B 30C 31C 34C 37C 3D 9D 14D 19D 14B 19B 24B 35C 36C 39C 24D 29D 34D 29B 34B 39B 40C 41C 44C 44B 49B 54B 45 46C 49C 59B 64B 69B 50C 51C 54C 74B 79B 3C 7C 4D 5D 6D 9D 12C 17C 22C 10D 11D 14D 27C 32C 37C 15D 16D 9D 42C 47C 52C 20D 21D 24D 57C 62C 67C 25D 26D 28D 72C TIC 31D 32D 33D 9D 14D 19D 36D 37D 38D 24D 29D 34D 41D 42D 43D 42D 47D 52D 46 47D 48D 57D 62D 67D 51D 52D 53D 72D 77D 1E 2E IF Table 52 Pin Assignment Power Supply for the phy CORE 167CR 167CS Development Board Expansion Board 88 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board Signal phyCORE 167Cx Expansion Bus Patch Field NC 35A 50B 4C 5C 38C 51A 53 54 27B 27D 54D 39C 40C 38D 55 56 58 27F 54F 59 60 61A 44D 44F 45A 63A 64 65 45E 45B 45D 66A 68 69 45 46 46E 70 71A 73A 46B 46F 47A 74A 75 76A 4
24. WR and P3 12 l These configurations are only possible with an Infineon C167CS 2 On modules with a memory configuration featuring 2 MB Flash memory PCM 009 x3x the register SALSEL must be configured with the values 1 H4 0 H3 3 Note If C167CR controller populates the phyCORE module using the CAN interface reduces the available address space to 1 MB for each CS signal PHYTEC Me technik GmbH 2002 L 527e 8 33 phyCORE 167CR 167CS BUSTYP 11 16 bit multiplexed bus defines bus inter face for CSO BUSCONO 10 peus demultiplexed bus 01 8 bit multiplexed bus 00 8 bit demultiplexed bus BSL 1 _ Bootstrap loader inactive 0 Bootstrap loader active ADP 1 adapter mode inactive 0 adapter mode active EMU l emulation mode inactive emulation mode active Table 19 System Startup Configuration Registers Default system startup configuration of the phyCORE 167CR 167CS The initial setting of the system startup configuration can be modified during the initialization routine Certain functions can not be con figured during startup such as selection of the number of wait states for individual memory devices and Chip Select signals as well as the location of these devices within the controller s address space Several software development tools utilize a special file which allows easy definition of system settings This configuration file can be easily included in the transla
25. and providing a path for future developments of the CAN protocol 42 PHYTEC Me technik GmbH 2002 L 527e 8 Real Time Clock 8563 7 The Real Time Clock RTC 8563 U10 For real time Or time driven applications the phyCORE 167CR 167CS 18 equipped with an 8563 Real Time Clock at U10 This RTC device provides the following features Serial input output bus 1 e Power consumption Bus active max 50 mA Bus inactive CLKOUT 32 kHz max 1 7 uA Bus inactive CLKOUT 0kHz max 0 75 WA Clock function with four year calendar Century bit for year 2000 compliance Universal timer with alarm and overflow indication 24 hour format Automatic word address incrementing Programmable alarm timer and interrupt functions If the phyCORE 167CR 167CS is equipped with a battery the Real Time Clock runs independently of the board s power supply Programming the Real Time Clock is done via the bus address 0 x A2 1010001 which is connected to port P3 4 SCL and port P3 3 SDA The Real Time Clock also provides an interrupt output that extends to port P2 9 via Jumper J11 An interrupt occurs in case of a clock alarm timer alarm timer overflow and event counter alarm An interrupt must be cleared by software With the interrupt function the Real Time Clock can be utilized in various applications For more information on the features of the RTC 8563 refer to the corresponding Data Sheet Note After connec
26. concept Figure 8 Modular Development and Expansion Board Concept with the phyCORE 167CR 167CS The following sections contain specific information relevant to the operation of the phyCORE 167CR 167CS mounted on the phyCORE Development Board HD200 For a general description of the Development Board please refer to the corresponding Development Board Hardware Manual 54 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board 14 2 Development Board HD200 Connectors and Jumpers 14 2 1 Connectors As shown in Figure 9 the following connectors are available on the phyCORE Development Board HD200 X1 low voltage socket for power supply connectivity X2 mating receptacle for expansion board connectivity P1 dual DB 9 sockets for serial RS 232 interface connectivity 2 dual DB 9 connectors for CAN or RS 485 interface connectivity 4 voltage supply for external devices and subassemblies X5 GND connector for connection of GND signal of measuring devices such as an oscilliscope X6 phyCORE connector enabling mounting of applicable phyCORE modules U9 U10 space for an optional silicon serial number chip BATI receptacle for an optional battery X5 o GND d fs xi p BD Ga i 1 4 3 1 0 70 N N de A S X Develo
27. controller 3 The feature of rerouting CAN signals to port P8 is only available with Infineon s C167CS controller Caution Ensure correct configuration of the bit field IPC in controller register PCIR to allow proper use of the CAN interface refer to the microcontroller User s Manual and Data Sheet for further information 26 PHYTEC Me technik GmbH 2002 L 527e 8 Jumpers The following CAN interface configurations are possible Interface CANI J16 J17 4 5 CANIRx 2 43 2 3 4 6 CANITx P8 0 CANIRx 1 2 1 2 P8 1 CANITx Interface CAN22 J18 J19 P4 4 CAN2Rx 2 3 2 3 P4 7 CAN2Tx P8 2 CAN2Rx 1 2 1 2 P8 3 CAN2Tx Default setting Table 14 J16 J17 J18 J19 CAN Interface Configuration 3 13 J20 Remote Download Source Space US on the module is intended to be populated by a Remote Supervisory Chip This IC can initiate a boot sequence via various serial interfaces refer to section 6 Jumper J20 is reserved for future use and remains open as default The following configurations are possible Download Source J20 not available open Port P3 11 RxDO 2 6 Port P3 1 RxDI 1 2 Port CANIRx 345 Port CAN2Rx 344 Default setting Table 15 720 Remote Download Source Configuration l Rerouting CAN signals to port P8 is only available with Infineon s C167CS controller Caution Ensure correct configuration of the bi
28. eee eese e eere eene eene 45 10 Flash Memory 10 46 11 Battery Buffer and Voltage Supervisor Chip U13 47 12 Technical Specifications 00000000000000000 ee 00000000000000 00000000000000 49 13 Hints for Handling the phy CORE 167CR 167CS 51 PHYTEC Me technik GmbH 2002 L 527e 8 phyCORE 167CR 167CS 14 The phyCORE 167CR 167CS on the phyCORE Development Board 200 iret a geri ce oi ananeng avete ode 53 14 1 Concept of the phyCORE Development Board HD200 53 14 2 Development Board HD200 Connectors and Jumpers 55 DI COMME CIOLS Pen nd 55 14 2 2 Jumpers on the phyCORE Development Board E3200 saksa aaa optant 54 14 2 3 Unsupported Features and Improper Jumper Settings 59 14 3 Functional Components on the phyCORE Development Board BHD200 bete oet 60 14 3 1 Powersupply at X Li eint ct er e 61 14 3 2 Activating the Bootstrap 63 14 3 3 First Serial Interface at Socket 65 14 3 4 Second Serial Interface at Socket P1B 67 14 3 5 First CAN Interface at Plug 2 72 14 3 6 Second CAN Interface at Plug P2B 77 14 3 7 Programmable LED eee nator
29. execution must be configured prior to initialization 4 1 System Startup Configuration The system startup configuration sets the features of the microcontroller that have a direct influence on program execution and hence the correct execution of the initialization routine as well Of particular importance to the system startup configuration are the characteristics of the external bus interface which supports the modules memory for example data width multiplexed or demultiplexed mode During the system startup configuration certain pins comprising port PO are latched by the controller during the reset procedure The signal level on the corresponding input pins configures the resulting characteristics of the controller The system startup configuration can be set by connecting desired pins at port 0 with a pull down resistor resulting in logical 0 or by leaving the connections open resulting in logical 1 A 4 7 pull down resistor is recommended although the resistor value is also dependent upon the external circuitry that is connected to the data bus of the module PHYTEC Me technik GmbH 2002 L 527e 8 3l phyCORE 167CR 167CS The individual pins of port PO have the following functions Function of port PO during system reset high byte Bit H7 H6 H5 H4 H3 H2 HI Bit HO CLKCFG SALSEL CSSEL WRC R31 R29 R28 R27 R26 R25 R24 R23 1 1 1 001 0 0 0 0 Function of port PO during system r
30. in the following two figures Figure 23 Pin Assignment Scheme of the Expansion Bus ABCDEF Figure 24 Pin Assignment Scheme of the Patch Field PHYTEC Me technik GmbH 2002 L 527e 8 83 phyCORE 167CR 167CS The pin assignment on the phyCORE 167CR 167CS in conjunction with the Expansion Bus X2 on the Development Board and the patch field on an expansion board is as follows Signal phyCORE 167Cx Expansion Bus Patch Field POL 0 DO 18B 18B 33F POL 1 D1 19A 19A 34A POL 2 D2 20A 20A 34E POL 3 D3 20B 20B 34B POL 4 D4 21A 21A 34D POL 5 D5 21B 21B 34F POL 6 D6 22B 22B 35A POL 7 D7 23A 23A 35E POH 0 D8 28B 28B 37C POH 1 D9 29A 29A 37E POH 2 D10 30A 30A 37B POH 3 D11 30B 30B 37F POH 4 D12 31A 31A 38A POH 5 D13 31B 31B 38C POH 6 D14 32B 32B 38E POH 7 D15 33A 33A 38B P1L 0 A0 8B 8B 30B PIL 1 Al 9A 9A 30D P1L 2 A2 10A 10A 30F P1L 3 A3 10B 10B 31A P1L 4 A4 11A 11A 31E P1L 5 A5 11B 11B 31B P1L 6 A6 12B 12B 31F P1L 7 A7 13A 13A 31A P1H 0 A8 13B 13B 32C P1H 1 A9 14A 14A 32E P1H 2 A10 15A 15A 32B P1H 3 A11 15B 15B 32F P1H 4 A12 CC24IO 16A 16A 33A P1H 5 A13 CC25JO 16 16B 33C P1H 6 A14 CC261O 17B 17B 33E P1H 7 A15 CC27IO 18A 18A 33B Table 47 Pin Assignment Data Address Bus for the phy CORE 167CR 167CS Development Board Expansion Board 84 PHYTEC Me technik GmbH 2002 L 527e 8 The phyC
31. of the first serial interface RS 232 level 23D TxDO RS232 O Output of the first serial interface RS 232 level 25D P2 14 CAPCOM1 CC14 Capture Input Compare Output 26D P2 15 Fast ext Interrupt 6 Input D CC15 Capture Input Compare Output Fast external Interrupt 7 Input I T7IN Timer T7 Count Input I 27D P8 0 I O CAPCOM2 CC16 Capture Input Compare Output 28D P8 1 CAPCOM 2 CCI7 Capture Input Compare Output 30D P8 2 2 18 Capture Input Compare Output 31D 8 3 2 19 Capture Input Compare Output 32D SDA Data line bus 33D IRQ RTC Interrupt output of the 35D 36D P8 5 P8 7 CAPCOM2 CC21 Capture Input Compare Output 2 23 Capture Input Compare Output 37D P2 13 CAPCOMI CCI3 Capture Input Compare Output Fast ext Interrupt 5 Input 1 38D NC Not connected These contacts should remain unconnected on the target hardware side 39 44D 490 VAGND Analog Ground 40D 41D P5 15 P5 13 Port 5 of the microcontroller see corresponding 42D 43D P5 12 P5 10 Data Sheet 45D 46D P5 7 P5 5 41D 48D P5 4 P5 2 50D VAREF I Reference voltage input for A D converter Table 1 Pinout of the phyCORE Connector 1 Dual on chip CAN is only available with Infineon C167CS microcontroller PHYTEC Me technik GmbH 2002 L 527e_8 13 phyCORE 167CR 167CS 14 PHYTEC Me technik GmbH 2002 L 527e 8 Jumpers 3 Jump
32. 00 ns instruction cycle 16 MB address space 256 kByte to 2 MB external Flash on board on board Flash programming no dedicated Flash programming voltage required through use of 5 V Flash devices 256 kByte to 1 MB RAM on board up to 2 CAN interfaces with Philips 82C251 CAN transceiver or Siliconix Si9200EY I C Real Time Clock with internal quartz 4 to 8 kByte EEPROM or 512 Byte to 8 kByte FRAM Voltage Supervisory Chip for Reset logic and power supervision Remote Supervisory Circuit free Chip Select signals for easy connection of peripheral devices requires single 5 V 220 mA supply voltage 5 232 transceiver for two serial interfaces optional UART for second asynchronous serial interface support for modem signals CTS RTS DTR and DSR over the second serial interface only when populated with external UART Dual on chip CAN is only available with Infineon s C167CS microcontroller Please contact PHYTEC for more information about additional modul configurations This feature is under development and not available yet PHYTEC Me technik GmbH 2002 L 527e 8 5 phyCORE 167CR 167CS 1 1 Block Diagram INFINEON C167CR C167CS RS 232 RxDO TxDO Transceiver RS 232 RxD1 TxD1 Transceiver MY 5 CANOH CANOL Transceiver 0 005 500 1 This feature is under development and is not available yet Figure 1 Block Diagram phyCORE 167CR 167CS 1 2 View of the phyCORE 1
33. 167CR 167CS on a phyCORE Development Board HD200 Functions configured by these settings are not supported by the phyCORE module Supply Voltage The phyCORE Development Board HD200 supports two main supply voltages for the start up of various phyCORE modules When using the phyCORE 167CR 167CS only one main supply voltage is required VCC1 with 5 V The connector pins for a second supply voltage on the phyCORE 167CR 167CS are not defined Jumper Setting Description JP16 closed VCC2 routed to pins X1C4 and X1C5 on the phyCORE 167CR 167CS Table 21 Improper Jumper Setting for JP16 on the Development Board No RS 485 interface DB 9 plug P2B on the Development Board can be configured as RS 485 interface as an alternative to a possible second CAN interface The phyCORE 167CR 167CS does not support an RS 485 interface For this reason the corresponding jumper settings should never be used Jumper Setting Description JP30 closed TxD signal for second serial interface routed to pin 8 on the DB 9 plug P2B JP33 1 2 RxD signal for second serial interface routed to pin 2 on the DB 9 plug P2B Table 22 Improper Jumper Setting for JP30 33 on the Development Board PHYTEC Me technik GmbH 2002 L 527e 8 59 phyCORE 167CR 167CS Reference Voltage Source for A D Converter Pins X1C42 X1C47 X1D39 X1D44 and X1D49 VAGND of the phyCORE 167CR 167CS are solely connected with the phyCORE Developme
34. 167CS on the phy CORE Development Board Caution If the phyCORE 167CR 167CS is NOT populated with the optional at U7 standard PCM 009 Cx and the DB 9 socket is used as described above the following jumper settings are not functional and could damage the module Jumper Setting Description JP2 closed No signal available from the phyCORE 167CR 167CS P1B pin 9 JP3 closed No CTS1_RS232 signal available from the phyCORE 167CR 167CS P1B pin 7 JP4 closed No DSR1_RS232 signal available from the phyCORE 167CR 167CS P1B pin 4 1 5 closed No DTRI RS232 signal available from the phyCORE 167CR 167CS P1B pin 6 JP6 closed No RTS1_RS232 signal available from the phyCORE 167CR 167CS P1B pin 8 JP7 closed No CD1_RS232 signal available from the phyCORE 167CR 167CS P1B pin 1 Table 35 Improper Jumper Settings for DB 9 Socket 214 RS 232 via Software Emulation PHYTEC Me technik GmbH 2002 L 527e 8 71 phyCORE 167CR 167CS 14 3 5 First CAN Interface at Plug P2A Plug P2A is the lower plug of the double DB 9 connector at P2 P2A is connected to the first CAN interface CANO of the phyCORE 167CR 167CS via jumpers Depending on the configu ration of the CAN transceivers and their power supply the following three configurations are possible 1 CAN transceiver populating the phyCORE 167CR 167CS 15 enabled and the CAN signals from the module extend dir
35. 2 L 527e 8 1 phyCORE 167CR 167CS PHYTEC products fulfill the norms of the European Union s Directive for Electro Magnatic Conformity only in accordance to the descriptions and rules of usage indicated in this hardware manual particularly in respect to the pin header row connectors power connector and serial interface to a host PC 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 Electro Magnetic Directives Users should ensure conformance following any modifications to the products as well as implementation of the products into target systems The phyCORE 167CR 167CS is one of a series of PHYTEC Single Board Computers that can be populated with different controllers and hence offers various functions and configurations PHYTEC supports all common 8 and 16 bit controllers in two ways 1 as the basis for Rapid Development Kits which serve as a reference and evaluation platform 2 as insert ready fully functional micro mini and phyCORE OEM modules which can be embedded directly into the user s peripheral hardware design PHYTEC s microcontroller modules allow engineers to shorten development horizons reduce design costs and speed project concepts from design to market 2 PHYTEC Me technik GmbH 2002 L 527e 8 Introduction 1 Introduction The phyCORE 167CR 167
36. 27 32 37A 42A 47 3A P2 9 CAPCOM1 CC9 Capture Input Compare Output Fast external Interrupt 1 Input D 4A NMI I Non masked interrupt input 5A 6 4 54 Chip Select 4 6A ALE Address latch enable 8A WRL WRL signal of the microcontroller 9A 10A 11A Al A2 4 Address line of the microcontroller 14 15A A7 A9 A10 16A 18A A12 A15 24A 25A 17 A18 26A 28A A20 A23 19 20 21 1 D2 DA Data line of the microcontroller 23 29 30A D7 D9 D10 31A D12 D15 34A RDY I Microcontroller READY signal input 35A NC Not connected These contacts should remain unconnected on the target hardware side 36A P6 6 HLDA I O Acknowledge output master mode input slave mode 38A 39A P7 1 P7 3 POUT1 PWM Channel 1 POUT3 PWM Channel 3 40A 41A P7 4 P7 6 CAPCOM2 CC28 Capture Input Compare Output CAPCOM2 CC30 Capture Input Compare Output 43A P3 9 SSC Master transmit Slave receive 44A P3 0 I Timer TO Counter input 45A P3 1 GPT2 Timer T6 Latch output 46A P3 3 GPTI Timer Latch output 48A P3 6 I GPTI Timer Counter input 49A P6 0 50 Chip Select 0 50A P6 1 CS1 Chip Select 1 10 PHYTEC Me technik GmbH 2002 L 527e 8 Pin Description Pin Number Signal Description Pin Row X1B P3 15 CLKOUT system clock output P2 8 P2 10 CA
37. 34 243 Pin 7 at P2B is connected with from the on board CAN transceiver on the phyCORE 167CS JP14 open Input at opto coupler U6 on the Development Board not connected JP15 open Output at opto coupler U7 on the Development Board not connected JP13 122 Supply voltage for CAN transceiver and opto coupler on the Development Board derived from external source CAN bus via on board voltage regulator JP29 closed Supply voltage for on board voltage regulator from pin 9 of DB 9 connector P2A Table 43 Improper Jumper Settings for the CAN Plug P2B CAN Transceiver on the Development Board only with CI67CS PHYTEC Me technik GmbH 2002 L 527e 8 79 phyCORE 167CR 167CS 3 The CAN transceiver populating the phyCORE 167CS is disabled CAN signals generated by the CAN transceiver U3 on the Development Board extend to connector P2B with galvanic separation This configuration requires connection of an external CAN supply voltage of 7 to 13 V The external power supply must be only connected to either P2A or P2B Jumper Setting Description JP33 243 Pin 2 of DB 9 plug P2B connected with CAN L1 from CAN transceiver U3 on the Development Board JP34 142 Pin 7 of DB 9 plug P2B connected with CAN H1 from CAN transceiver U3 on the Development Board JP14 243 Input at opto coupler U6 on the Development Board connected to CAN2 P4 6 of the C167CS 142 Input at opto coupler U4 on the Devel
38. 67CR 167CS IT T is ar 5 g x EE fel 9 gu I 24 root on E 355 3 c4 7 gt lt NG 5 B ea 5 5 ge FEE to T LLI Cc L a IS Figure 2 View of the phyCORE 167CR 167CS 6 PHYTEC Me technik GmbH 2002 L 527e 8 Pin Description 2 Pin Description Please note that all module connections are not to exceed their expressed maximum voltage or current Maximum signal input values are indicated in the corresponding controller manuals data sheets As damage from improper connections varies according to use and application it is the user s responsibility to take appropriate safety measures to ensure that the module connections are protected from overloading through connected peripherals As Figure 3 indicates all controller signals extend to surface mount technology SMT connectors 0 635 mm lining two sides of the module referred to as phyCORE connector This allows the phyCORE 167CR 167CS to be plugged into any target application like a big chip A new numbering scheme for the pins on the phyCORE connector has been introduced with the phyCORE specifications This enables quick and easy identification of desired pins and minimizes errors when matching pins on the phyCORE module with the phyCORE connector on the appropriate PHYTEC Development Board or in user target circuitry The numbering scheme for the phyCORE connector i
39. 7C ATE 47 78 79 80 47F 48A 48C 35A SOB 48 48B 48F 51B 53B 54B 49 49E 49B 55B 56B 58B 49D 49F 50 59B 60B 61B 50 50B 50D 63B 64B 65B 50 51A 51E 66B 68B 698 51B 51F 52A 70B 71B 73B 52 52 52B 74B 75B 76B 52F 53A 53C 78B 79B 80B 53E 53B 53F 51C 53C 54C 54A 54E 54B 55C 56C 58C 59C 60C 61C 63C 64C 65C 66C 68C 69C 70C 71C 73C 74C 75C 76C 78C 79C 80C 4C 5C 38C 39C 40C 38D 51D 53D 54D 55D 56D 58D 59D 60D 61D 63D 64D 65D 66D 68D 69D 70D 71D 73D 74D 75D 76D 78D 79D 80D Table 53 Unused Pins the phyCORE 167CR 167CS Development Board Expansion Board PHYTEC Me technik GmbH 2002 L 527e 8 89 phyCORE 167CR 167CS 14 3 9 Battery Connector BAT1 The mounting space BATI see PCB stencil is provided for connection of a battery that buffers volatile memory devices SRAM and the RTC on the phyCORE 167CR 167CS The Voltage Supervisor Chip on the phyCORE 167CR 167CS is responsible for switching from a normal power supply to a back up battery The optional battery required for this function refer to section 11 is available through PHYTEC order code BL 003 14 3 10 Releasing the NMI Interrupt The boot button S1 on the phyCORE Development Board HD200 can be routed to the non maskable interrupt NMI of the C167CR C167CS controller with applicable configuration of Jumper JP28 al
40. 8 Pin Assignment of the DB 9 Plug P2B CAN Transceiver on phyCORE 167CS only with C167CS 77 Pin Assignment of the DB 9 Plug P2B CAN Transceiver on Development Board only with C167CS5 78 Pin Assignment of the DB 9 Plug P2B CAN Transceiver on Development Board with Galvanic Separation only S HUE MN MMC 81 Pin Assignment Scheme of the Expansion Bus 83 Pin Assignment Scheme of the Patch Field 83 Connecting 052401 Silicon Serial Number 9 Pin Assignment of DS2401 Silicon Serial Number 9 Positions of the Additional Components on the 5 94 Physical Dimensions debugCORE 167CR 167CS 98 PHYTEC Me technik GmbH 2002 L 527e 8 Contents Index of Tables Table 1 Pinout of the phyCORE Connector eese 13 Table 2 Jumper Settings is aan Aa EN Ga aa o aga NE AN aa AK aka aaa 18 Table 3 Jl SRAM Capacity 19 Tabled J2 ode Fetch Selecflon sawi sepasang ag o pa 20 Table 5 J3 Addressing the Flash tree 21 Table 6 4 5 A D Converter Reference Voltage 21 Table 7 J6 Activating the Oscillator
41. CS belongs to PHYTEC s phyCORE Single Board Computer module family The phyCORE SBCs represent the continuous development of PHYTEC Single Board Computer technology Like its mini micro and nanoMODUL predecessors the phyCORE boards integrate all core elements of a microcontroller system on a subminiature board and are designed in a manner that ensures their easy expansion and embedding in peripheral hardware developments As independent research indicates that approximately 70 of all EMI Electro Magnetic Interference problems stem from insufficient supply voltage grounding of electronic components in high frequency environments the phyCORE board design features an increased pin package The increased pin package allows dedication of approximately 20 of all pin header connectors on the phyCORE boards to Ground This improves EMI and EMC characteristics and makes it easier to design complex applications meeting EMI and EMC guidelines using phyCORE boards even in high noise environments phyCORE boards achieve their small size through modern SMD technology and multi layer design In accordance with the complexity of the module 0402 packaged SMD components and laser drilled Microvias are used on the boards providing phyCORE users with access to this cutting edge miniaturization technology for integration into their own design PHYTEC Me technik GmbH 2002 L 527e 8 3 phyCORE 167CR 167CS The phyCORE 167CR 167CS is a subminia
42. E 167CR 167CS mounted on the Development Board as well as whether an optional expansion board is connected to the Development Board An adapter with a minimum supply of 500 mA is recommended Jumper Setting Description JP9 2 3 5 main supply voltage to the phyCORE 167CR 167CS Table 23 JP9 Configuration of the Main Supply Voltage VCC Polarity Center Hole 5 VDC T gt 500 mA 3 5 GND Figure 13 Connecting the Supply Voltage at X1 PHYTEC Me technik GmbH 2002 L 527e 8 61 phyCORE 167CR 167CS Caution When using this function the following jumper settings are not allowed Jumper Setting Description JP9 1 2 3 3 V as main supply voltage for the phyCORE 167CR 167CS open phyCORE 167CR 167CS not connected to main supply voltage Table 24 JP9 Improper Jumper Settings for the Main Supply Voltage Setting Jumper JP9 to positions 1 2 configures a main power supply to the phyCORE 167CR 167CS of 3 3 V which could destroy the module If Jumper JP9 is open no main power supply is connected to the phyCORE 167CR 167CS This jumper setting should therefore not be used 62 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board 14 3 2 Activating the Bootstrap Loader The Infineon C167Cx microcontroller contains an on chip Bootstrap Loader that provides basic communication and programming functions The combination o
43. Examples utr P ree Hine Physical Dimensions pv tos Modular Development and Expansion Board Concept with the phyCORE I67CR 167CS iio hee etat the tette Location of Connectors on the phyCORE Development Board HD200 eer tcn ettet err Numbering of Jumper Pads as eet c e eee Deed cats Location of the Jumpers View of the Component Side Default Jumper Settings of the phyCORE Development Board HD200 with phyCORE 167CR 167CS Connecting the Supply Voltage at X1 Pin Assignment of the DB 9 Socket P1A as First RS 232 Front eee ta tu id ele ma e UE Pin Assignment of the DB 9 Socket P1B as Second RS 232 UART populated Front View Pin Assignment of the DB 9 Socket P1B as Emulated R3 252 Front tcu roter otl obe Pin Assignment of the DB 9 Plug P2A CAN Transceiver on phyCORE 167CR 167CS Front View Pin Assignment of the DB 9 Plug P2A CAN Transceiver on Development Board sane e Pin Assignment of the DB 9 Plug P2A CAN Transceiver on Development Board with Galvanic Separation PHYTEC Me technik GmbH 2002 L 527e 8 phyCORE 167CR 167CS Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 Figure 25 Figure 26 Figure 27 Figure 2
44. FFFh 256 kByte RAM bank on U2 3 0806h address range 08 0000h 08 0FFFh 4 KByte address space for external UART 0816h address range 08 1000h 256 kByte free I O 0C16h address range 0C 1000h 10 0FFFh 256 kByte free I O O4AFh bus active for CSO Flash bank U1 O4AFh bus active for CS1 RAM bank 02 3 042Fh bus active for CS2 external UART 068Ch bus active for CS3 free I O 068Ch bus active for CS4 free I O for all 55 ns memory devices active 0 wait states read write de lay no tristate short ALE 16 bit demultiplexed for free I O area 3 wait states read write delay tristate long ALE 16 bit demultiplexed l CS3 and CS4 are not active in the standard configuration of the phyCORE 167CR 167CS In order to use these signals resistors R24 and R25 must be removed refer to section 4 1 PHYTEC Me technik GmbH 2002 L 527e 8 37 phyCORE 167CR 167CS Example a Example b 6 0 CS0 memory image P6 0 CS0 memory image 10 1000h of Flash Bank 1 10 1000h of Flash Bank 1 10 0FFFh 10 0FFFh 256 kByte 256 kByte 0C 1000h P6 4 CS4 0C 1000h P6 4 CS4 ene 256 kByte DESEE 256 kByte P6 3 CS3 08 1000h P6 3 CS3 08 1000h 4259 08 0FFFh 08 0FFFh 4 kByte 4 kByte external UART external UART 08 0000h RI 08 0000h P6 2 CS2 07 FFFFh TER 07 FFFFh anga RAM Bank U2 U3 FLASH Bank U1 04 0000h P6 1 CS1 04 0000h P6 0 50 03 FFF
45. Fh 256 2 256 kByte FLASH Bank U1 RAM Bank U2 U3 00 0000h P6 0 CS0 00 0000h P6 1 CS1 Figure 6 Memory Model Examples 38 PHYTEC Me technik GmbH 2002 L 527e 8 Memory Models 5 1 Bus Timing To enable connection of external memory components the BUSCON register should be configured as follows BUSCONx O4AEh 1 wait state read write delay no tristate short ALE 16 bit demultiplexed address CSx active This configuration is valid for all memory devices on the phyCORE 167CR 167CS with up to 70 ns access time It activates a wait state and the read write delay The configuration of one wait state 1 wait state Tc 50 ns and a read write delay supports memory devices with up to 70 ns access time with a bus cycle of 150 ns Me technik GmbH 2002 L 527e 8 39 phyCORE 167CR 167CS 40 PHYTEC Me technik GmbH 2002 L 527e 8 Serial Interfaces 6 Serial Interfaces 6 1 RS 232 Interface One RS 232 transceiver is located on the phyCORE 167CR 167CS at U6 This device converts the signal levels for the P3 11 RxDO and P3 10 TxDO lines as well as those of the second serial interface P3 1 RxD1 and P3 0 TxD1 from TTL level to RS 232 level Use of the optional UART on U7 requires changing the jumper settings for J13 and J14 to 243 refer to section 3 10 in order to route the RxD and TxD signals to the transceiver As an alternative a second RS 232 interface can be e
46. ORE 167CR 167CS on the phy CORE Development Board Signal phyCORE 167Cx Expansion Bus Patch Field P4 0 A16 23B 23B 35B P4 1 A17 24A 24A 35D P4 2 A18 25A 25A 35F 4 3 19 25B 25B 36A P4 4 A20 CAN2_RxD 26A 26A 36E P4 5 A21 CAN1_RxD 26B 26B 36B P4 6 A22 CAN1_TxD 27B 27B 36F P4 7 A23 CAN2_TxD 28A 28A 37A P2 0 CCOIO 11D 11D 4A P2 1 CCIIO 12D 12D 4B Pp2 2 CC2IO 13C 13C 4F P2 3 CC3IO 13D 13D 5A P2 4 CC4IO 14C 14C 5C P2 5 CC5IO 15C 15C 5E P2 6 CC6IO 15D 15D 5B 2 16 16 5 P2 8 CC8IO EXOIN 2B 2B 28E P2 9 CCO9IO EX 1IN 3A 3A 28B P2 10 CC10IO EX2IN 3B 3B 28F P2 11 CC11IO EX3IN 19C 19C 6F P2 12 CC12IO EX4IN 20C 20C TA P2 13 CC13IO EX5IN 37D 37D 12F P2 14 CC14IO EX6IN 25D 25D SF P2 15 CC15IO EX7IN T7IN 26D 26D 9E P3 0 TOIN 44A 44A 42E P3 1 T6OUT 45A 45A 42B P3 2 CAPIN 45B 45B 42F P3 3 T30UT 46A 46A 43A P3 4 T3EUD 46B 46B 43C P3 5 T4IN 47B 47B 43E P3 6 T3IN 48A 48A 43B P3 7 T2IN 48B 48B 43F P3 8 MRST 42B 42B 41F P3 9 MTSR 43A 43A 42A P3 10 TxDO TTL 17D 17D 6C P3 1I RxDO TTL 16D 16D 6A P3 12 WRH BHE 33B 33B 38F P3 13 SCLK 43B 43B 42C P3 15 CLKOUT 1B 1B 28C Table 48 Pin Assignment Port P2 P4 for the phyCORE 167CR 167CS Development Board Expansion Board Me technik GmbH 2002 L 527e 8 85 phyCORE 167CR 167CS
47. PCOMI CC8 Capture Input Compare Output Fast external Interrupt 0 Input 1 CAPCOM1 CC10 Capture Input Compare Output Fast external Interrupt 2 Input 1 4B 9B 14B 19B GND Ground circuitry 24B 29B 34B 39B 44B 49B 5B 6 3 53 O Chip Select 3 6B P6 2 CS2 O ChipSelect 2 7B _ RD signal of phyCORE 167CR 167CS 8B 10B 11B 0 A3 5 Address line of the microcontroller 12B 13B 15B A6 A8 11 16B 17B A13 A14 23B 25B A16 A19 26B 27B A21 A22 18B 20B 21B D0 D3 D5 IO Data line of the microcontroller 22B 28B 30B D6 D8 D11 31B 32B D13 D14 33B P3 12 WRH_ O Microcontroller WRH signal 35B P6 5 HOLD Microcontroller HOLD signal 36B P6 7 BREQ O Microcontroller BREQ signal 37B 38B P7 0 P7 2 POUTO PWM Channel 0 POUT2 PWM Channel 2 40B 41B P7 5 P7 7 2 29 Capture Input Compare Output CAPCOM2 CC31 Capture Input Compare Output 42B 43B P3 8 P3 13 Port3 of the microcontroller see corresponding 45B 46B P3 2 P3 4 Data Sheet 47B 48B P3 5 P3 7 50B NC Not connected These contacts should remain unconnected on the target hardware side PHYTEC Me technik GmbH 2002 L 527e 8 11 phyCORE 167CR 167CS Pin Number Signal Description Pin Row X1C
48. RE 167CR 167CS As of the printing of this manual a lithium battery is recommended as it offers relatively high capacity at low discharge In the event of a power failure at VCC the RAM memory and the RTC will be buffered by a connected battery via VBAT The RTC and the SRAM devices are generally supplied via VPD in order to preserve data by means of the battery back up in the absence of a power supply via VCC The back up battery is designed to buffer only SRAM devices as installed in the standard configuration of the module The standard SRAM device has a power consumption of 1 in Power Down mode When installing a different SRAM device ensure that the current draw in Power Down mode does not exceed 1 uA Faster SRAMs have an increased power consumption that can cause fast battery discharge Power consumption depends on the installed components and memory size see section 12 Technical Specifications Note Be advised that despite the battery buffer changes in the data content within the RAM can occur The battery buffer does not completely remove the danger of data destruction PHYTEC Me technik GmbH 2002 L 527e 8 47 phyCORE 167CR 167CS The Voltage Supervisor Chip populating U13 controls switching between VCC supply and the back up battery Furthermore the Voltage Supervisor Chip is used to generate a definite release of a reset signal if the supply voltage VCC drops below 4 65 V This ensures the proper sta
49. RE 167CR 167CS Hardware Manual describes the board s design and functions Precise specifications for Infineon s C167CR C167CS microcontroller series controller can be found in the enclosed microcontroller Data Sheet User s Manual If software is included please also refer to additional documentation for this software In this hardware manual and in the attached schematics low active signals are denoted by a in front of the signal name i e RD A 0 indicates a logic zero or low level signal while a 1 represents a logic one or high level signal Declaration of Electro Magnetic Conformity of the PHYTEC phyCORE 167CR 167CS PHYTEC Single Board Computers henceforth products are designed for installation in electrical appliances or as dedicated Evaluation Boards ie for use as test and prototype platform for hardware software development in laboratory environments Caution PHYTEC products lacking protective enclosures are subject to damage by ESD and hence may only be unpacked handled or operated in environments in which sufficient precautionary measures have been taken in respect to ESD dangers It is also necessary that only appropriately trained personnel such as electricians technicians and engineers handle and or operate these products Moreover PHYTEC products should not be operated without protection circuitry if connections to the product s pin header rows are longer than 3 m PHYTEC Me technik GmbH 200
50. al Time Clock 60 mm x 53 mm approximately 25 g with all optional components mounted on the circuit board 40 C to 90 C standard 0 C to 70 C extended 40 to 85 C 95 r F not condensed 5 V 5 96 VBAT 3 V 20 Conditions VCC 5 V VBAT 0 V 256 kByte RAM 5 MHz quartz 20 C VCC 0 V VBAT 3 V 20 These specifications describe the standard configuration of the phyCORE 167CR 167CS as of the printing of this manual Please note that the module storage temperature is only 09 to 70 C if a battery buffer is used for the RAM devices 50 PHYTEC Me technik GmbH 2002 L 527e 8 Hints for Handling the Module 13 Hints for Handling the phyCORE 167CR 167CS All C167 compatible controllers C167CR C167CS etc can populate the phyCORE 167CR 167CS module at U4 Please note that if using a C167Cx derivative with an active CAN interface via port 4 only 20 external address lines A0 A19 and 1 MB of address space is available on the module These constraints can be avoided by relocating the CAN interface to port 8 see controller User s Manual and Data Sheet for details In order to activate the address lines A18 A23 for more than 256 kByte Flash the configuration resistors at data lines D12 and Dil of the module must be pulled to GND level see section 4 System Configuration The address and data bus on the module is not buffered To connect external components to the data addre
51. cated port pins P4 4 CAN2Rx and P4 7 CAN2Tx as well as CANIRx or CANO2Rx These signals extend to the two CAN transceivers at U11 and U12 PCA82C251 alternately 519200 The CAN transceivers generate the corresponding CANHO CANLO CANHI and CANLI signals These signals can be directly connected to a CAN dual wire bus Generation of the CAN signals requires closing the solder Jumpers J16 J17 J18 and J19 Direct access to the CANIRx CANITx CAN2Rx and CAN2Tx signals is also available at the module s X1 pin header row if soldering jumpers J16 J17 J18 and J19 are open This enables use of an external CAN transceiver In order to utilize the full 16 MB linear address space of the microcontroller the CAN interface signals can be optionally routed to port 83 In this case Jumpers J16 J19 must be set at positions 1 2 Please refer to the Infineon C167 User s Manual Data Sheet for details on the functions and features of controller signals and port pins Note If the C167CR controller populates the phyCORE module using the CAN interface reduces the available address space to 1 MB for each CS signal l The C167CS allows for optional use of various CAN signals on this port Configuration is made using the SFR special function register PCIR When using the on board CAN transceivers we recommend to use the signals as indicated in the table below 2 The second CAN interface is only available with Infineon s C167CS
52. ctor P2A with galvanic separation This configuration requires connection of an external CAN supply voltage of 7 to 13 V The external power supply must be only connected to either P2A or P2B Jumper Setting Description JP31 1 2 Pin 2 of DB 9 plug P2A connected with CAN LO from CAN transceiver U2 on the Development Board JP32 142 Pin 7 of DB 9 plug P2A connected with CAN HO from CAN transceiver U2 on the Development Board 2 3 Input at opto coupler U4 on the Development Board connected to CAN1_Tx P4 6 of the C167CR 167CS 1 2 Input at opto coupler 04 on Development Board connected to CANI Tx P8 12 of the C167CR 167CS JP12 2 3 Output at opto coupler US on the Development Board connected to CANI Rx P4 53 of the C167CR 167CS 1 2 Output at opto coupler US on the Development Board connected to CANI Rx P8 04 of the C167CR 167CS JP13 142 Supply voltage for CAN transceiver and opto coupler on the Development Board derived from external source CAN bus via on board voltage regulator JP18 open CAN transceiver and opto coupler on the Development Board disconnected from local GND potential JP29 closed Supply voltage for on board voltage regulator from pin 9 of DB 9 plug P2A Table 39 Jumper Configuration for CAN Plug P2A using the CAN Transceiver A opo on the Development Board with Galvanic Separation Port P4 6 is the default port for Tx standard Port P8 1 is th
53. d enables connection of an optional modem power supply Connector X4 supplies 5 V at pin 1 and provides the phyCORE Development Board HD200 GND potential at pin 2 The maximum current draw depends on the power adapter used We recommend the use of modems with less than 250 mA current draw Me technik GmbH 2002 L 527e 8 91 phyCORE 167CR 167CS 92 PHYTEC Me technik GmbH 2002 L 527e 8 debugCORE 167CR 167CS 15 debugCORE 167CR 167CS The debugCORE 167CR 167CS is a special debugging version Single Board Computer SBC module which is 100 function compatible with the phyCORE 167CR 167CS As opposed to the phyCORE 167CR 167CS which was developed for use in OEM applications the debugCORE 167CR 167CS is used for simple and efficient error detection and debugging using a hardware emulator To support its debugging function the debugCORE 167CR 167CS provides all required connectors for emulator connectivity and is equipped with LEDs for displaying the operating state Since the debugCORE is 100 function compatible with the phyCORE 167CR 167CS it can easily be inserted directly into the application in place of the phyCORE 167CR 167CS for the purpose of hardware debugging see Figure 27 15 1 Components of the debugCORE As described previously the debugCORE 167CR 167CS represents a superset and expansion of the phyCORE 167CR 167CS The following components have been added for simple debugging e tw
54. dapter 2 and serial interfaces 3 of the SBC module at DB 9 connectors depending on the module up to two RS 232 interfaces and up to two RS 485 or CAN interfaces e All of the signals from the SBC module mounted on the Development Board extend to two mating receptacle connectors A strict 1 1 signal assignment is consequently maintained from the phyCORE connectors on the module to these expansion con nectors Accordingly the pin assignment of the expansion bus 4 depends entirely on the pinout of the SBC module mounted on the Development Board PHYTEC Me technik GmbH 2002 L 527e 8 33 phyCORE 167CR 167CS As the physical layout of the expansion bus is standardized across all applicable PHYTEC Development Boards we are able to offer various expansion boards 5 that attach to the Development Board at the expansion bus connectors These modular expansion boards offer supplemental I O functions 6 as well as peripheral support devices for specific functions offered by the controller populating the SBC module 9 mounted on the Development Board e All controller and on board signals provided by the SBC module mounted on the Development Board are broken out 1 1 to the expansion board by means of its patch field 7 The required connections between SBC module Development Board and the expansion board are made using patch cables 8 included with the expansion board Figure 8 illustrates the modular development platform
55. e target hardware side 41C 43C P5 14 P5 11 I O Port 5 of the microcontroller see corresponding 44C 45C P5 9 5 8 Data Sheet 46C 48C P5 6 P5 3 49C 50C P5 1 P5 0 42C 47C VAGND Analog Ground of the microcontroller 12 PHYTEC Meftechnik GmbH 2002 L 527e 8 Pin Description Pin Number Signal T O Description Pin Row X1D 1D 2D VCC Voltage input 5 V 3D 9D 14D 19D GND Ground 0 V 24D 29D 34D 4D 5D VPP Programming voltage for on chip Flash Use only if ST10F168 populates the phyCORE module These contacts should remain unconnected on the target hardware side when using the C167CR or C167CS 6D VPD Output of back up voltage supply for buffering of external components 7D PFI I MAX 690 power fail input If this input is unused it must be connected to VCC or GND 8D WDI I MAX 690 Watchdog input 10D RESET I RESET input of the phyCORE 167CR 167CS 11D 12D P2 0 P2 1 Port 2 of the microcontroller see corresponding 13D 15D 2 3 P2 6 Data Sheet 16D P3 1I RxDO I Input of the first serial interface TTL level 17D P3 10 TxDO Output of the first serial interface TTL level 18D CANALI Differential CANL line of the 2nd CAN transceiver 20D CAN LO I O Differential CANL line of the 1st CAN transceiver 21D Differential CANH line of the first CAN transceiver 22D RxDO RS232 I Input
56. e CAN bus transceiver devices support signal conversion of the CAN transmit CANTx and receive CANRx lines The CAN transceiver supports up to 110 nodes on a single CAN bus Data transmission occurs with differential signals between CANH and CANL A Ground connection between nodes on a CAN bus is not required yet is recommended to better protect the network from electromagnetic interference EMI In order to ensure proper message transmission via the CAN bus a 120 Ohm termination resistor must be connected to each end of the CAN bus For larger CAN bus systems an external opto coupler should be implemented to galvanically separate the CAN transceiver and the phyCORE 167CR 167CS This requires the CANTx and CANRx lines to be separated from the on board CAN transceivers by opening Jumpers J16 J17 J18 and J19 For connection of the CANTx and CANRx lines to an external transceiver we recommend using a Hewlett Packard HCPLO6xx or a Toshiba TLP113 HCPLO6xx fast opto coupler Parameters for configuring a proper CAN bus system can be found in the DS102 norms from the CAN in Automation User and Manufacturer s Interest Group Note If the C167CR controller populates the phyCORE module using the CAN interface reduces the available address space to 1 MB for each CS signal l CiA CAN in Automation Founded in March 1992 CiA provides technical product and marketing information with the aim of fostering Controller Area Network s image
57. e SRAM must be connected to address line A18 of the microcontroller This is done by setting Jumper Jl to position 1 2 Please note that a virtual 16 bit SRAM memory bus width is achieved by using two parallel 8 bit SRAM devices Address AO of the microcontroller enables internal selection of the memory components and is used for generation of the appropriate write signals WRL and WRH The following configurations are possible SRAM Configuration J1 2 x 128 kByte SRAM 2 535 2 x 512 kByte SRAM 1 2 71 Default setting Table 3 JI SRAM Capacity Configuration PHYTEC Me technik GmbH 2002 L 527e 8 19 phyCORE 167CR 167CS 3 2 J2 Internal or External Program Memory At the time of delivery Jumper J2 is closed at 243 This default configuration means that the program stored in the external program memory is executed after a hardware reset In order to allow the execution of a specific controllers internal program memory Jumper J2 must be closed at 142 The following configurations are possible Code Fetch Selection J2 Execution from external program memory 23 31 Execution from internal program memory 1 2 Default setting Table 4 J2 Code Fetch Selection 3 3 J3 Flash Addressing Jumper J3 connects the controller s address line A20 with the address line A19 on the Flash device Ul If using a Flash memory with a capacity of less than 2 MB Jumper J3 must remain open in
58. e alternative port for CANI Tx see Controller User s Manual Data Sheet Port P4 5 is the default port for CANI Rx standard Port P8 0 is the alternative port for CANI Rx see Controller User s Manual Data Sheet PHYTEC Me technik GmbH 2002 L 527e 8 75 phyCORE 167CR 167CS eNO Q A tA OV J oo o Pin 9 Pin 3 Pin 7 Pin 2 Pin 6 VCAN VCAN CAN HO galvanically separated CAN LO galvanically separated VCAN Figure 19 Pin Assignment of the DB 9 Plug P2A CAN Transceiver on Development Board with Galvanic Separation Caution When using the DB 9 plug P2A as CAN interface and the CAN transceiver on the Development Board with galvanic separation the following jumper settings are not functional and could damage the module Jumper Setting Description JP31 Pin 2 of DB 9 plug P2A connected with CAN LO from on board transceiver on the phyCORE 167CR 167CS JP32 D3 Pin 7 of DB 9 plug P2A connected with CAN HO from on board transceiver on the phyCORE 167CR 167CS JP11 open Input at opto coupler U4 on the Development Board not connected JP12 open Output at opto coupler U5 on the Development Board not connected JP13 2 3 Supply voltage for CAN transceiver and opto coupler derived from local supply circuitry on the phyCORE Development Board HD200 JP18 closed CAN transceiver and opto coupler on the Development Board connected with local GND potential JP29 open N
59. ectly to plug P2A Jumper Setting Description JP31 2 3 Pin 2 of the DB 9 plug P2A is connected to CAN LO from on board transceiver on the phyCORE module JP32 2 43 Pin 7 of the DB 9 plug P2A is connected to CAN HO from on board transceiver on the phyCORE module JP11 open Input at opto coupler U4 on the phyCORE Development Board HD200 open JP12 open Output at opto coupler U5 on the phyCORE Development Board HD200 open JP13 open No supply voltage to CAN transceiver and opto coupler on the phyCORE Development Board HD200 JP18 open No GND potential at CAN transceiver and opto coupler on the phyCORE Development Board HD200 JP29 open No power supply via CAN bus Table 36 Jumper Configuration for CAN Plug P2A using the CAN Transceiver on the phy CORE 167CR 167CS Pin 3 GND Development Board Ground Pin 7 CAN HO not galvanically separated Pin 2 CAN LO not galvanically separated Pin 6 GND Development Board Ground ea N wo A tA OV I CO o Figure 17 Pin Assignment of the DB 9 Plug P2A CAN Transceiver on phyCORE 167CR 167CS Front View 72 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board 2 The CAN transceiver populating the phyCORE 167CR 167CS is disabled CAN signals generated by the CAN transceiver U2 on the Development Board extending to connector P2A without galvanic seperation J
60. ers For configuration purposes the phyCORE 167CR 167CS has 24 solder jumpers some of which have been installed prior to delivery Figure 4 illustrates the numbering of the jumper pads while Figure 5 indicates the location of the jumpers on the board On the phyCORE 167CR 167CS only Jumpers J1 J20 and J23 are located on the top side of the circuit board ON 1 3 0 4 e g J20 e g Jl 2 e g J3 J4 Figure 4 Numbering of the Jumper Pads 123 E O LLI O Nn c Eni Jt a BE J2 24 Figure 5 Location of the Jumpers Component Side Soldering Side PHYTEC Me technik GmbH 2002 L 527e 8 15 phyCORE 167CR 167CS The jumpers J solder jumper have the following functions Default Setting Alternative Setting Ji 2 3 VCC at pin 30 of the 1 2 18 at pin 30 of RAM RAM for RAM lt 512 kByte for RAM gt 512 kByte J2 2433 external ROM Flash 1 2 internal ROM Flash active EPROM is active J3 closed Port P4 4 A20 can be closed Address line A20 for configured as CANI external Flash receive line closed VAREF derived from open VAREF from external supply voltage VCC voltage source via pin X1D50 5 closed VAGND derived from open VAREF from external digital ground GND ground via pins X1C42 X1C47 X1D39 X1D44 and X1D49 J6 open 6 Oscillator 1 2 167
61. es opening of the corresponding jumpers The following configurations are possible PC Bus Configuration J10 J9 Port P3 3 used as I O pin at X1A46 open Port P3 3 used as PC SDA closed Port P3 4 used as I O pin at X1B46 open Port P3 4 used as PC SCL closed Default setting Table 9 J9 JIO PC Bus Configuration Me technik GmbH 2002 L 527e 8 23 phyCORE 167CR 167CS 3 8 J11 RTC Interrupt Output Jumper J11 determines whether the interrupt output of the RTC U10 is connected to port pin P2 9 of the microcontroller If Jumper J11 remains open P2 9 can be used as a port pin at X1A3 The following configurations are possible Port P2 9 Configuration Jil Port P2 9 as I O pin at X1A3 open Port P2 9 as INT input for RTC closed Default setting Table 10 RTC Interrupt Configuration 3 9 J12 Write Protection of EEPROM FRAM Various types of EEPROM FRAM can populate space U9 Some of these devices provide a write protection function Closing Jumper J12 connects pin 7 of the serial EEPROM FRAM with VCC and thus activates write protection The following configurations are possible Write Protection EEPROM FRAM J12 Write protection of EEPROM FRAM open deactivated Write protection of EEPROM FRAM closed activated Default setting Table 11 JI2 Write Protection of EEPROM FRAM 24 PHYTEC Me technik GmbH 2002 L 527e 8
62. eset low byte BitL7 L6 L5 14 L3 L2 L1 Bit LO BUSTYP SMOD ADP EMU R22 R21 1 Pin21B 0 Pin20B Pin 20 Pin 19A Pin 18B Table 18 Functional Settings on Port PO for System Startup Configuration In order to ensure proper functioning of the microcontroller reserved pins must remain at high level logical 1 Configuration on these pins must not be changed 1 register SALSEL must be configured with the values 1 H4 0 H3 On modules with a memory configuration featuring 2 MB Flash memory PCM 009 x3x the 32 PHYTEC Me technik GmbH 2002 L 527e 8 System Configuration The following table provides detailed comments to these system startup functions Name Value Function Comment CLKCFG Dos CPU clock ext clock 4 defines CPU clock 110 CPU clock ext clock 101 CPU clock ext clock 2 100 CPU clock ext clock 5 011 CPUclock ext clock 1 010 CPU clock ext clock 1 5 00 1 CPU clock ext clock 0 5 0 00 CPU clock ext clock 2 5 SALSEL address lines A16 A17 defines function of I O pins P4 2 P4 7 port pins P4 0 P4 7 1 023 address lines A16 A23 no I O pins I O pins P4 0 P4 7 pins P4 4 P4 7 defines function of no I O pins port pins P6 0 P6 4 pins P6 0 P6 4 pins P6 2 P6 4 eee pins P6 3 P6 4 WRC and BHE defines function of 0 WRL and WRH pins
63. f the controller s memory areas given the standard memory devices populating the phyCORE 167CR 167CS These examples match the needs of most standard applications l SR System Time external circuitry must meet this timing criteria 2 Controller Characteristic the controller ensures this time for external peripheral circuitry 36 PHYTEC Me technik GmbH 2002 L 527e 8 Memory Models Example a ADDRESEL1 ADDRESEL2 ADDRESEL3 ADDRESEL4 BUSCONO BUSCONI BUSCON2 BUSCON3 BUSCON4 BUSCONO 2 BUSCON3 4 Example b ADDRESEL I ADDRESEL2 ADDRESEL3 ADDRESEL4 BUSCONO BUSCONI BUSCON2 BUSCON3 BUSCON4 BUSCONO 2 BUSCON3 4 0406h address range 04 0000h 07 FFFFh 256 kByte RAM bank on U2 U3 0800h address range 08 0000h 08 0FFFh 4 KByte address space for ext UART 0816h address range 08 1000h OC FFFFh 256 kByte free I O area 0C16h address range 0C 1000h 10 0FFFh 256 kByte free I O area O4AFh bus active for CSO Flash bank U1 04AFh bus active for CS1 RAM bank 02 3 042Fh bus active for CS2 ext UART O68Fh bus active for CS3 free I O 068Ch bus active for CS4 free I O for all 55 ns memory devices 0 wait states read write delay no tristate short ALE 16 bit demultiplexed for free I O area 3 wait states read write delay tristate wait 300 ns long ALE 16 bit demultiplexed 0006h address range 00 0000h 03 F
64. f this Bootstrap Loader and the corresponding FlashTools software installed on the PC allows for Flash programming with application code via an RS 232 interface The Bootstrap Loader is also used by other third party toolpartner software such as the Monitor166 from Keil or CrossView Pro ROM monitor from Altium for debugging functions In order to start the on chip Bootstrap Loader on the phyCORE 167CR 167CS the data line D4 of the microcontroller must be connected to a low level signal at the time the Reset signal changes from its active to the inactive state This is achieved by applying high level signal at pin XIC9 of the phyCORE 167CR 167CS as the Boot input is high active The phyCORE Development Board HD200 provides three different options to activate the on chip Bootstrap Loader The Boot button S1 can be connected to VCC via Jumper JP28 which is located next the the Boot and Reset buttons at 51 and 52 This configuration enables start up of the on chip Bootstrap Loader if the Boot button is pressed during a hardware reset or power on Jumper Setting Description JP28 648 Boot button in conjunction with Reset button or and connection of the power supply starts the Bootstrap 3 4 Loader on the C167CR C167CS Table 25 28 Configuration of the Boot Button Me technik GmbH 2002 L 527e 8 63 phyCORE 167CR 167CS 2 The Boot input of the phyCORE 167CR 167CS can also be permanent
65. g 3 6 J7 J8 Use of the External UART An optional UART can populate the phyCORE 167CR 167CS at U7 This configuration allows use of a second serial interface The controller signal CS2 activates the external UART Similar to the C167CR C167CS on chip UART serial communication via the external UART can be controlled by an interrupt In this case the external interrupt 0 at port P2 8 is used Jumpers J7 and J8 are used to connect CS2 and port P2 8 EXOIN to the corresponding pins on the external UART 22 PHYTEC Me technik GmbH 2002 L 527e 8 Jumpers The following configurations are possible Port P2 8 J7 P2 8 of the microcontroller is freely available as open standard I O at phyCORE connector pin X1B2 IRQ of the UART connects to the microcontroller at closed pin P2 8 Chip Select CS2 J8 CS2 of the microcontroller is freely available at open phyCORE connector pin X1B6 CS2 of the microcontroller connects to the external closed UART Default setting Table 8 J7 78 Control Signals for Optional External UART 3 7 9 10 Configuration of P3 3 P3 4 for PC Bus The phyCORE 167CR 167CS is equipped with a Real Time Clock at U10 and a serial EEPROM FRAM at U9 Both the Real Time Clock and the serial EEPROM FRAM are accessed by means of an PC interface With Jumpers J9 and J10 this interface can be connected to port pins P3 3 and P3 4 Use of these pins as standard I O lines requir
66. g generates low level on Boot input of the phyCORE 167CR 167CS Table 28 Improper Jumper Settings for Boot via RS 232 64 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board 14 3 3 First Serial Interface at Socket P1A Socket PIA is the lower socket of the double DB 9 connector at is connected via jumpers to the first serial interface of the phyCORE 167CR 167CS When connected to a host PC the phyCORE 167CR 167CS can be rendered in Bootstrap mode via signals applied to the socket P1A refer to section 14 3 2 Jumper Setting Description JP20 closed Pin 2 of DB 9 socket P1A connected with RS 232 interface signal TxDO of the phyCORE 167CR 167CS JP21 open Pin 9 of DB 9 socket P1A not connected JP22 open Pin 7 of DB 9 socket P1A not connected 2 32 Reset input of the module can be controlled via RTS signal from a host PC JP23 open Pin 4 of DB 9 socket P1A not connected 2 32 Boot input of module can be controlled via DTR signal from a host PC Note JP10 must be set to position 2 3 JP24 open Pin 6 of DB 9 socket P1A not connected JP25 open Pin 8 of DB 9 socket P1A not connected JP26 open Pin 1 of DB 9 socket P1A not connected JP27 closed Pin 3 of DB 9 socket P1A connected with RS 232 interface signal RxDO from the phyCORE 167CR 167CS Table 29 Jumper Configuration for the First RS 232 Interface 1
67. in the entire address space and remains active for all areas not assigned to another Chip Select signal By configuring the memory cycle wait state Tc 50 ns and the read write delay it is possible to use memory devices with access times up to 100 ns at a bus cycle time of 150 ns To run the controller without wait state memory devices with 55 ns access time must be installed In this case the bus cycle time is 100 ns The read write delay should be always active refer to the C167CR C167CS User s Manual for more information PHYTEC Me technik GmbH 2002 L 527e 8 35 phyCORE 167CR 167CS The following paragraph contains important information on timing characteristics All information refers to C167CR C167CS controller with a 16 bit bus demultiplexed at 20 MHz CPU clock time F Tc 50 ns wait state control MCTC in BUSCON Tf 50 ns tristate control MTTC in BUSCON addresses stable until data valid 70 05 SR RD low until data valid max 55ns4 Tc SR RD low until data valid rd wr delay max 30ns Tc SR RD high until databus high Z 15ns Tf SR RD high until data high Z rd wr delay max 35ns Tf SR CSx until data valid max 55ns Tc SR RD and WR low min 65 ns CC RD and WR low rd wr delay 40 CC data valid until WR high 25 ns CC WR high until data invalid min 15ns Tf CC The following examples contain two configurations o
68. ly connected to VCC via a pull up resistor This pulls the data line D4 to low level via an on board circuitry which then starts the Bootstrap Loader This spares pushing the Boot button during a hardware reset or power on Caution In this configuration a regular reset hence normal start of your application is not possible The Bootstrap Loader is started every time This is useful when using an emulator Jumper Setting Description JP28 4 6 Boot input connected permanently with VCC via pull up resistor The Bootstrap Loader is always started with Reset button or with connection of the power supply Table 26 28 Configuration of a Permanent Bootstrap Loader Start 3 It is also possible to start the FlashTools via external signals applied to the DB 9 socket P1A This requires control of the signal transition on the Reset line via pin 7 while a static high level is applied to pin 4 for the Boot signal Jumper Setting Description JP22 2 3 Pin 7 CTS of the DB 9 socket P1A as Reset signal for the phyCORE 167CR 167CS JP23 2 3 Pin 4 DSR of the DB 9 socket P1A as Boot signal for the phyCORE 167CR 167CS JP10 243 High level Boot signal connected with the Boot input of the phyCORE 167CR 167CS Table 27 22 JP23 JP10 Configuration of Boot via RS 232 Caution When using this function the following jumper setting is not allowed Jumper Setting Description JP10 1 2 Jumper settin
69. nik GmbH 2002 L 527e 8 69 phyCORE 167CR 167CS 3 The phyCORE 167CR 167CS is NOT populated with the optional UART at U7 standard PCM 009 Cx however serial interface emulation with port pins P3 0 and P3 1 is used Jumper Setting Description closed Port P3 0 of the C167Cx emulates TxD1 signal which extends via jumpers to RS 232 transceiver U6 on the phyCORE 167CR 167CS connects to pin 2 at PIB JP2 open Pin 9 of DB 9 socket P1B not connected JP3 open Pin 7 of DB 9 socket P1B not connected JP4 open Pin 4 of DB 9 socket P1B not connected JP5 open Pin 6 of DB 9 socket P1B not connected JP6 open Pin 8 of DB 9 socket P1B not connected JP7 open Pin 1 of DB 9 socket P1B not connected JP8 closed Port pin P3 1 of the C167Cx emulates TxD1 signal which extends via jumpers to RS 232 transceiver U6 on the phyCORE 167CR 167CS connects to pin 3 at PIB Table 34 Jumper Configuration of the DB 9 Socket P1B 24 RS 232 via Software Emulation Pin 2 emulated TxD1 signal using port 3 0 Pin 3 emulated RxD1 signal using port 3 1 BW N e Pin 5 GND Figure l6 Pin Assignment of the DB 9 Socket P1B as Emulated RS 232 Front View l Serial interface emulation requires special software drivers which are usually included in the corresponding development tools such as Debugger Monitor programs etc 70 PHYTEC MeBtechnik GmbH 2002 L 527e 8 The phyCORE 167CR
70. ns off when writing a high level to P2 0 Jumper Setting Description JP17 closed Port pin P2 0 GPIOO of the C167CR C167CS controller controls LED D3 on the Development Board Table 46 JP17 Configuration of the Programmable LED D3 14 3 8 Pin Assignment Summary of the phyCORE the Expansion Bus and the Patch Field As described section 14 1 all signals the phyCORE 167CR 167CS extend in a strict 1 1 assignment to the Expansion Bus connector X2 on the Development Board These signals in turn are routed in a similar manner to the patch field on an optional expansion board that mounts to the Development Board at X2 Please note that depending on the design and size of the expansion board only a portion of the entire patch field is utilized under certain circumstances When this is the case certain signals described in the following section will not be available on the expansion board However the pin assignment scheme remains consistent A two dimensional numbering matrix similar to the one used for the pin layout of the phyCORE connector is provided to identify signals on the Expansion Bus connector X2 on the Development Board as well as the patch field 82 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board However the numbering scheme for Expansion Bus connector and patch field matrices differs from that of the phyCORE connector as shown
71. nsceiver on the Development 73 Improper Jumper Settings for the CAN Plug P2A CAN Transceiver on the Development Board 74 Jumper Configuration for CAN Plug P2A using the CAN Transceiver on the Development Board with Galvanic Separation saras M ted det e eM QU eet 75 Improper Jumper Settings for the CAN Plug P2A CAN Transceiver on Development Board with OC 76 Jumper Configuration for CAN Plug P2B using the CAN Transceiver on the phyCORE 167CS 77 Jumper Configuration for CAN Plug P2B using the Transceiver on the phyCORE 167CS 78 PHYTEC Me technik GmbH 2002 L 527e 8 Contents Table 43 Table 44 Table 45 Table 46 Table 47 Table 48 Table 49 Table 50 Table 51 Table 52 Table 53 Table 54 Table 55 Table 56 Table 57 Improper Jumper Settings for the CAN Plug P2B CAN Transceiver on the Development Board only with C167CS 79 Jumper Configuration for CAN Plug P2A using the CAN Transceiver on the Development Board with Galvanic Separation only with 67 5 000 80 Improper Jumper Settings for the CAN Plug P2B CAN Transceiver on Development Board with Galvanic 81 JP17 Configuration
72. nsist of more than one physical socketed connector The location of row 1 on the board is marked by a white triangle on the PCB to allow easy identification 8 PHYTEC Me technik GmbH 2002 L 527e 8 Pin Description The following figure Figure 3 illustrates the numbered matrix system It shows a phyCORE 167CR 167CS with SMT phyCORE connectors on its underside defined as dotted lines mounted on a Development Board In order to facilitate understanding of the pin assignment scheme the diagram presents a crossview of the phyCORE module showing these phyCORE connectors mounted on the underside of the module s PCB Figure 3 Pinout of the phyCORE connector Top View with Cross Section Insert Many of the controller port pins accessible at the connectors along the edges of the board have been assigned alternate functions that can be activated via software PHYTEC Me technik GmbH 2002 L 527e 8 9 phyCORE 167CR 167CS Table 1 provides an overview of the pinout of the phyCORE connector as well as descriptions of possible alternative functions Please refer to the Infineon CI67Cx User s Manual Data Sheet for details on the functions and features of controller signals and port pins Pin Number Signal Description Pin Row X1A 1A CLKIN I Optional external clock generator 2A 7A 12 17A GND Ground 0 V 22A
73. nt Board HD200 GND potential This makes a separate supply with an alternative VAGND potential impossible Jumper J5 on the phyCORE 167CR 167CS is therefore without function when the module is mounted on a Development Board HD200 Free definition of the VAGND potential is however available in a customer application board 14 3 Functional Components on the phyCORE Development Board HD200 This section describes the functional components of the phyCORE Development Board HD200 supported by the phyCORE 167CR 167CS and appropriate jumper settings to activate these components Depending on the specific configuration of the phyCORE 167CR 167CS module alternative jumper settings can be used These jumper settings are different from the factory default settings as shown in Figure 12 and enable alternative or additional functions on the phyCORE Development Board HD200 depending on user needs 60 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board 14 3 1 Power Supply at X1 Caution Do not use a laboratory adapter to supply power to the Development Board Power spikes during power on could destroy the phyCORE module mounted on the Development Board Do not change modules or jumper settings while the Development Board is supplied with power Permissible input voltage 5 VDC regulated The required current load capacity of the power supply depends on the specific configuration of the phyCOR
74. o 80 pole SMD connectors X2 through which all necessary controller signals extend and to which the debugADAPTER 167 is attached e areset button S1 e pin header row X3 with silk screened designator for easy access to voltage levels and e two LEDs D3 D4 for status display PHYTEC Me technik GmbH 2002 L 527e 8 93 phyCORE 167CR 167CS The following figure shows the positions of the additional components Figure 27 Positions of the Additional Components on the debugCORE 167CR 167CS The pin header row X3 provides a simple method of accessing the supply voltage of the debugCORE 167CR 167CS and its reset signal for the purpose of measurement The following table shows the pin layout Pin Signal 1 VCC 2 GND 3 RESET Table 56 Pinout Pin Header Row on the debugCORE 167CR 167CS Two LEDs D3 and D4 are provided for status display of the debugCORE 167CR 167CS LED D3 shows whether the controller is in Adapt Mode or not in other words whether an emulation is in progress LED D4 shows whether the EINIT end of initialization instruction was carried out 94 PHYTEC Me technik GmbH 2002 L 527e 8 debugCORE 167CR 167CS 15 2 debugADAPTER 167 The debugADAPTER 167 is required to allow easy connection of the debugCORE 167CR 167CS to an Emulator The debugADAPTER 167 is inserted into the SMD socket at X2 on the debugCORE The debugADAPTER 167 features a Quad Connect
75. o power supply via CAN bus Table 41 Jumper Configuration for CAN Plug P2B using the CAN Transceiver on the phyCORE 167CS Pin 3 GND Development Board Ground Pin 7 CAN HO not galvanically separated Pin 2 CAN LO not galvanically separated Pin 6 GND Development Board Ground eae N wo A tA Ov CO Figure 20 Pin Assignment of the DB 9 Plug P2B CAN Transceiver on phyCORE 167CS only with C167CS PHYTEC Me technik GmbH 2002 L 527e 8 771 phyCORE 167CR 167CS 2 The CAN transceiver populating the phyCORE 167CS is disabled CAN signals generated by the CAN transceiver U3 on the Development Board extending to connector P2B without galvanic seperation Jumper Setting Description JP33 244 Pin 2 of the DB 9 plug P2B is connected to CAN L1 from on board transceiver on the phyCORE module JP34 2 3 Pin 7 of the DB 9 plug P2B is connected to CAN H1 from on board transceiver on the phyCORE module JP14 2 3 Input at opto coupler U6 on the Development Board connected to CAN2_Tx P4 7 of the C167CS 142 Input at opto coupler U6 on the Development Board connected to CAN2 Tx P8 32 of the C167CS JP15 2 3 Output at opto coupler U7 on the Development Board connected to CAN2_Rx P4 43 of the C67CS 142 Output at opto coupler U7 on the Development Board connected to CAN2 Rx P8 24 of the C167CS JP13 open CAN transceiver and opto coupler on the Development Board disconnected fr
76. o power supply via CAN bus Table 40 Improper Jumper Settings for the CAN Plug P2A CAN Transceiver on Development Board with Galvanic Separation 76 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board 14 3 6 Second CAN Interface at Plug P2B Plug P2B is the upper plug of the double DB 9 connector at P2 P2b is connected to the second CAN interface CANI of the phyCORE 167CS via jumpers This option is only available if the phyCORE module is populated with the Infineon C167CS order option PCM 009 C1 Depending on the configuration of the CAN transceivers and their power supply the following three configurations are possible 1 CAN transceiver populating the phyCORE 167CS is enabled and the CAN signals from the module extend directly to plug P2B Jumper Setting Description JP33 2 4 Pin 2 of the DB 9 plug P2B is connected to CAN L1 from on board transceiver on the phyCORE module JP34 243 Pin 7 of the DB 9 plug P2B is connected to CAN H1 from on board transceiver on the phyCORE module JP14 open Input at opto coupler U6 on the phyCORE Development Board HD200 open JP15 open Output at opto coupler U7 on the phyCORE Development Board HD200 open JP13 open CAN transceiver and opto coupler on the Development Board disconnected from supply voltage JP18 open No GND potential at CAN transceiver and opto coupler on the phyCORE Development Board HD200 JP29 open N
77. of Programmable LED D23 82 Pin Assignment Data Address Bus for the phyCORE 167CR 167CS Development Board IExpatiston BOSE conet ve perte 84 Pin Assignment Port P2 P3 P4 for the phyCORE 167CR 167CS Development Board Expansion Board spat moneda Dp idt apaa Nga 85 Pin Assignment Port P5 P6 P7 P8 for the phyCORE 167CR 167CS Development Board Expa nsion DOSE acoso 86 Pin Assignment Interface Signals for the phyCORE 167CR 167CS Development Board Expansion BOSE suce d Fab NOR a 87 Pin Assignment Control Signals for the phyCORE 167CR 167CS Development Board Exp nsion BOSE set a eh tn s e E 87 Pin Assignment Power Supply for the phyCORE 167CR 167CS Development Board Bbxpansiob Board a setenta t EE Hear 88 Unused Pins on the phyCORE 167CR 167CS Development Board Expansion Board 89 JP28 Releasing the NMI 90 JP19 Jumper Configuration for Silicon Serial Number Chip 90 Pinout Pin Header Row X3 on the debue C ORE 2167 CRING ICS i cesset rq ricos reete 94 Connector Layout of the of the Quad Connector X6 97 PHYTEC Me technik GmbH 2002 L 527e 8 phyCORE 167CR 167CS PHYTEC Me technik GmbH 2002 L 527e 8 Preface Preface This phyCO
78. om supply voltage JP18 open No GND potential at CAN transceiver and opto coupler on the phyCORE Development Board HD200 JP29 open No power supply via CAN bus Table 42 Jumper Configuration for CAN Plug P2B using the CAN Transceiver on the phyCORE 167CS Pin 3 GND Development Board Ground Pin 7 CAN HO not galvanically separated Pin 2 CAN LO not galvanically separated Pin 6 GND Development Board Ground ea N wo A tA OV I CO o Figure 21 Pin Assignment of the DB 9 Plug P2B CAN Transceiver on Development Board only with CI67CS Port P4 7 is the default port for CAN2_Tx standard Port P8 3 is the alternative port for CAN2_Tx see C167CS User s Manual Data Sheet Port P4 4 is the default port for CAN2_Rx standard Port P8 2 is the alternative port for CAN2 Rx see CI67CS User s Manual Data Sheet Bec 78 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board Caution When using the DB 9 connector P2B as second CAN interface and the CAN transceiver on the Development Board the following jumper settings are not functional and could damage the module Jumper Setting Description JP30 closed Pin 8 at P2B is connected with TxD1_RS232 from the phyCORE 167CS JP33 1 2 Pin 2 at P2B is connected with P2 5 from the phyCORE 167CS 2 4 Pin 2 at P2B is connected with CAN 11 from the on board CAN transceiver on the phyCORE 167CS JP
79. oot Button 63 PHYTEC Me technik GmbH 2002 L 527e 8 phyCORE 167CR 167CS Table 26 Table 27 Table 28 Table 29 Table 30 Table 31 Table 32 Table 33 Table 34 Table 35 Table 36 Table 37 Table 38 Table 39 Table 40 Table 41 Table 42 JP28 Configuration of a Permanent Bootstrap Loader Start 64 JP22 JP23 JP10 Configuration of Boot via RS 232 64 Improper Jumper Settings for Boot via 5 232 64 Jumper Configuration for the First RS 232 Interface 65 Improper Jumper Settings for DB 9 Socket P1A as First RS 232 ae sakadare 66 Jumper Configuration of the DB 9 Socket PIB n second RS 232 d cob pta dtm tet bebes f Dol bod 67 Improper Jumper Settings for DB 9 Socket PIB second RS 232 ies oce cor eter eritis dae cdita co rr del 68 Jumper Configuration of the DB 9 Socket P1B CART S RS D saa ata an naa aaa ag a 69 Jumper Configuration of the DB 9 Socket PIB 24 RS 232 via Software 70 Improper Jumper Settings for DB 9 Socket PIB 274 RS 232 via Software 71 Jumper Configuration for CAN Plug P2A using the CAN Transceiver on the phyCORE 167CR 167CS 72 Jumper Configuration for CAN Plug P2A using the CAN Tra
80. opment Board connected to CAN2 Tx P8 32 of the C167CS JP15 243 Output at opto coupler U7 on the Development Board connected to CAN2 Rx 4 43 of the C167CS 142 Output at opto coupler U7 on the Development Board connected to CAN2 Rx P8 24 of the C167CS JP13 142 Supply voltage for CAN transceiver and opto coupler on the Development Board derived from external source CAN bus via on board voltage regulator JP18 open CAN transceiver and opto coupler on the Development Board disconnected from local GND potential JP29 closed Supply voltage for on board voltage regulator from pin 9 of DB 9 plug P2A Table 44 Jumper Configuration for CAN Plug P2A using the CAN Transceiver on the Development Board with Galvanic Separation only with C167CS l Port P4 7 is the default port for CAN2_Tx standard 2 Port P8 3 is the alternative port for CAN2 Tx see C167CS User s Manual Data Sheet 3 Port P4 4 is the default port for CAN2 Rx standard 4 Port P8 2 is the alternative port for CAN2 Rx see CI67CS User s Manual Data Sheet 80 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board eB N wo A tA OV I CO o Figure 22 Caution Pin 9 Pin 3 Pin 7 Pin 2 Pin 6 VCAN VCAN galvanically separated CAN LI galvanically separated VCAN Pin Assignment of the DB 9 Plug P2B CAN Transceiver on Development Board with Galvanic Separation only with C167CS
81. or which enables direct connection of an Emulator without any additional expansion The debugADAPTER 167 is populated with various jumpers These jumpers however are only relevant during operation on a debugMODUL 164 Me technik GmbH 2002 L 527e 8 95 phyCORE 167CR 167CS 15 2 1 The Quad Connector The quad connector is the safest and most reliable method of connecting the debug hardware to a Hitex or NOHAU Emulator The interface contains all C167CR C167CS processor signals and power pins In addition the quad connector is also the most inexpensive emulator interface solution available on the market Quad Connector X2 A Quad Connector X2 B Pin Signal Signal Pin Pin Signal Signal Pin NC 3 P6 0 P6 1 43 VREF VGND 44 5 45 fesio esi 46 7 P64 HLD P 8 47 P5 12 P5 13 48 9 P67 0 49 esia esis 50 11 P8 0 P8 1 12 51 GND vcc 52 13 ps2 ps3 5 p20 54 15 P8 4 P8 5 16 55 P2 2 P2 3 56 17 8 7 18 57 P2 5 58 19 vcc GND 20 59 P2 6 P2 7 60 21 P7 1 22 61 GND VCC 62 23 P7 2 P7 3 24 63 P2 8 P2 9 64 25 pra prs s 6 16 27 7 6 P7 7 28 67 P2 12 P2 13 68 9 eso esi 130 69 4 5 70 31 5 2 P5 3 32 71 P3 0 P3 1 72 ps4 pss s 73 82 93 74 35 P5 6 5 7 36 75 P34 P3 5 76 37 pss eso 98 7 GND 78 39 NC NC 40 79 NC NC 80 96
82. order option PCM 009 Cx U If the phyCORE 167CR 167CS is purchased with the optional UART a full second RS 232 interface can be made available at DB 9 socket P1B with the jumper settings listed below Jumper Setting Description JP1 closed Pin 2 at P1B is connected with TxD1_RS232 signal open Pin 2 of DB 9 socket P1B not connected JP2 closed Pin 9 at P1B is connected with RII TTL signal from UART U7 open Pin 9 of DB 9 socket P1B not connected JP3 closed Pin 7 at P1B is connected with CTSI RS232 signal open Pin 7 of DB 9 socket P1B not connected JP4 closed Pin 4 at PIB is connected with DSR1_RS232 open Pin 4 of DB 9 socket not connected JP5 closed Pin 6 at PIB is connected with DIRI RS232 open Pin 6 of DB 9 socket P1B not connected JP6 closed Pin 8 at PIB is connected with RTS1_RS232 open Pin 8 of DB 9 socket not connected JP7 closed Pin 1 at PIB is connected with DCD1_RS232 open Pin 1 of DB 9 socket not connected JP8 closed Pin 3 at PIB is connected with RxD1_RS232 open Pin 3 of DB 9 socket not connected Table 33 Jumper Configuration of the DB 9 Socket UART 27 RS 232 1 1 DCDI 6 Pin 6 DTRI 2 2 TxDI 7 Pin 7 CTSI 3 Pin 3 RxD1 8 Pin 8 RTS1 4 Pin 4 DSRI 9 Pin 9 RII 5 Pin 5 GND Figure 15 Pin Assignment of the DB 9 Socket as Second RS 232 UART populated Front View PHYTEC Me tech
83. order to avoid conflict with the second CAN interface If a 2 Flash device populates the phyCORE 167CR 167CS then Jumper J3 must be closed In this case the second CAN interface must be rerouted to and connected at Port P8 in order to avoid conflict with the upper address lines l second CAN interface is only available on the C167CS controller refer to the User s Manual and Data Sheet 2 The feature that reroutes CAN signals to port P8 is only available on the C167CS controller 20 PHYTEC Me technik GmbH 2002 L 527e 8 Jumpers The following configurations are possible Flash Addressing J3 If Flash memory is lt 2 MB then P4 4 is used as a open standard I O or as CANI receive line If Flash memory is gt 2 MB then P4 4 serves as A20 closed for addressing the Flash CAN receive line must be connected at Port 8 2 Default setting Table 5 J3 Addressing the Flash 3 4 J4 J5 A D Reference Voltage The A D converter on the phyCORE 167CR 167CS requires an upper and lower reference voltage connected at pins 37 and 38 V AREF Vacnp The reference voltage source can be selected using Jumpers J4 and J5 A D Reference Voltage Source 5 Selection External reference voltage source open open V AREF at X1D50 V AGND at X1D39 X1D44 and X1D49 V arer derived from voltage supply closed VCC V aanp derived from digital ground closed GND potential
84. pairs After a few alternations components can be removed with the solder iron tip Alternatively a hot air gun can be used to heat and loosen the bonds 52 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board 14 The phyCORE 167CR 167CS on the phyCORE Development Board HD200 PHYTEC Development Boards are fully equipped with all mechanical and electrical components necessary for the speedy and secure start up and subsequent communication to and programming of applicable PHYTEC Single Board Computer SBC modules Development Boards are designed for evaluation testing and prototyping of PHYTEC Single Board Computers in labratory environments prior to their use in customer designed applications 14 1 Concept of the phyCORE Development Board HD200 The phyCORE Development Board HD200 provides a flexible development platform enabling quick and easy start up and subsequent programming of the phyCORE 167CR 167CS Single Board Computer module The Development Board design allows easy connection of additional expansion boards featuring various functions that support fast and convenient prototyping and software evaluation This modular development platform concept is depicted in Figure 8 and includes the following components e The actual Development Board 1 which offers all essential components and connectors for start up including a power socket enabling connection to an external power a
85. pmentboard phyCORE 0200 o d X2 ZEE x2 Figure 9 Location of Connectors the phyCORE Development Board HD200 Me technik GmbH 2002 L 527e 8 55 phyCORE 167CR 167CS Please note that all module connections are not to exceed their expressed maximum voltage or current Maximum signal input values are indicated in the corresponding controller User s Manual Data Sheets As damage from improper connections varies according to use and application it is the user s responsibility to take appropriate safety measures to ensure that the module connections are protected from overloading through connected peripherals 56 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board 14 2 2 Jumpers on the phyCORE Development Board HD200 Peripheral components of the phyCORE Development Board HD200 can be connected to the signals of the phyCORE 167CR 167CS by setting the applicable jumpers The Development Board s peripheral components are configured for use with the phyCORE 167CR 167CS by means of insertable jumpers If no jumpers are set no signals connect to the DB 9 connectors the control and display units and the CAN transceivers The Reset input on the phyCORE 167CR 167CS directly connects to the Reset button S2 Figure 10 illustrates the numbering of the jumper pads while Figure 11 indicates the location of the jumpers on the Development Board
86. rt up of the microcontroller The basic characteristics of this IC are described in the appropriate Data Sheet which is available on the Spectrum CD All pins of the Voltage Supervisor Chip are routed to the phyCORE connector The VPD voltage is available on the OUT pin of the Voltage Supervisor Chip In normal operation mode this pin is supplied by VCC via a diode Additionally VBAT is routed via the voltage divider R9 R10 to pin PFI If VBAT 3 3 V a voltage of 1 65 V is available at PFI If the voltage at PFI drops below 1 25 V the signal PFO is released The signals WDI and PFO are available at the phyCORE connector pins X1D7 and X1C8 48 PHYTEC Me technik GmbH 2002 L 527e 8 Technical Specifications 12 Technical Specifications The physical dimensions of the phyCORE 167CR 167CS are represented in Figure 7 The module s profile is ca 6 mm thick with a maximum component height of 2 0 mm on the backside of the PCB and approximately 2 5 mm on the front side The board itself is approximately 1 5 mm thick 53 92 a Tolerance b linfmm 020 0050 Figure 7 Physical Dimensions PHYTEC Me technik GmbH 2002 L 527e 8 49 phyCORE 167CR 167CS Additional specifications Dimensions Weight Storage temperature Operating temperature Humidity Operating voltage Power consumption maximum 220 mA typical 110 mA maximum 100 uA typical 2 uA RAM typ 1 uA Re
87. s based on a two dimensional matrix in which column positions are identified by a letter and row position by a number Pin 1A for example is always located in the upper left hand corner of the matrix The pin numbering values increase moving down on the board Lettering of the pin connector rows progresses alphabetically from left to right refer to Figure 3 PHYTEC Me technik GmbH 2002 L 527e 8 7 phyCORE 167CR 167CS The numbered matrix can aligned with phyCORE 167CR 167CS viewed from above phyCORE connector pointing down or with the socket of the corresponding phyCORE Development Board user target circuitry The upper left hand corner of the numbered matrix pin 1A is thus covered with the corner of the phyCORE 167CR 167CS marked with a white triangle The numbering scheme is always in relation to the PCB as viewed from above even if all connector contacts extend to the bottom of the module The numbering scheme is thus consistent for both the module s phyCORE connector as well as mating connectors on the phyCORE Development Board or target hardware thereby considerably reducing the risk of pin identification errors Since the pins are exactly defined according to the numbered matrix previously described the phyCORE connector is usually assigned a single designator for its position X1 for example In this manner the phyCORE connector comprises a single logical unit regardless of the fact that it could co
88. second RS 232 In this configuration no second serial interface is available PHYTEC Me technik GmbH 2002 L 527e 8 67 phyCORE 167CR 167CS Caution When using the DB 9 socket PIB with the configuration of the phyCORE 167CR 167CS as described above the following jumper settings are not functional and could damage the module Jumper Setting Description JP1 closed No TxD1_RS232 signal available from the phyCORE 167CR 167CS P1B pin 2 JP2 closed No RII TTL signal available from the phyCORE 167CR 167CS P1B pin 9 JP3 closed No CTS1_RS232 signal available from the phyCORE 167CR 167CS P1B pin 7 JP4 closed No DSR1_RS232 signal available from the phyCORE 167CR 167CS P1B pin 4 JP5 closed No DTRI RS232 signal available from the phyCORE 167CR 167CS P1B pin 6 JP6 closed No RTS1_RS232 signal available from the phyCORE 167CR 167CS P1B pin 8 JP7 closed No CD1_RS232 signal available from the phyCORE 167CR 167CS P1B pin 1 JP8 closed No RxD1_RS232 signal available from the phyCORE 167CR 167CS P1B pin 3 Table 32 Improper Jumper Settings for DB 9 Socket P1B no second RS 232 If an RS 232 cable is connected to P1B by mistake the voltage level on the RS 232 lines could destroy the phyCORE 167CR 167CS 68 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board 2 The phyCORE 167CR 167CS is populated with the optional UART at U7
89. slation reprint broadcast photomechanical or similar reproduction and storage or processing in computer systems in whole or in part are reserved No reproduction may occur without the express written consent from PHYTEC Me technik GmbH EUROPE NORTH AMERICA Address PHYTEC Technologie Holding AG PHYTEC America LLC Robert Koch Str 39 203 Parfitt Way SW Suite G100 D 55129 Mainz Bainbridge Island WA 98110 GERMANY USA Ordering 49 800 0749832 1 800 278 9913 Information order phytec de info phytec com Technical 49 6131 9221 31 1 800 278 9913 Support support phytec de support phytec com Fax 49 6131 9221 33 1 206 780 9135 Web Site http www phytec de http www phytec com 8 Edition November 2002 PHYTEC Me technik GmbH 2002 L 527e 8 Contents AE EE iind trado Dra a ana Na Qr Eo E Fe M EI UE 1 MEM ier 3 1 2 Block Dia STAI siya esce naa ere Mes te ERR 6 1 2 View of the 167 167 5 2 6 2 Pin 7 3 JUMIPEnS Dae diei ana GENE ada 15 3 1 J1 UseofPin30onthe RAM eunte eo oed ni eere 19 3 2 J2 Internal or External Program 20 3 3 J3 Flash AGGEeSSlHB o enre ren tene yu be reg eet 20 3 4 J4 5 A D Reference Voltage 21 3 5
90. so refer to section 14 3 2 Jumper Setting Description JP28 748 Boot button 51 can be used to release the NMI 1 3 interrrupt of the C167CR C167CS controller Table 54 28 Releasing the NMI Interrupt 14 3 11 DS2401 Silicon Serial Number Communication to DS2401 Silicon Serial Number be implemented in various software applications for the definition of a node address or as copy protection in networked applications The DS2401 can be soldered on space U10 or U9 on the Development Board depending on the type of device packaging being used The Silicon Serial Number Chip mounted on the phyCORE Development Board HD200 can be connected to port pin P2 1 of the C167CR C167CS available at GPIO1 JP19 closed Description Port pin P2 1 GPIOI of the C167CR C167CS 1s used to access the Silicon Serial Number Table 55 JP19 Jumper Configuration for Silicon Serial Number Chip Jumper JP19 Setting closed 90 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board not connected NUMPORT Port P2 1 JP19 Figure 25 Connecting the DS2401 Silicon Serial Number ph NeET Nummernehip Bottom View Pin Description Pin 1 Ground Pin2 Data Pin 3 No Connect Pin Figure 26 Pin Assignment of the DS2401 Silicon Serial Number 14 3 12 Pin Header Connector X4 The pin header X4 on the Development Boar
91. ss bus as well as the control lines RD WR an external buffer i e 74AHCT245 between the modul and the peripheral components should be installed The data bus DO 15 Port 0 should be connected with a 100 pull up resistor against VCC Furthermore precautions should be taken to allow connection of configuration resistor against GND directly to port 0 pin 0 15 This enables startup of the C167CR C167CS in various configurations since these specific pins are latched during reset see controller User s Manual and section 4 System Configuration The NMI input is connected with a pull up resistor 10 kQ against VCC This enables activation of the NMI signal by means of a high low signal transition This can be realized with a push button switching to GND and is useful during software development if e g a Monitor program is used see Monitor User s Manual 1 This function is only available with Infineon s C167CS microcontroller PHYTEC Me technik GmbH 2002 L 527e 8 51 phyCORE 167CR 167CS Removal of various components such as the microcontroller and the standard quartz is not advisable given the compact nature of the module Should this nonetheless be necessary please ensure that the board as well as surrounding components and sockets remain undamaged while desoldering Overheating the board can cause the solder pads to loosen rendering the module inoperable Carefully heat neighboring connections in
92. stablished by software emulation on port P3 0 and P3 1 with J13 and closed at position 2 3 The RS 232 interface enables connection of the module to a COM port on a host PC In this instance the RxDO line of the transceiver is connected to the TxD line of the COM port while the TxDO line is connected to the RxD line of the COM port The Ground potential of the phyCORE 167CR 167CS circuitry needs to be connected to the applicable Ground pin on the COM port as well The microcontroller s on chip UART does not support handshake signal communication However depending on user needs handshake communication can be software emulated using port pins on the microcontroller Use of an RS 232 signal level in support of hand shake communication requires use of an external RS 232 transceiver not located on the module If the module is populated with a UART device at U7 a supplemental RS 232 transceiver can be mounted at position U5 This latter device enables RS 232 signal conversion of the handshake signals supported by the external UART Note Jumpers 21 and J22 must remain closed on the phyCORE 167CR 167CS If they are open no serial communication is possible hence PHYTEC FlashTools or the BOOT monitor will not function properly PHYTEC Me technik GmbH 2002 L 527e 8 41 phyCORE 167CR 167CS 6 2 CAN Interface The phyCORE 167CR 167CS is designed to house two CAN transceivers at U11 and U12 either PCA82C251 or S19200EY Th
93. t Port P4 5 is the default port for CANI Rx standard Port P8 0 is the alternative port for CANI Rx see Controller User s Manual Data Sheet PHYTEC Me technik GmbH 2002 L 527e 8 73 phyCORE 167CR 167CS Caution When using the DB 9 connector P2A as CAN interface and the CAN transceiver on the Development Board the following jumper settings are not functional and could damage the module Jumper Setting Description JP31 20109 Pin 2 of DB 9 plug P2A connected with CAN LO from on board transceiver on the phyCORE 167CR 167CS JP32 Pin 7 of DB 9 plug P2A connected with CAN HO from on board transceiver on the phyCORE 167CR 167CS JP11 open Input at opto coupler U4 on the Development Board not connected JP12 open Output at opto coupler U5 on the Development Board not connected JP13 52 Supply voltage for CAN transceiver and opto coupler on the Development Board derived from external source CAN bus via on board voltage regulator JP29 closed Supply voltage for on board voltage regulator from pin 9 of DB 9 connector P2A Table 38 Improper Jumper Settings for the CAN Plug P2A CAN Transceiver on the Development Board 74 PHYTEC Me technik GmbH 2002 L 527e 8 The phyCORE 167CR 167CS on the phy CORE Development Board 3 The CAN transceiver populating the phyCORE 167CR 167CS is disabled CAN signals generated by the CAN transceiver U2 on the Development Board extend to conne
94. t field IPC in controller register PCIR to allow proper use of the CAN interface refer to the microcontroller User s Manual and Data Sheet for further information 2 The second CAN interface is only available with Infineon s C167CS controller 5 This feature is under development and not available at this time PHYTEC Me technik GmbH 2002 L 527e 8 27 phyCORE 167CR 167CS 3 14 J21 J22 Serial Interface Jumper J21 and J22 connect the signals of the first asynchronous serial interface to the on board RS 232 transceiver U6 The interface signals are then available with RS 232 level the phyCORE connector pins X1D22 0 and X1D23 TxDO If the jumpers are opened the applicable controller pins P3 10 and P3 11 can be used with their alternative functions or the serial interface signals are available with their TTL level at phyCORE connector pins X1D17 and X1D16 Note These jumpers must remain closed on the phyCORE 167CR 167CS If they are open no serial communication is possible hence PHY TEC FlashTools or the BOOT monitor will not function properly If the jumpers are closed we recommend not to use the interface signals with their TTL level as this will cause damage to the on board components Signal Quality J21 J22 and RxDO carry RS 232 level closed closed P3 10 and P3 11 available as I O pin open open or TxD0 and RxDO interface signals with TTL level Default setting
95. t pin header row X1A3 J12 open deactivates write closed optional write protection protection of the of the EEPROM FRAM EEPROM FRAM memory device is memory device activated see Data Sheet J13 1 2 RS 232 transceiver TxD 2 3 RS 232 transceiver of the second serial TxD for the second interface connected to serial interface connected P3 0 of the controller to UART dependens on module configuration 1 2 RS 232 transceiver RxD 2 3 RS 232 transceiver of the second serial RxD for the second interface connected to serial interface connected P3 1 of the controller to UART dependens on module configuration 15 2 3 address of the serial 1 2 address of the serial memory device at U9 set memory device set to to OxAS hex see Data Ox AC hex see Data Sheet of memory device Sheet of memory device J16 2 3 CANO transmit line 1 2 transmit line CANTx of the CAN CANTx of the CAN transceiver at U11 transceiver at U11 connected to P4 6 A22 connected to P8 1 of the of the microcontroller microcontroller see see controller Data controller Data Sheet Sheet J17 2 3 CANO receive line 1 2 CANO receive line CANRx of the CAN CANRx of the CAN transceiver at U11 con nected to Port P4 5 A21 of the microcontroller see controller Data Sheet transceiver at U11 con nected to P8 0 of the microcontroller see controller Data Sheet Note If the C167CR controller popula
96. tes the phyCORE module using the CAN interface reduces the available address space to 1 MB for each CS signal 2 Use of port P8 as CAN interface is only possible with Infineon C167CS microcontroller PHYTEC Me technik GmbH 2002 L 527e 8 17 phyCORE 167CR 167CS Default Setting Alternative Setting J18 2 3 CANI transmit line 1 2 CANI transmit line CANTx of the CAN CANTx of the CAN transceiver at U12 transceiver at U12 connected to Port 4 7 connected to P8 3 of the A23 of the controller microcontroller see see uC Data Sheet controller Data Sheet J19 2 3 CANI receive line 1 2 CANI receive line CANRx of the CAN CANRx of the CAN transceiver at U12 con transceiver at U12 con nected to Port P4 4 A20 nected to P8 2 of the of the microcontroller microcontroller see see uC Data Sheet controller Data Sheet J20 open Remote Download not 1 2 Remote Download connected Source at P3 1 3 5 Remote Download Source CANIRx 3 4 Remote Download Source CAN2Rx 24 6 Remote Download Source P3 11 J21 closed P3 11 used as RXDO and open P3 11 of the controller is conected to RS 232 freely available as transceiver U6 standard I O at pin header row X1D16 J22 closed P3 10 used as TXDO and open P3 10 of the controller is conected to RS 232 freely available as transceiver U6 standard I O at pin header row X1D17 J23 closed Pin 17 ofthe controller is open Pin
97. tion and link procedures such as the start167 a66 used within the Keil software development tool chain 34 PHYTEC Me technik GmbH 2002 L 527e 8 Memory Models 5 Memory Models The C167CR C167CS controller provides up to five Chip Select signals at port P6 for easy selection of external peripherals or memory banks Depending on the number of memory devices installed on the phyCORE 167CR 167CS as well as the availability of the optional UART up to three Chip Select signals are used internally CSO P6 0 selects the Flash memory installed on U1 with a total memory of either 256 kByte 512 kByte 1 MB or 2 MB The external data memory consists of the one RAM bank at U2 U3 These spaces can house memory devices of 128 kByte or 512 kByte in an SO28 32 package CS1 P6 1 selects the RAM bank on U2 U3 CS2 P6 2 selects the optional UART at U7 The Chip Select signals must be enabled during reset refer to section 4 The assignment of the Chip Select signals to specific address areas is done with the corresponding ADDRESELx and BUSCONXx register Note that ADDRESELx must be configured prior activating of the Chip Select signal with register BUSCONx Ensure that the memory areas do not overlap in order to avoid conflicts when accessing the desired code or data memory Program code must remain accessible via CSO Prior to definition of the ADDRESELx and the BUSCONXx register only CSO P6 0 connected to Flash bank is active
98. tion of the supply voltage or after a reset the Real Time Clock generates no interrupt The RTC must first be initialized see RTC Data Sheet for more information PHYTEC Me technik GmbH 2002 L 527e 8 43 phyCORE 167CR 167CS 8 Serial EEPROM FRAM U9 The phyCORE 167CR 167CS is populated with a non volatile memory with a serial interface interface to store configuration data According to the memory configuration of the module an EEPROM 4 to 32 kByte or FRAM can be mounted at U9 A description of the memory protocol of the specific memory component at U9 can be found in the respective Data Sheet Table 20 gives an overview of the memory components that can be used at U9 at the time of printing of this manual Device Type Size Component Manufacturer EEPROM 4 kByte 24WC32 Catalyst Microchip 8 kByte 24WC64 Catalyst Microchip 32 kByte 24WC256 Microchip FRAM 512 Byte FM24C04 Ramtron 8 kByte FM24C64 Ramtron Table 20 Memory Device Options for U9 Various available EEPROM FRAM types provide a write protection function Jumper J12 is used to activate this function If this jumper is closed then pin 7 of the serial EEPROM FRAM is connected to VCC Refer to section 3 9 for details on jumper settings for J12 Jumper J15 configures the address of the serial EEPROM FRAM The default configuration J15 2 3 sets the address to OxA8 Refer to section 3 11 for details on j
99. ture 60 x 53 mm insert ready Single Board Computer populated with Infineon s C167CR or C167CS microcontroller Its universal design enables its insertion in a wide range of embedded applications All controller signals and ports extend from the controller to high density pitch 0 635 mm connectors aligning two sides of the board allowing it to be plugged like a big chip into a target application Precise specifications for the controller populating the board can be found in the applicable controller User s Manual or Data Sheet The descriptions in this manual are based Infineon C167CR C167CS No description of compatible microcontroller derivative functions is included as such functions are not relevant for the basic functioning of the phyCORE 167CR 167CS 4 PHYTEC Me technik GmbH 2002 L 527e 8 Introduction The phyCORE 167CR 167CS offers the following features subminiature Single Board Computer 60 x 53 mm achieved through modern SMD technology populated with the Infineon C167Cx microcontroller QFP 144 packaging featuring up to two on chip 2 0B CAN modules improved interference safety achieved through multi layer PCB technology and dedicated Ground pins controller signals and ports extend to two 100 pin high density 0 635 mm Molex connectors aligning two sides of the board enabling it to be plugged like a big chip into target application 16 bit demultiplexed bus mode 20 MHz clock frequency 1
100. umper Setting Description JP31 142 Pin 2 of DB 9 plug P2A connected with CAN LO from CAN transceiver U2 on the Development Board JP32 142 Pin 7 of DB 9 plug P2A connected with CAN HO from CAN transceiver U2 on the Development Board JP11 243 Input at opto coupler U4 on the Development Board connected to 1 Tx P4 6 of the C167CR 167CS 142 Input at opto coupler U4 on the Development Board connected to CANI Tx P8 12 of the C167CR 167CS JP12 243 Output at opto coupler US on the Development Board connected to CANI Rx P4 53 of the C167CR 167CS 142 Output at opto coupler US on the Development Board connected to CANI Rx P8 04 of the C167CR 167CS JP13 243 Supply voltage for CAN transceiver and opto coupler derived from local supply circuitry on the phyCORE Development Board HD200 JP18 closed transceiver and opto coupler on the Development Board connected with local GND potential JP29 open No power supply via CAN bus Table 37 Jumper Configuration for CAN Plug P2A using the CAN Transceiver on the Development Board 5 9 4 3 8 Pin 3 GND Development Board Ground 7 Pin 7 CAN HO not galvanically separated 2 Pin 2 CAN LO not galvanically separated 1 6 Pin 6 GND Development Board Ground Figure 18 Pin Assignment of the DB 9 Plug P2A CAN Transceiver on A opo Development Board Port P4 6 is the default port for Tx standard Port P8 1 is the alternative port for CANI Tx see Controller User s Manual Data Shee
101. umper settings for J15 l Refer to the corresponding EEPROM FRAM Data Sheet for more information on the write protection function 44 PHYTEC Me technik GmbH 2002 L 527e 8 Remote Supervisory Chip 9 Remote Supervisory Chip U8 Space U8 is intended to be populated by a Remote Supervisory Chip This IC can initiate a boot sequence via a serial interface such as RS 232 or CAN The RSC can start the PHYTEC FlashTools without requiring a manual release of the boot sequence on the phyCORE module applied via a BOOT jumper or button This enables a remote controlled software update of the on board Flash device This function can be controlled by various interfaces Solder Jumper J20 configures the remote download source The Remote Supervisory Chip is under development and not available at this time Accordingly Jumper J20 remains open in the default configuration Refer to section 3 13 for details on jumper settings for J20 This feature will be available on future phyCORE modules This feature is under development and not available at this time PHYTEC Me technik GmbH 2002 L 527e 8 45 phyCORE 167CR 167CS 10 Flash Memory U1 Use of Flash as non volatile memory on the phyCORE 167CR 167CS provides an easily reprogrammable means of code storage The following Flash devices can populate the phyCORE 167CR 167CS 29F200 with 1 16 kByte 2 8 kByte 1 32 kByte 3 64 kByte 29F400 with 1 16 kByte 2 8 kByte
Download Pdf Manuals
Related Search
phyCORE 167/phyCORE
Related Contents
MAGIC 1EV Centrale di comando per cancelli scorrevoli Magnat Pro Selection 216 Series 200 Diode Array Detector II Kunz AcrEase C60K User's Manual dis107 alcohol de quemar HP Pavilion 15-ab035tx Manuel FURI 1234 - Les Editions CREASOFT RVDS Pilot User Guide - Parliamentary Extraparl Blanco Precision 515-824 User's Manual ABC-Series Charger User Manual Automatic Battery Charger – 36V Copyright © All rights reserved.
Failed to retrieve file