background image

miniMODUL-537

                                                                                                                                                

                                                                                                                                                

 PHYTEC Meßtechnik GmbH 1993     L-006e_2

Summary of Contents for miniMODUL-537

Page 1: ...A product of a PHYTEC Technology Holding company miniMODUL 537 Hardware Manual Edition November 1993...

Page 2: ...TEC 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 reserv...

Page 3: ...f an EEPROM 21 4 5 Address Decoding 22 4 6 Hints for Memory Utilization 22 4 7 The Power On Jump Option 23 4 7 1 The Realization of User Programs in Power On Jump Mode 24 4 7 2 Program Example 24 5 Ju...

Page 4: ...for the Utilization of the Battery Buffering 45 8 The External Watchdog Timer and the Power Fail Option 47 8 1 The External Watchdog Timer 47 8 2 The Watchdog and RESET Time Base 48 8 3 Application o...

Page 5: ...iode besides JP2 JP7 at the bottom side of the circuit board should not be installed This is only required in combination with our Monitor Basic To make possible a change of the module this diode is s...

Page 6: ...miniMODUL 537 PHYTEC Me technik GmbH 1993 L 006e_2...

Page 7: ...mpatible instruction sets As developing tools all assembler and compiler for the 8051 family can be applied All those processors contain considerable extensions of the integrated peripherals as there...

Page 8: ...le a Basic interpreter and a monitor program In the simplest instance only a terminal is required since the interface drivers are already implemented With the help of a PC the up downloading of progra...

Page 9: ...justable voltage and damage the module The connections of the supply voltage are found in diagonal corners of the module The printing on the board designates GND with and VCC with The following pins a...

Page 10: ...the corresponding input of the terminal or PC AT The standard RS 232 connection is especially designated on the printing of the circuit board The arrows symbolize the flow of the signals Don t forget...

Page 11: ...not be bouncing In order to recognize the connections easily A61 and A63 are signed with a square 2 3 The PC AT Communication Program Your PC AT doesn t notify the RS 232 interface as long as no corr...

Page 12: ...e the miniMODUL 537 was separated Actuation of a key at the PC will result in the echo of this key displayed at the screen of the PC 2 5 Installation of User Programs on the miniMODUL 537 When install...

Page 13: ...s with even number are at the inside The supply voltages GND and VCC are applied in diagonal on two corners of the board The printing on the board designates VCC by and GND by For uncritical applicati...

Page 14: ...ers from TTL outputs More information is found on page 61 of the controller manual The supply voltage A1 2 and B1 2 Supply voltage VCC of 5 0 V A63 64 and B63 64 Digital Ground A42 Battery voltage inp...

Page 15: ...00 AN07 C02 C08 Port 8 Analog inputs AN08 AN10 The exact pin assignment of the ports and their alternative functions are described in the controller manual page 68 and the corresponding sections Decod...

Page 16: ...ternal address decoder For this purpose XRAM2 must be connected permanently or temporarily to LOW B40 XRAM1 RAM 1 U13 Decoder selection Input Open if no external address decoder should be connected to...

Page 17: ...Can be connected with a vacant controller port or an external address decoder RS 232 Driver connections A47 T10 TxD 0 Transmitter 1 Output Output for RS 232 for the serial interface SERIAL 0 of the SA...

Page 18: ...T4I TTL A48 T30 RS 232 A51 T3I TTL A46 T20 RS 232 A43 T2I TTL RS 485 Driver connections B29 RS 485_VCC Voltage supply for the RS 485 Driver chip Can be switched on off externally if the connection is...

Page 19: ...For other applications of P5 0 cut connection B36 B52 B35 DE RS 485 Transmit Enable Input Already connected with B51 port 5 1 for PHYNET For other applications of P5 1 cut connection B35 B51 General C...

Page 20: ...ation This input is not appropriate to stop the controller for the duration of the activation of RESIN A34 RES RESET Input Output Input Output active LOW This bi directional connection might be connec...

Page 21: ...Signal Output This signal is HIGH as soon as the supply voltage drops below the limit of 4 6 or 4 8 V It is LOW as soon as the supply voltage is above this limit This output should not be loaded very...

Page 22: ...ignal can be used to recognize beginning power failures of the power supply The output PFO can be utilized to create an interrupt A69 WDP Watchdog Pulse A35 WDO Watchdog Output WDP is an input Cyclic...

Page 23: ...d with the driver chips The conducting stripes are close to the edge of the circuit board and are easily cut Terminals of the RS 485 interface already connected B29 VCC485 with B01 VCC B30 D with B57...

Page 24: ...miniMODUL 537 18 PHYTEC Me technik GmbH 2001 L 006e_2 Figure 3 The terminals of the miniMODUL 537...

Page 25: ...ecial applications By the possibility to turn off the module internal decoding externally you are absolutely free for your own address decoding On request we program PALs GALs and EPLDs according to c...

Page 26: ...Memory Configurations The miniMODUL 537 has only the address decoder A15 Nevertheless other memory configurations are possible For this purpose few external components or a special PAL PLD have to be...

Page 27: ...e only VCC for the supply voltage Don t forget to adjust U12 with jumper JP12 to VCC battery might be discharged Pay attention for 8 kByte EEPROMs to pin 1 For some chips this is a Ready Busy Output w...

Page 28: ...AM2 the selection in RAM2 in U12 In the case that the signals XROM XRAM1 and XRAM2 are open or HIGH the module internal decoder is active As soon as those signals are LOW the corresponding inputs are...

Page 29: ...ory in the region 100H This feature is used by our combined Monitor Basic It is advisable not to start those programs at 0000H but at 8000H Nevertheless to allow a program start after a RESET special...

Page 30: ...xxxH is the cold start point of the user program Programming of the maximum 32 kByte EPROM starts at the physical address 0000H This address is at 8000H during the program operation and in the memory...

Page 31: ...Selection of the controller external program memory U11 JP3 Oscillator Watchdog Enable See controller manual SAB80C537 JP4 PD Enable Watchdog Inhibit JP5 Memory Disable Already connected to GND JP6 R...

Page 32: ...Those jumpers are positioned before driver U10 which can be switched off so that their position is ineffective for the external de selection by XRAM1 and XRAM2 The connection with A15 selects the ran...

Page 33: ...t addressing modi for the EPROM U11 The middle pads are connected They should never be separated Connection of the middle pad of JP8 with GND The EPROM U11 is always selected as program memory Data ac...

Page 34: ...side of the neighboring diode Please install this diode in case that you use the POJ mode Please remove this diode if you select a different mode We reserve us the right to solder this diode on one or...

Page 35: ...nal program Already connected with GND As long as this jumper is connected with GND program memory access is executed also below 2000H of the program memory U11 A change is necessary only for mask pro...

Page 36: ...of the M DIS connection If this is not required jumper JP5 remains in its position otherwise the connections have to be removed carefully JP14 RS 232 Disable Already connected to GND For applications...

Page 37: ...lready connected with easy to cut conduction stripes adjacent to the edge of the circuit board Only for the operation of the RS 485 interface with the software of PHYNET the jumper JP6 at the top of t...

Page 38: ...miniMODUL 537 32 PHYTEC Me technik GmbH 2001 L 006e_2...

Page 39: ...interfaces is adjusted with a set of special function registers SFR which are mentioned short at this point The detailed description is found in the controller manual section 7 2 beginning at page 72...

Page 40: ...tarted For these purposes the registers TMOD TCON and TH1 are available As an example we refer to the following assembler program To generate proper baud rates the system clock frequency must be appro...

Page 41: ...21 241 2083 33 4166 67 241 1919 97 3839 93 240 1953 13 3906 25 240 1799 97 3599 93 239 1838 24 3676 47 239 1694 09 3388 17 238 1736 11 3472 22 238 1599 97 3199 94 237 1644 74 3289 47 237 1515 76 3031...

Page 42: ...1129 39 204 600 96 1201 92 204 553 84 1107 67 203 589 62 1179 25 203 543 39 1086 77 202 578 70 1157 41 202 533 32 1066 66 201 568 18 1136 36 201 523 63 1047 25 200 558 04 1116 07 200 514 28 1028 55 6...

Page 43: ...l if the required baud rates can be generated with the gradation which is necessary for the baud rate register S1REL The controller versions with 16MHz system clock frequency can be operated for SERIA...

Page 44: ...ns at the edge of the circuit board have to be separated The link with P3 2 INT0 is achieved via the jumper JP6 B29 VCC485 with B01 VCC B30 D with B57 TxD1 Port 6 2 B32 R with B52 RxD1 Port 6 1 B34 R...

Page 45: ...ch on the length and type of the connection cable Standard baud rates for the communication are 9600 and 19200 baud for interoffice applications The transmission of data in one direction require one l...

Page 46: ...nity against interfering The cross linkage of these modules in the industrial environment requires specific knowledge of the occurrence of the special problems Interferences from electromagnetic devic...

Page 47: ...TI0 set RI0 erased init_end Example of the initialization for the utilization of timer 1 as baud rate generator for a system clock frequency of 11 059 MHz ch0_in Subroutine to read a character jnb RI0...

Page 48: ...of the flag RI1 and TI1 8 data bit no parity 1 start bit 1 stop bit Set TI1 erase RI1 init_end ch1_in Subroutine for reading a character from SERIAL1 mov a S1CON jnb ACC 0 ch_in Wait until character r...

Page 49: ...ions Installing a good 32 kByte RAM 1 A a 100 mAh battery will do for several years The RAMs U12 and U13 and the optional Real Time Clock U14 RTC 72421 are supplied by the battery as soon as VCC decre...

Page 50: ...is 50mA If this value is exceeded or the voltage drop is too high Q1 should be installed This results in a considerable increase of current consumption from the battery Then a capacity of 100mAh migh...

Page 51: ...if the program can be down loaded easily or if the program is redundant and can be loaded from an EPROM You minimize problems with the RAM write protection if you observe the followings advices Provid...

Page 52: ...miniMODUL 537 46 PHYTEC Me technik GmbH 2001 L 006e_2...

Page 53: ...mer might be advantageous For applications where the time constant of the watchdog timer is too small and for applications where an external signal must be monitored The controller watchdog reacts onl...

Page 54: ...rresponding data sheets of this chip or ask us in case of problems 8 3 Application of the Power Fail Input PFI The power fail input allows the premature recognition of power failures For this reason t...

Page 55: ...e miniMODUL 537 The external reference voltage VAREF and VAGND are close to VCC and GND Intermediate values are not permitted The converter does not operate without external reference voltages VAREF a...

Page 56: ...miniMODUL 537 50 PHYTEC Me technik GmbH 2001 L 006e_2...

Page 57: ...might be decreasing and the Power On Jump and the RAM write protection might not operate appropriately anymore RES is an open drain output and can be connected to GND externally However this is not us...

Page 58: ...miniMODUL 537 52 PHYTEC Me technik GmbH 2001 L 006e_2...

Page 59: ...connection A59 In order to select the clock either an external address decoder or two vacant port lines have to be used Hereby the clock can be used with minimal expenditure without address decoder W...

Page 60: ...f the separate clock registers can be taken from the register table of the data sheet from the RTC 11 3 The Standard Pulse Option The RTC has a pulse output This is a N channel FET connected to GND Th...

Page 61: ...ce only if BUSY is LOW BUSY is always HIGH when HOLD is not HIGH After setting of HOLD BUSY is LOW at the latest after 190 sec MASK This bit prevents the LOW level at the pulse output when it is enabl...

Page 62: ...bit is ineffective Nevertheless this bit should be masked out Manipulating this bit should always be combined with setting the REST bit In the 24 hour mode the bit sequence 0101 and 0100 should be set...

Page 63: ...C Clock Control signal 15 control input 24 controller port 13 D data 9 data access 58 Data address bus 12 data in output 43 data line 42 data memory 24 decoder control signal 13 DIL 25 driver 16 drive...

Page 64: ...27 55 RS 232 8 9 10 15 21 42 43 RS 485 10 16 21 42 44 S SAB80C537 37 51 53 serial interface 21 37 SERIAL0 35 37 SERIAL1 35 38 40 41 46 software 44 T timer 1 38 transmission 8 U User program 28 user p...

Page 65: ...iMODUL 537 Document number L 006e_2 November 1993 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 Tec...

Page 66: ...Published by PHYTEC Me technik GmbH 2001 Ordering No L xxxe_x Printed in Germany...

Reviews: