Table of Contents

Advertisement

Quick Links

miniMODUL-537
Hardware Manual
Edition November 1993
A product of a PHYTEC Technology Holding company

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the miniMODUL-537 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Phytec miniMODUL-537

  • Page 1 Hardware Manual Edition November 1993 A product of a PHYTEC Technology Holding company...
  • Page 2 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.
  • Page 3: Table Of Contents

    Installation and Setting into Operation..........3 2.1 The Serial Interface ..............4 2.2 The RESET...................5 2.3 The PC/AT Communication-Program..........5 2.4 Malfunctioning of the PC/AT............6 2.5 Installation of User-Programs on the miniMODUL-537 .....6 Pin Configuration ................7 Memory Configuration and Address-Decoding ......19 4.1 Standard-Memory-Configuration ..........19 4.2 Von-Neumann-Memory-Configuration........20 4.3 The Individual Memory-Configurations ........20...
  • Page 4 11.4 Description of the Control-Bits ..........55 Index......................57 Index of Figures Figure 1: Dimensions of the miniMODUL-537 .......... 2 Figure 2: Pin Connection ................7 Figure 3: The terminals of the miniMODUL-537 ........18 Figure 4: Jumper ..................31 © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 5: Information For The Minimodul-537

    Information Information for the miniMODUL-537 For the standard Version of this module with EPROM from 0000H (plain Monitor-Mode or user machine program) the diode 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...
  • Page 6 © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 7: Introduction

    The miniMODUL-537 is plugged on to the application hardware, which might be not very extensive, like a “big chip”. The favorable cost-performance ratio liberates you from development, design and test of a digital system.
  • Page 8: Figure 1: Dimensions Of The Minimodul-537

    For the 8051-family various assembler and compiler are available on the market. PHYTEC offers for simple programming of the module a Basic-interpreter and a monitor program. In the simplest instance only a terminal is required, since the interface drivers are already implemented.
  • Page 9: Installation And Setting Into Operation

    Installation and Setting into Operation 2 Installation and Setting into Operation The miniMODUL-537 requires a stabilized supply voltage of 5 V. The current consumption is less 100 mA. Please employ only reliable voltage regulators (for example 7805), since overvoltages might be produced by bad power supplies or laboratory power supplies with adjustable voltage, and damage the module.
  • Page 10: The Serial Interface

    –7 V ..-12 V against GND is found. RxD has a voltage of 0 V against GND. Please connect always TxD with RxD and RxD with TxD. If sometimes the transmission is failing, the GND-line might be connected in the wrong way. © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 11: The Reset

    Your PC/AT doesn’t notify the RS-232-interface, as long as no corresponding program is started. In order to display data from the miniMODUL-537 and to enter data via the RS-232 interface, a communication program has to be started on a PC/AT. Therefore we include the program MONTERM in the software package of Monitor and Monitor-Basic.
  • Page 12: Malfunctioning Of The Pc/At

    The miniMODUL-537 is only malfunctioning, if despite correct jumper setting and with our standard EPROMs no output can be observed at TxD of the miniMODUL-537 after a RESET. In case of problems, check the signal with an oscilloscope at point A47.
  • Page 13: Pin Configuration

    3 Pin Configuration Figure 2: Pin Connection The miniMODUL-537 has two connecting strips A and B with 64 connections each. Here all connections for supply voltages, digital signals and some control-lines are found. The analog-inputs and reference voltages are positioned in the connecting stripe C. The pins with uneven number are at the outside and the pins with even number are at the inside.
  • Page 14 DC-characteristic can be depicted from the INFINEON controller manual of the SAB80C537, starting on page 61 and 336 respectively. B10..B03 D0..D7 Data bus B18..B11 A0..A7 Address bus low B19,..,B26 A8..A15 Address bus high Attention counting! © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 15 EPROM U11. B41 /XOEROM ROM Output_Enable Input/Output active LOW. Can be connected to an external address decoder. For this purpose XROM must be connected permanently or temporarily to LOW. © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 16 For this purpose XRAM1 has to be connected permanently or temporarily to LOW. B43 XCEROM Input/Output active LOW. Can be connected to an external address decoder. For this purpose XROM has to be connected permanently or temporarily to LOW. © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 17 A45 R1I RxD 0 (Receiver 1 Input) Input for RS-232 for the serial interface SERIAL0 of the SAB80C537. A44 R10 Receiver 1 Output Output:Already connected with RxD0 of the controller. For other utilization, cut the connection with RxD0. © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 18 31 other modules, don’t exchange A and B. B30 D Transmit-data-input (TTL) Already connected with TxD 1 at B57 (port 6.2) For the utilization for other purposes of this driver please cut the connection B30-B57. © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 19 Write_Out (Write-pulse unbuffered, can be turned-off) Output active LOW. This signal corresponds to the /WR-signal, but can be disabled by a RESET or the M-DIS-function. For missing supply voltage this signal has no voltage. © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 20 An external RESET by wiring of A35 (/RES) doesn’t generate a signal at A33. Only the RESET-pulses triggered by A61 will be present. A13 BRESBattery-supplied RESET-signal Output active HIGH. This signal is the inverse of /RES. © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 21 (Power-Down). As long as this input is LOW, only the failure of the supply voltage will cause a de-selection. If this input is wired, the connection at JP5 has to be removed. © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 22 The input is already connected with GND and influences the control- ler-internal watchdog-timer and blocks the power-down-mode. Please read the controller manual from INFINEON for more information. If this input should be connected externally, cut the connection at J4. © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 23 Pin Configuration The listing of the module-terminals already connected In order to operate the miniMODUL-537 with a minimum of external connections, the serial interfaces of the controller are already connected with the driver-chips. The conducting-stripes are close to the edge of the circuit board and are easily cut.
  • Page 24: Figure 3: The Terminals Of The Minimodul-537

    Figure 3: The terminals of the miniMODUL-537 © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 25: Memory Configuration And Address-Decoding

    This can be achieved with an external chip. Despite of the simple, module-internal address-decoding, the miniMODUL-537 doesn’t restrict the address decoding for special applications. By the possibility to turn off the module-internal decoding externally, you are absolutely free for your own address decoding.
  • Page 26: Von-Neumann-Memory-Configuration

    Nevertheless other memory-configurations are possible. For this purpose few external components or a special PAL/PLD have to be connected, which can be delivered by us. The miniMODUL-537 has separate control inputs, which can be used to turn off the address decoder of the module.
  • Page 27: Application Of An External Dil-Eprom

    GND until the transient recovery voltage of the system-clock is stable. Otherwise overwriting during the turn on procedure would be caused. Please use the write- signal /WRO. U12 can be adjusted with JP15 to this mode. © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 28: Address Decoding

    The SAB80C537 separates data- and program-memory. By appropriate address decoding both memory types can be combined in one physical memory chip. The miniMODUL-537 is very flexible for the memory-configurations, memory-types and their application. For save operation we want to give the following recommendations.
  • Page 29: The Power-On-Jump-Option

    Memory Configuration and Address-Decoding For the storage in RAM or EEPROM, of remote transmitted programs to the miniMODUL-537, a program-kernel and an error-recognition and error-treatment concept should be available in the EPROM. As long as the access-time to the EEPROM is not less than 200 ns, the machine-program should not be operated from the EEPROM.
  • Page 30: The Realization Of User Programs In Power-On-Jump-Mode

    4.7.2 Program Example ORG 8000H ;(or absolute in the Link-Batchfile) LJMPSTART *** ; position for vectors, tables etc. *** ORG 8xxxH ;(or stated in the Link-Batchfile) START ; Start of the program © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 31: Jumper Description

    Jumper Configuration 5 Jumper Description In order to be flexible with the miniMODUL-537 a series of jumpers are installed. Those determine the application of various memory chips, the memory-configuration, some controller adjustments, inter- face connections and control functions for the Power-Down-operation.
  • Page 32: Jumper For Address Selection

    In the position to /RD only data-memory access is possible. For the position to /VN the corresponding RAM is selected as program-memory. It is obvious, that the address region of the region selected as program-memory can not be selected for the EPROM. © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 33 EPROM is not possible. To read text files from the EPROM use the machine command MOVC. The RAM/EEPROM can be selected in this range only as mere data-memory. In the range 0000H..7FFFH the RAM can be selected as combined program/data-memory. © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 34 32 kByte EPROM. For an externally connected EPROM this setting is meaningless. Those jumper select the signals A14,A15 and VPP for 8, 16, and 32 kByte EPROM. Please use the jumper diagram, where all possible configurations are indicated. © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 35: Jumper For Controller Pre-Configuration

    Already connected with GND. Please pay attention to the description found in the controller manual. JP4 /PE-SWD Power-Down and Watchdog-Enable Already connected with GND. Please pay attention to the detailed description in the controller manual. © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 36: Jumper For Power-Down-Operation

    Already connected to GND. For applications which temporarily require power-consumptions, memory miniMODUL-537 can be deselected by external wiring 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.
  • Page 37: Jumper For Connection Of The Interface Driver

    PHYNET the jumper JP6 at the top of the circuit board has to be closed. JP6 RS-485-interrupt for PHYNET For the standard-configuration open. Is only used for the operation with PHYNET. Figure 4: Jumper © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 38 © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 39: The Serial Interfaces

    1 can be used. SMOD Bit for the determination of the division ratio of the baud rate. Setting this bit, doubles the baud rate. It is found in the register PCON and is not bit addressable. © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 40: The Baud Generator Of Serial0

    12 and 11.059 MHz. The controller versions with 16 MHz can be operated for SERIAL1 at 9600 and 4800 baud. For SERIAL0 no sufficient accurate adjustment for this baud rate at 16 MHz is possible. © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 41 929.02 1858.03 976.56 1953.13 899.98 1799.97 946.97 1893.94 872.71 1745.42 919.12 1838.24 847.04 1694.09 892.86 1785.71 822.84 1645.68 868.06 1736.11 799.99 1599.97 844.59 1689.19 778.36 1556.73 822.37 1644.74 757.88 1515.76 801.28 1602.56 738.45 1476.90 © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 42: The Special-Function-Register Of Serial1

    S1REL baud rate register The content of those registers determine the baud rate of SERIAL1. For 12MHz system-clock frequency a range of 1.5 KBaud to 375 KBaud can be covered. © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 43: The Baudrate-Generator Of Serial1

    16 MHz is possible. 6.5 The Connection to the Interface Driver The miniMODUL-537 has four transmission and three reception channels with RS-232 standard and can be wired arbitrarily. The driver can be used for SERIAL0, SERIAL1 or for control lines of handshake hardware.
  • Page 44: Connections Of The Rs-485-Interface Pre-Configured

    RS-485-interface. This bi-directional interface requires besides the two symmetric data-lines, control signals, which are already connected for the miniMODUL-537 with certain controller port pins. In addition to the controller connections TxD1 (P6.2) and RxD1 (P6.1) also port bits P5.1 and P5.0 are connected. For other utilization of the port bits the connections at the edge of the circuit board have to be separated.
  • Page 45: The Pin Assignment Of The Interface For The Minimodul-537

    The transmission of data in one direction require one line (RxD, TxD). In addition to GND also control lines might be used, which influence the flow of data. All PHYTEC-controller boards use RS-232 interfaces without control lines. The mutual overflow control is achieved by software-handshaking.
  • Page 46: Rs-485-Interface

    In addition to the data-inputs also the inputs of the driver chips of all stations have to be controlled in a skillful way. Therefore PHYTEC has developed a software with the designation PHYNET for the communication with RS-485 interfaces. With this software all modules with RS-485 interface can be interconnected with a network.
  • Page 47: Program Example For The Serial Interface

    ; Start timer 1 movb S0CON,#5AH ; Mode adjustment and initialization of ; flags RI0 and TI0 8 data bit, no ; parity, 1 start bit, 1 stop bit set ; TI0, Erase RI0 init_end: © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 48: Program For Serial1

    S1CON,#0FEH ; Reset RI1 a,S1BUF ; character in ACC ch1_out: ; Subroutine for outputting a character ; Output character in ACC push w_out: a,S1CON ACC.1,w_out ; wait until TI1 ready for transmission S1CON,#0FDH ; Reset TI1 S1BUF,a © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 49: Ram-Write-Protection And Battery Back-Up

    VCC. A RAM in U12 can be supplied by VCC or VPD. If you forget to set jumper JP12 correctly, the battery will be discharged quickly if an EEPROM is installed in U12. © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 50: Function Of The Battery Buffering And Write Protection

    For turn off U3 separates the /WR signal from the memory chips and the RTC. It should be recognized, that the functioning of the write-protection only works, if the supply voltage is applied and separated bounce free. © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 51: Hints For The Utilization Of The Battery Buffering

    The application as program-memory makes only sense, if the programs can be reloaded easily. In case of doubt, use an EPROM as program-memory. The probability of a memory-error is negligible, but cannot be excluded. Please consider this fact for your application. © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 52 © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 53: The External Watchdog-Timer And The Power-Fail-Option

    A62 (/WDI). If the signal fails for an adjustable period, the system is reset. The external watchdog remains inactive as long as A62 is not connected. The time constant is within the period of one to two seconds. © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 54: The Watchdog- And Reset-Time-Base

    If the supply voltage is decreasing below the computed value, the signal /PFO goes LOW and can save data with an interrupt. The PFI-interrupt can be achieved with /INTO or with /INT1. For this purpose external connections might be required. © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 55: D Converter Of The Sab80C537

    INFINEON satisfies your expectation. An additional external conver- ter chip is easily connected to the 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 and VAGND.
  • Page 56 © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 57: The Reset-Signal

    /RES. B-RES always has the battery voltage for an active status, provided a battery is connected. Therefore this output is also appropriate for controlling extensions without the supply voltage VCC. © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 58 © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 59: The Optional Real-Time-Clock Rtc72421

    11 The Optional Real-Time-Clock RTC72421 The optional Real-Time Clock always operates with battery voltage, independent of the function of the miniMODUL-537. The clock-crystal is already integrated, so that a tuning is not necessary. The clock has a 4-bit interface for the connection to the processor-bus.
  • Page 60: Programming Of The Clock

    The pulse can be turned off by a bit mask. The frequencies of the pulse can be depicted from the following table. Pulse frequency 1/64 second 1 second 1 minute 1 hour The duration of one pulse is 7.8125 msec. © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 61: Description Of The Control-Bits

    REST is HIGH. The counter must be enabled by erasing this bit. STOP Setting STOP stops the counter completely. The clock starts at the latest 122 µsec after erasing this bit. © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 62 12-hour-mode the bit sequence ’0001’ and ’0000’ should be in the register F. TEST This bit must be erased. More detailed information should be taken from the data sheets of the clock chip. © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 63: Index

    Monitor-Basic....8, 9, 27 Clock-Control-signal....15 control input ......24 controller port......13 network........44 data ..........9 overvoltage ........7 data-access.........58 Data-address bus .......12 data-in/output ......43 PAL/PLD........24 data-line........42 PHYNET .......17, 35, 44 data-memory......24 program-memory.......24 decoder-control-signal....13 DIL ..........25 driver .........16 driver-chip .........21 © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 64 51 serial interface..... 21, 37 Write-protection ......47 SERIAL0......35, 37 SERIAL1... 35, 38, 40, 41, 46 software........44 XRAM1........26 XRAM2........26 XROM........26 timer 1 ........38 transmission ........ 8 © PHYTEC Meßtechnik GmbH 2001 L-006e_2...
  • Page 65 How would you improve this manual? Did you find any mistakes in this manual? page Submitted by: Customer number: Name: Company: Address: Return to: PHYTEC Technologie Holding AG Postfach 100403 D-55135 Mainz, Germany Fax : +49 (6131) 9221-33 © PHYTEC Meßtechnik GmbH 1993 L-006e_2...
  • Page 66 Published by © PHYTEC Meßtechnik GmbH 2001 Ordering No. L-xxxe_x Printed in Germany...

Table of Contents