Home
User`s Manual
Contents
1. 4 21 4 4 3 Procedure for Use of Serial ID Send Function 4 22 4 44 Caution for Using Serial ID Send Function 4 23 4 5 Balery backup Function UU 4 24 4 5 1 Setting Battery backup Function l l u 4 24 4 5 2 Operation and Connection for Battery backup 4 25 4 5 3 Guaranteed Backup Voltage and Backup Time Measurement 4 25 Chapter 5 Ratings 5 1 Electrical di 5 3 5 2 Characteristics socialista 5 4 5 2 1 Clock and Reset Timing ZRST Xi 5 4 5 22 Baud Rate Timing TXD 5 5 5 2 3 Strobe l O Pin Timing Do0 to 0015 STB1 DiO to 015 STB2 CLR 5 6 5 24 Count Input Filter Clock Timing Pi0 to Pi5 FC1 to FCS 5 7 5 2 5 Input Timing of Serial ID Send Function SDI SCK SLD SE 5 7 5 3 Package Dimensions A 5 8 5 4 Recommended Soldering Conditions eene 5 9 5 5 Recommended Reflow Con
2. S TECHNICA Co LTD Hi speed Link System Satellite IC MK Y34 User s Manual Note 1 The information in this document is subject to change without prior notice Before using this product please confirm that this is the latest version of this document 2 Technical information in this document such as explanations and circuit examples are refer ences for this product When actually using this product always fully evaluate the entire sys tem according to the design purpose based on considerations of peripheral circuits and the PC board environment We assume no responsibility for any incompatibility between this product and your system 3 We assume no responsibility whatsoever for any losses or damages arising from the use of the information products and circuits in this document or for infringement of patents and any other rights of a third party 4 When using this product and the information and circuits in this document we do not guaran tee the right to use any property rights intellectual property rights and any other rights of a third party 5 This product is not designed for use in critical applications such as life support systems Con tact us when considering such applications 6 No part of this document may be copied or reproduced in any form or by any means without prior written permission from StepTechnica Co Ltd S TECHNICA Co LTD MKY34 User s Manual
3. 1 4 1 4 Features of 1 5 Chapter 1 Outline of MKY34 S TECHNICA Co LTD Chapter 1 Outline of MKY34 This chapter describes the outline of the MK Y34 in the Hi speed Link System HLS 1 1 Role of MKY34 34 is a kind of satellite IC that constitutes the HLS Be sure to read the Hi speed Link System Introduction Guide before understanding the 34 and this manual The MKY34 must be assigned individual satellite addresses SAs The 4 returns a response packet RP in response to a command packet CP which matches SA from the center IC This causes the status of the input pin Di of the MKY34 to be copied directly to the Di area of memory in the center IC The CP issued from the center is embedded with one data item arranged in the Do area of memory in the center IC The MKY34 outputs data in the CP from the output pin Do of the MKY34 each time a CP matching a SA is input The center IC periodically transmits and receives a CP to continue scanning the satellite IC This series of continuous operation links the status of the input pin Di of the MKY34 with data in the Di area of memory in the center IC and data arranged in the Do area of memory in the center IC with the status of the output pin Do of the MKY34 The Di and Do areas of memory in the center IC are arranged corresponding to each SA that must be set to the MKY3
4. Preface This manual describes the MKY34 or a kind of satellite 1 in the Hi speed Link System Be sure to read Hi speed Link System Introduction Guide before understanding this manual and the MKY34 In this manual the Hi speed Link System is abbreviated as HLS e Target Readers This manual is for Those who first build an HLS Those who first use StepTechnica s various ICs to build an HLS Prerequisites This manual assumes that you are familiar with Network technology Semiconductor products especially microcontrollers and memory e Related Manuals Hi speed Link System Introduction Guide Hi speed Link System Technical Guide Caution To users with Hi speed Link System User s Manual up to Fourth Edition released before March 2001 Some terms in this manual have been changed to conform to International Standards E This manual has been prepared based on Standard English M meeting the requirements of the International Organization for Standardization ISO and the American National Standards Institute ANSI This English manual is consistent with the Japanese document STD HLS34 V6 2J Standard English is a trademark of Win Corporation ii T STE HNICA CO LTD MKY34 User s Manual ECHNICA CO LTD MKY34 User s Manual T CONTENTS Chapter 1 Outline of MKY34 11 M 1 3 1 2 Procedure fo
5. 015 TEST 72 34 CT 0114 L 013 CO L 012 CO GND Pi CO E 0111 Pia CO L 010 CO L 019 CO r Di8 Doo 0015 C481 0014 Do2 C 82 L 0013 TO 0012 84 TU VDD AI OO LILILILILILILILILILILILILILILILILILILILILI JUUUUUUUUUUUUUUUUUUUUL Qxu0g oror wosiuoorvraaoooo ao 5 888888 8886 588556 Note Pins with are negative logic active Low Fig 2 1 MKY34 Pin Assignment STE HNICA CO LTD MKY34 User s Manual Table 2 1 lists the pin functions of the MKY34 Table 2 1 Pin Functions of MKY34 80 to 83 2to5 17 to 20 23 to 26 Positive 16 bit general purpose output pins 6 to 13 27 to 30 Positive 16 bit general purpose input pins 32 to 35 Input pin to forcibly set all output pins DoO to Do15 Low 14 Positive Usually keep this pin Low Pins to which positive logic hexadecimal values at which 1 added to set values input to to IAS pins output when OAM pin High Connect these pins to the to 5 pins of the subse quent satellite IC when cascade connecting satellite ICs The OAS pin is MSB 36 to 41 Positive Pin to input clock for filtering signals input to PiO and Pil pins when OAM pin Low Fix this pin at High or Low when the filter clock is not input Positive Pin to input clock for filtering signals input to Pi2 and Pi3 pins when OAM pin Low Fix this p
6. 4 11 shows a conceptual diagram for the positioning of the general purpose 6 channel counter function C N Memory in center IC The memory area is determined by each channel Stored in RP to center IC in response to command from center IC qoi aoa 0 Cleared by command C lares from center IC to C6area 16 bit binary CLR counter CLK pin cha cueO Pi1 pin Incorporated into one MKY34 ch3 CLK Pi2 pin ch4 pin ch5 CLK Pi4 pin ch CLK Pi pin S 87 Fig 4 11 General purpose 6 channel 16 bit Binary Up counter Caution When not using the backup function described in 4 5 Battery backup Function the initial counter value is not guaranteed after power on In a user system using this function but without using backup function a command to clear each counter value to 0000 should be issued as initialization by the center IC when the user system is started S TECHNICA CO LTD MKY34 User s Manual 4 3 2 Sending and Clearing of General purpose 6 channel Counter Values The counter value of each channel is sent to the center IC according to a command issued by the center IC It can also be cleared to 0000H by a command issued by the center IC Table 4 1 lists the functions of the MKY34 for the commands issued by the center IC Table 4 1 Functions of MKY34 Select
7. put pins Do0 to Do15 when command packet is input correctly from center IC Positive Output pin that outputs High level pulse of strobe signals indicating timing to read state of general purpose input pins Di0 to Di15 Positive Output pin that outputs signal input to RXD pin Connect this pin to the RXD pin of the subsequent satel lite IC when cascade connecting satellite ICs Positive Connect this pin to the TXD pin of the subsequent satel lite IC when cascade connecting satellite ICs Be sure to fix this pin at Low when neither cascade con necting satellite ICs nor using this pin function Positive Connect this pin to the TXE pin of the subsequent satel lite IC when cascade connecting satellite ICs Be sure to fix this pin at Low when neither cascade con necting satellite ICs nor using this pin function Positive Input pin that inputs command packet from center IC Connect this pin to the output pin of a receiver Positive Pin that outputs response packet to center IC Connect this pin to the drive input pin of a driver Positive Output pin that goes High while outputting response packet to center IC Connect this pin to the enable input pin of a driver Positive Output pin for serial ID send function This pin goes High when the serial ID send function is enabled to receive serial input Positive Serial ID input pin for serial ID send function Fix this pin at Low when not
8. 4 2 Update Timing of Output Pin Do Reference The pulse like strobe signal output from the STB1 pin is unaffected by the command value ofthe center IC The strobe signal is also output from the STB1 pin if the state of the out put pin Do after updating is identical to that before updating STE HNICA CO LTD MKY34 User s Manual 4 1 3 Time to Sample State of Di0 to Di15 Pins STB2 Pin If the command in the CP issued from the center IC is 0 or 8 basic function specified when the response packet RP is returned in response to the command packet CP matching the SA the MKY34 samples the 16 input pins Di0 to Dil5 The MKY34 outputs a pulse like strobe signal from the STB2 STroBe 2 pin pin 49 to indicate the time to sample the state of the input pin Di The state of the input pin Di is sampled at the beginning of the strobe signal i When the SSB Strobe Select B pin described in 4 1 5 Enabling Disabling Hand AS shake SSB Pin is Low no strobe signal may be output from the STB2 pin when the MKY34 returns the RP 4 1 4 Setting Strobe Signal Timing SSA Pin The following two requests occur in the user system using the HLS 1 To update state of output pin Do after sampling input state of input pin Di 2 To sample state of input pin Di after updating state of output pin Do In the MKY34 the user can select the timing of strobe signals output from the STB
9. Fix the unused input pin indicated by in Figure 4 18 at non active level High or Low Pins that keep High keep even when the main power supply is turned OFF connect it to the VDD pin of the 34 where battery voltage is applied instead of to the VDD pin of the main power supply 3 Insert a pull down resistor so that the input pin indicated by in Figure 4 18 where a signal from a component driven by the main power supply is connected does not enter the high impedance state even if the main power supply is turned OFF 4 Design so that the input pins indicated by in Figure 4 18 connected to mechanical switches such as the to IA5 pins are kept Low by pull down resistors when the switches are open 4 5 3 Guaranteed Backup Voltage and Backup Time Measurement The guaranteed backup voltage of the MKY34 is 2 50 V If the voltage of the VDD pin of the MKY34 falls below 2 50 V the values of the 6 channel 16 bit binary up counter or the SIDR in the MKY34 are not guar anteed Figure 4 19 shows the circuit with the MKY34 for measuring battery backup time the battery backup con sumption current is 9 and Table 4 2 shows the results of measuring the battery backup time Assuming a relatively short hours of battery backup in the event of a short power interruption the circuit in Figure 4 19 uses a high capacity capacitor so the battery backup time is several hours To keep a long hours of backup use large cap
10. 0 2 0 1 0 1 0 8 MKY34 XXXXXXXX JAPAN 17 7 18 0 0 2 22 9 0 4 SEATING PLANE o d TO 0 15 0 05 2 45 0 20 0 15 0 05 Unit mm Chapter 5 Ratings S TECHNICA Co LTD 5 4 Recommended Soldering Conditions Parameter Symbol Reflow Manual soldering iron Peak temperature resin surface Tp 260 max 350 max Peak temperature holding time tp 10 s max 3smax Cauti on 1 Product storage conditions 30 max RH 70 for prevention of moisture absorption 2 Manual soldering Temperature of the tip of soldering iron 350 C 3 s max Device lead temperature 270 C 10 s max 3 Reflow Twice max 4 Flux Non chlorine flux should be cleaned sufficiently 5 Ultrasonic cleaning Depending on frequencies and circuit board shapes ultrasonic cleaning may cause resonance affecting lead strength 5 5 Recommended Reflow Conditions Package surface temperature t1 tw Time Parameter Pre heat time 60 to 120 s Pre heat temperature 150 to 180 Temperature rise rate 2 to 5 C s Peak condition time 10 3 max Peak condition temperature 255 5 Cooling rate 2 to 5 C s High temperature area 220 60 max Removal temperature lt 100 Cauti on The recommended c
11. OR gates The output signals from the pin and TXD pin of the succeeding MKY34 can be connected directly to the TXEN pin and TXDN pin of the preceding MKY34 Fig 4 9 Using this cascade connection of the TXE pin and TXD pin reduces the number of auxiliary circuit components composed of AND and OR gates and also eliminates the need for individual satellite ICs to have TRX resulting in reduced TRXs STE HNICA CO LTD MKY34 User s Manual 4 2 6 Caution for Cascade Connection 1 Be sure to fix the TXEN pin and TXDN pin of a single MK Y34 without cascade connection or the last cascade connected MK Y34 at Low When the TXEN pin goes High during operation the RP may not be output or may be damaged 2 If the frequency of the clock driving the MK Y34 is high the number of nest Nesting to which the driving clocks output from the Co pin are cascade connected to the Xi pin of the subsequent MKY34 should be around three This is necessary because the duty ratio of clocks passing from the Xi pin to the Co pin in the LSI may change for example with a 50 MHz driving clock the High or Low level width is about 10 ns and changes in duty ratio tend to accumulate causing unstable clock wave forms If the clock frequency is high and three or more clocks must be connected the output signal from the first Co pin should be connected to the fourth Xi pin Cascade connection of SAs is possible when High is set to the OAM Out
12. generated 6 Mbps 3 Mbps 3 2 Hardware Reset When a Low level is input to the RST ReSeT pin pin 71 the MK Y34 is hardware reset If a period in which the Low level signal has been input is less than clock the signal is ignored to prevent malfunc tion To reset the MK Y34 completely the RST pin must be kept Low for 10 or more clock while supply ing a driving clock The RST pin is connected to an internal Schmitt type input buffer so a constant rise time circuit can be connected directly at power on Fig 3 2 No response to Must be kept Low for 10 or more clock periods less than 1 clock Fig 3 2 Hardware Reset Caution Design the circuit so that a hardware reset is surely activated immediately after MK Y34 power on Chapter 3 Connecting Bacsic Functions of MKY34 Tic HNICA CO LTD 3 3 Setting Satellite Addresses The MKY34 has six satellite address SA setting pins to IA5 Input Addresses 0 to 5 Individual sat ellite addresses SA must be assigned to each satellite IC when using the HLS set the SA values to the 34 use hexadecimal numbers from 01H to addresses 1 to 63 assuming a High level is input to to IAS pins 64 to 70 as 1 and a Low level is input as 0 The most significant bit is pin 65 These SA settings correspond to the memory addresses in each area in the ce
13. in the center IC mem and 15 pin 26 to bit 15 When a hardware reset is activated the output pins DoO to Do15 keep the last levels These pins always go Low whenever the hardware reset is canceled The output pins go Low without keeping data when High level is input to the CLR pin described in 4 1 1 CLR Pin Function The to Do15 pins of the 34 have a drive capacity of 15 mA max and can be connected directly to peripheral components such as transistors LEDs and photocouplers 5 ECHNICA CO LTD Chapter 3 Connecting Bacsic Functions of MKY34 T 3 7 Connection Example of MKY34 Basic Functions Figure 3 4 shows a connection example of MKY34 basic functions In the example circuit all the expanded functions described later are unused The satellite addresses of the MKY34 can be set by DIP Switch DIP SW MKY34 o Se Full duplex 125225 16 bit general purpose inputs Equivalent to SN751177 i CMOS Level 24 o E Alre Schmitt inputs PR 12170 mias 53 3 2 29 4 a 16 bit general purpose outputs NP 22221253 CMOS Level Do0 0015 777 Pulse transformer Driven at 15 max 1720 7 T Kept Low from power on till completion of first receiving Pull up DIP SW 47 O ees 2 e AM A A O 36 Connect a termination resistor 777 37 to the end of the network cable 38 OAM 39 41 45 CL
14. network cable to the center IC may be short To prevent this StepTechnica recommends a crys tal oscillator be used to maintain the accuracy within 1 4 To recognize the oscillating state and measure oscillating frequencies use the Co pin StepTechnica provides some technical information such as an appropriate capacitance for the oscillator how to stabilize oscillation etc For more information visit our Web site at www steptechnica com STE HNICA CO LTD MKY34 User s Manual 3 1 2 Supplying Generated Driving Clock An oscillator generated external clock can be supplied directly to the MK Y34 and used as the driving clock To supply the external clock directly to the MK Y34 use the Xi pin pin 62 and leave Xo pin pin 61 open The specifications for direct supplying the external clock are as follows 1 The upper frequency is 50 MHz and a lower frequency is not provided 2 VIH min 3 5 V VIL max 1 5 V 3 Clock with a signal rise and fall times of 20 ns or less 4 Clock with a minimum High level or Low level time of 5 ns or more 5 Clock with jitter component of e Within 250 ps when input frequency is 25 MHz or more e Within 500 ps when input frequency is less than 25 MHz 6 Frequency accuracy of 1000 ppm 0 1 or better Table 3 1 shows the correspondence between the driving clock and baud rate Table 3 1 Correspondence between Driving Clock and Baud Rate 12 Mbps The operating clock cannot be self
15. signal for the command packet CP transmitted from the center IC will be input to the RXD pin If the address of the input CP matches the SA set by to IAS the MK Y34 immediately returns a response packet RP to the center IC The pin goes High while the MKY34 sends the RP When the pin goes High design the TRX so that the enable pin of the TRX driver is activated thereby enabling the serial pattern signal for the RP output from the TXD pin to be transmitted to the network When the hardware reset is activated the TXE and TXD pins keep the last levels These pins always go Low whenever the hardware reset is canceled Reference i When the HLS operates in half duplex mode the signal output from the TXD pin of the i gee MKY34 may be input directly to pin while the MKY34 is returning the RP The 34 is designed not to input data when the pin is High so there is no problem ECHNICA CO LTD Chapter 3 Connecting Bacsic Functions of MKY34 T ES 3 4 2 Recommended Network Connection Figure 3 3 shows the recommended network connection The TRX driver receiver components consists of an RS485 based driver receiver LSI driven at 5 0 V and pulse transformer Recommended network cables include Ethernet LAN network cables IOBASE T Category 3 or higher and shielded network cables When operating the HLS full duplex mode requires two twisted pair cables and half duplex requires o
16. signals PiO Pi5 1 o Divide by 8 clock of Xi J J J J J 1 F Passage of time Count up timing of counter Y Operation of 16 bit counter when OAM pin Low Signals with low noise tolerance e g chattering are ignored Passage of time FC1 is responsible for handling of Pi0 and Pi1 FC2isresponsibleforhandlingofPi2andPi3 1 ci Count up timing of counter j 1 FC3isresponsible for handling of Pi4 and Pi5 The signal is received only when its level is Q Level where signals with low continuously recognized for two or more samples noise tolerance etc ignored App 5 B North America Distributor Trans Data Technologies Inc 340 Arthur Ave Roselle IL 60172 Telephone 630 440 4075 Facsimile 630 539 4475 e mail info steptechnica us http www steptechnica us E Developed and manufactured by Step Technica Co Ltd 757 3 Shimo fujisawa Iruma shi Saitama 358 0011 TEL 04 2964 8804 FAX 04 2964 7653 http www steptechnica com infoOsteptechnica com Hi speed Link System Satellite IC MKY34 User s Manual Document No STD HLS34 V6 2E Issued April 2009
17. the baud rate For example if the baud rate is 6 Mbps the frequency of the driving clock is 24 MHz If the driving clock is generated correctly the user can find that the Co Clock out pin pin 45 outputs the clock This clock is output from the Co pin while the hardware reset is activated so it is usable for cascade connection described later in 4 2 Cascade Connection Place the oscillator and auxiliary component to be connected to the Xi and Xo pins near the MKY34 The allowable oscillating frequency accuracy is within 5 for a frequency of four times the baud rate Sup ported oscillators include crystal and ceramic types Select an appropriate value for the additional capaci tance depending on the oscillator types and manufacturers Fig 3 1 gt Oscillator and auxiliary component MKY34 Driving clock output Crystal or ceramic oscillator The frequency must be four times the baud rate Fig 3 1 Connecting Oscillator Caution 1 The MKY34 oscillation frequency ranges from 4 MHz to 30 MHz If the driving clock frequency outside this range is required use the generated clock described in 3 1 2 Supplying Generated Driving Clock 2 Some oscillator types may need to be inserted a dumping resistor DR between the Xo and oscillator 3 The allowable oscillating frequency accuracy is within 5 for a frequency four times the baud rate If the frequency accuracy is low the allowable length of the
18. 0 1 uF between power pins 84 vpp gt 1 GND 22 777 El TEST Connect TEST pin to GND END GND SSS 777 4 Appendix S TECHNICA Co LTD Strobe indicating when to update 16 bit Do Cascade connection Connect the MKY34 directly to the subsequent stage Do is updated at the pulse central timing Generated at every scan from center IC The number of components Previous Do data 4 New Do data Such as driver receiver The pulse width is 8 clocks oscillators and addressing 333 ns when Xi 24 MHz Switches can be reduced Strobe indicating when to read 16 bit Di The value of preceding ESA address 1 is supplied Di is read on the pulse rising edge automatically Di The pulse width is 8 clocks 333 ns when Xi 24 MHz Satellite IC Pin to set position STB1 of STB2toSTB1 Used to battery backup MKY34 Usually hold Low Xi 218 91 Hz at 24 MHz operation Xi 215 732 Hz at 24 MHz operation Ss m Every scan of STB2 generation Externally supplied clock Handshaking with center IC Generated after STB2 _ M Generated before STB2 777 Passage of time Pin to set generation of STB2 47 Pin to forcibly clear Do state Low Used to prevent system failure Operation of 16 bit counter when OAM pin High Respond even to narrow
19. 1 pin and STB2 pin by setting the SSA Strobe Select A pin pin 46 This will enable to meet the two requests The MKY34 per forms the operation in 1 above when the SSA pin is set Low and the operation in 2 above when the SSA pin is set High Fig 4 3 N Setting for input immediately Setting for input immediately before updating output state after updating output state MKY34 MKY34 STB2 STB2 STB1 STB1 SSA SSA 777 Do0 Do15 Previous Do data Dodata Do0 Do15 Previous Do data New Do data STB1 STB1 STB2 identical STB2 2xTSTB in with to STB1 STB2 Dio Di15 ____ Passage of time Dio Dit5 Y n Y Passage of time Input is sampled on the rising edge of STB2 signal Fig 4 3 SSA Pin Setting and Update Timing Chapter 4 Expanded Functions of MKY34 9T ECHNICA 4 1 5 Enabling Disabling Handshake SSB Pin Handshaking with the center IC can be enabled or disabled by setting the SSB Strobe Sdect B pin pin 47 When the SSB pin is Low handshaking with the center IC is enabled When the MKY34 inputs the command packet CP from the center IC it recognizes whether the center IC has received correctly the response packet RP returned to the center IC at the last scan In a case where handshaking is enabled the MKY34 outputs a strobe signal from the STB2 pin to sample the state of the input pin Di only when the center IC has input the previou
20. 4 Fig 1 1 The MKY34 has some expanded functions in addition to input pin Di and output pin Do for embedding in various user systems Center IC memory Bit 15 ssssssssssssss 0 Network Do area Di area MKY34 Fig 1 1 Role of MKY34 STE HNICA CO LTD MKY34 User s Manual 1 2 Procedure for Operating MKY34 The MKY34 is a passive IC and it is operated by remote control from center ICs The user system program for access to center ICs to use the MK Y34 is very simple 1 The user system program just writes data to memory in the center IC when it wants to change the sta tus of the output pin Do of the MK Y34 For example when a relay is connected to the output pin Do the user system program simply writes data to memory in the center IC only when it wants to turn the relay on or off 2 The user system program simply reads memory in the center IC when it wants to obtain the status of the input pin Di of the MK Y34 For example when a sensor is connected to the input pin Di the user system program can obtain the status of the sensor by reading memory in the center IC 3 The user system program can operate the MK Y34 s expanded functions simply by handling a com mand in memory in the center IC 1 3 MKY34 Response Time In the HLS where a center IC continues to scan constancy of response time and real timeness are assured The time required to link data in memory in the center IC
21. 4 Expanded Functions of MKY34 9T ECHNICA 4 1 5 2 Cautions for Sending Character String Data This section describes the cautions for sending character string data when handshaking is enabled with the SSB pin set Low As described previously enabling handshaking ensures that character string data is sent without omitting character to memory in the center IC In this case the user system program of the center IC must obtain character string data from memory in synchronization with scan timing For the example in Figure 4 5C note the following 1 If character string data is simply obtained from memory in synchronization with the scan timing character string data including duplicated characters like may be read because the third character cannot reach at the third scan 2 At the third scan the corresponding satellite IC causes an error that can be recognized by a nonre sponding flag bit in the control word in the center IC 3 If the above error occurs ideally it should be handled by the algorithm that does not read data How ever since scanning is very fast and such handling must be set for each satellite IC program execu tion speed may not follow scan speed Based on the above cautions a method for easily creating the program algorithm for the center IC is shown below The input pin Di consists of 16 pins If eight pins are used to input a character code 8 bit information eight pins are le
22. 5 of the MKY34 outputs an internally used driving clock The clock signal output from the Co pin can be connected directly to the Xi pin pin 62 of the succeeding MKY34 The driv ing clock output from the Co pin does not stop even when the RST pin is Low even when hardware reset is activated Using this cascade connection of the Xi pin eliminates the need for components including oscillators for individual MKY34s resulting in reduced components 4 2 4 Cascade Connection of RXD Pin The serial pattern signal of the CP transmitted by the center IC that is input to the RXD pin is output directly to the RXDN pin pin 50 The signal output from the RXDN pin can be connected directly to the RXD pin of the succeeding MKY34 Using this cascade connection of the RXD pin simplifies the signal patterns on the circuit board with the MKY34 4 2 5 Cascade Connection of TXE Pin and TXD Pin When inputting the output signal from the TXD pin of multiple satellite ICs to one TRX driver as shown in Figure 4 10 the output signals from the TXE pin and TXD pin must be passed through the AND gates and are then synthesized by the OR gates The active output states of the pin must also be synthesized by the OR gates and then connected to the enable inputs of the TRX driver NE 2 Fig 4 10 Connection of and TXD Signals of Multiple MKY34s The MKY34 has a TXEN pin pin 52 and TXDN pin pin 51 with circuits equivalent to these AND and
23. Address Mode pin pin 44 of the 34 For the conditions to set Low to the OAM pin refer to 4 3 5 1 Digital Filter and 4 5 1 Setting Battery backup Function 4 In the subsequent MKY34 with 3FH last 63rd satellite addresses cannot be cascade con 3 nected Chapter 4 Expanded Functions of MKY34 9T ECHNICA 4 3 General purpose 6 channel Counter This section describes item 5 Has 6 channel 16 bit binary up counter The user can use a digital filter to prevent miscounting as described in 1 4 2 Expanded Functions The expanded function in this section operates when 1 to 6 or 9 to are specified as the command of the center IC operated by the user system program Reference ual for the center IC connecting the MKY34 To understand this function refer to the description of the control word in User s Man 4 3 1 Function of General purpose 6 Channel Counter The 6 channel 16 bit binary up counter is incremented by 1 each time one Low to High change is detected in the signal input to the PiO to Pi5 Pulse input 0 to 5 pins pins 74 to 79 The counter value ranges from 0 to 65535 0000H to FFFFH returning to 0000H from FFFFH This 6 channel 16 bit binary up counter is not cleared even if a hardware reset is activated Using the backup function described in 4 5 Battery backup Function the value can be kept Figure
24. Counting switches that may cause chattering of less than 20 ms requires a filter clock of more than 10 ms less than 100 Hz If the MKY34 has a baud rate of 6 Mbps a 91 Hz clock signal is output from the Co2 pin and can be used as the signal source for the filter clock Counting pulse signal of about 10 ms generated by photo interrupter unaf fected by external noise about 2 ms pulse This requires a filter clock of more than 1 ms less than 1 kHz If the MKY34 has a baud rate of 6 Mbps a 732 Hz clock signal is output from the Co2 pin and can be used as the signal source for the filter clock Counting number of ON times of mechanical contact If chattering of less than 150 ms may occur in a mechanical contact a filter clock of about 75 ms less than 13 3 Hz is required If the MKY34 has a baud rate of 6 Mbps an about 11 4 Hz about 88 ms clock can be generated by frequency dividing a 91 Hz clock signal output from the Co2 pin into 1 8 with another logic component This clock can be used as the signal source for the filter clock to remove chattering of less than about 176 ms Chapter 4 Expanded Functions of MKY34 9T ECHNICA 4 4 Serial ID Send Function This section describes item 6 Has 16 bit Serial IDentification Register SIDR described in section 1 4 2 Expanded Functions The expanded function in this section operates when 7 and F are spec ified as the command of the center IC operat
25. L max loH max loL max 12 max go lt lt lt o lt lt 5 13 13 5 5 Fig 2 2 Pin Electrical Characteristics in I O Circuit Types of MKY34 Chapter 3 Connecting Basic Functions of MKY 34 This chapter describes the pin functions and connections required to operate the basic functions of the MKY34 3 1 3 2 3 3 3 4 3 5 3 6 3 7 Driving ClOCK em 3 3 Hardware ocius sisiime cti td 3 4 Setting Satellite Addresses eese 3 5 Connecting Network Interface T 3 6 16 Input Pins Divas ic 3 8 16 Output Pins DO lu 2 3 8 Connection Example of MKY34 Basic Functions 3 9 Chapter 3 Connecting Bacsic Functions of MKY34 HNICA CO LTD Chapter 3 Connecting Basic Functions of MKY34 This chapter describes the pin functions and connections required to operate the basic functions of the 4 3 1 Driving Clock This section describes the MKY34 driving clock 3 1 1 Self generation of Driving Clock The MKY34 can be connected to an oscillator to self generate a driving clock In this case connect the oscillator to the Xi pin pin 62 and Xo pin pin 61 The frequency of driving clock to be generated must be four times greater than
26. R 48 TXDN 49 Te 50 501 57 Driving clock 60 Supply a frequency SLD 162 of four times the baud rate Example 24 MHz for 6 Mbps 61 If a baud rate of 12 Mbps 777 is needed connect an oscillator 10kQ Hardware reset When focusing 4 7 uF power supply stability mount 777 ZZ a voltage detection reset IC 64 63 7 7 42 Insert bypass capacitor 777 43 such as laminated ceramic capacitor of about 0 1 uF between power pins 777 777 22 21 i Connect TEST pin to GND Fig 3 4 Connection Example of Basic Functions T STE HNICA CO LTD MKY34 User s Manual Chapter 4 Expanded Functions of MKY34 This chapter describes the pin functions and connections required to operate the expanded functions of the MKY34 4 1 4 2 4 3 4 4 4 5 Setting Strobe Signal and its Application 4 3 Cascade Connection 4 12 General purpose 6 channel Counter 4 15 Serial ID Send Function 4 21 Battery backup Function J J 4 24 Chapter 4 Expanded Functions of MKY34 9T ECHNICA Chapter 4 Expanded Functions of MKY34 This chapter describes the pin functions and connections required to operate the expanded functions of the MKY34 Refer
27. acity batteries such as lithium ion or nickel cadmium batteries Table 4 2 Measurement Results of Battery backup Time Unit V CBACK NEC FYLOH103Z 5 5 V 0 01F NEC FYLOH223Z 5 5 V 0 022F NEC FYLOH473Z 5 5 V 0 047F TECHNICA CO LTD MKY34 User s Manual 55 O SPT401 I T O 67 a 5 TXD 41 5 5 2 65 5 SPT401 SN751177 46 5 3 1 2 47 O 3 53 o SB d gt 41 18 4 37 38 NEL MES 4 33 kQ pull down SN751177 m u ca e 41 6 1 7 75 5 Point A 1 E x 2SA1015 77 3 2 4 gt 7 p 16 22 42 64 78 z 2 73 84 79 0 1 uF A 200 1 15 21 31 51 2 2 2 50 HC245 43 56 63 80 10 5 ou 2 777 277 83 8 9 2 141 16 77 3 13 7 Point B 4 12 8 39 5 11 9 10 2 25 1815 7 silicon diode N 19 15pF 6 52 8 9 24 MHz DE 1 5 41 4 12 A SN751177 245 15pF LG A 10 HRST 270 30 47 ZZ 32 to 35 14 171020 0084011 SLD 60 x 23026 12015 59 7 45 1 501 58 Open s STB1 57 STB2 50 TXEN Fig 4 19 Circuit for Measuring Battery backup Time Chapter 5 Ratin
28. ade connection Cascade connection of the MK Y34 is explained using the example in Figure 4 9 C Code output to to 5 is code input to IAO to IA5 to which 1 is automatically added These parts are unnecessary for a When not cascade connecting the MKY34 second and later MKY34 be sure to fix the TXEN and TXDN pins at Low Third Satellite address setting with DIP SW Second MKY34 777 E 165 4 66 67 168 69 270 Z i r1 5 Xi Co 1 Oscillator Xo OAM MA 16 bit input 16 bit output 48 inputs 48 outputs in entire satellite module V 2 Fig 4 9 Cascade Connection Example 4 2 2 Cascade Connection of SAs The MKY34 has six pins to OAS Output Addresses 0 to 5 that output the hexadecimal values set at the SA setting pins to IAS with 1 added By connecting the signals output from IOAO to OAS pins 36 to 41 of the preceding MKY34 directly IAO to IAS of the succeeding MKY34 the succeeding MKY34 can be positioned as the next SA of the preceding MKY34 This cascade connection of satellite addresses eliminates the need for components such as address setting Switch DIP SW for individual MKY34s resulting in reduced components Chapter 4 Expanded Functions of MKY34 9T ECHNICA 4 2 3 Cascade Connection of Xi Pin The Co Clock out pin pin 4
29. an 8TXI time Xi 48 MHz about 167 ns e Example 1 When the baud rate is 12 Mbps Xi 48 MHz the upper limit is 3 MHz duty ratio 5096 pulse width about 167 ns e Example 2 When the baud rate is 6 Mbps Xi 24 MHz the upper limit is 1 5 MHz duty ratio 5096 pulse width about 334 ns STE HNICA MKY34 User s Manual 4 3 5 Counting with OAM Pin Set Low When the OAM pin is set Low signal of selector A in Figure 4 12 selected a digital filter in the MK Y34 is inserted Fig 4 12 4 3 5 1 Digital Filter Figure 4 14 shows the concept of the digital filter operation The digital filter operates with a clock called a filter clock and it differs from a driving clock of any frequency supplied to the FC1 to FC3 Filter Clock to 3 pins pins 36 to 38 It consists of two stages of shift registers The two stages of shift registers sample the signal input to the Pi pin according to the rising edge of the filter clock When an OAM pin is a Low level the filter clocks supplied from the FC1 to FC3 pins are responsible for handling the PiO to Pi5 pins Signals with low noise tolerance e g chattering are ignored Passage of time FC1isresponsiblefor handling Pi0 and FC2is responsible for handling Pi2 and Pi3 FC3is responsible for handling and Pi5 po ee oe E Timing to count up The signal is received only when its level is O L
30. attery backup Time 4 26 Fig Appendix 1 Internal Block Diagram of App 3 Fig Appendix 2 Schematic Diagram of MKY34 Function App 4 vii Tec As MKY34 User s Manual Tables Table 2 1 Pin Functions of MKY934 u J J J J J 2 4 Table 2 2 Electrical Ratings of 4 2 7 Table 3 1 Correspondence between Driving Clock and Baud Rate 3 4 Table 4 1 Functions of MKY34 Selected Commands 4 16 Table 4 2 Measurement Results of Battery backup 4 25 Table 5 1 Absolute Maximum Ratings U u u J J 5 3 Table 5 2 Electrical Ratings retra iii 5 3 Table 5 3 AC Characteristics Measurement Conditions esses 5 4 viii Chapter 1 Outline of MKY34 This chapter describes the outline of the MKY34 in the Hi speed Link System HLS dal Role Of MKY 3d iii ria ci 1 3 1 2 Procedure for Operating 1 4 1 3 MKY34 Response Tim e
31. ditions 5 9 Appendix Appendix 1 Internal Block Diagram of App 3 Appendix 2 Schematic Diagram of MKY34 Function App 4 vi MKY34 User s Manual DTECHNICA SHE Figures Fig 1 7 R le OfMKYI4A c 1 3 Fig 2 1 _ Pin Assignment rr ria is 2 3 Fig 2 2 Pin Electrical Characteristics I O Circuit Types of 2 8 Flg 3 1 Connecting 3 3 Fig 3 2 Hardware Reset fee 3 4 Fig 3 3 Recommended Network Connection 3 7 Fig 3 4 Connection Example of Basic Functions eere 3 9 Fig 4 1 Example of Watchdog Timer Circuit Using STB1 4 4 Fig 4 2 Update Timing of Output Pin Do ener 4 5 Fig 4 3 SSA Pin Setting and Update Timing 4 6 Fig 4 4 Timing of STB2 Strobe Signal Generation 4 7 Fig 4 5A Operation with No riores ido 4 8 Fig 4 5B Handsha
32. ed by Commands Function of MKY34 Data stored in response packet Samples 010 to Di15 pin states State of DiO to Di15 pins Memory area in center IC Samples value of counter ch1 Four digit hexadecimal value of counter ch1 Samples value of counter ch2 Four digit hexadecimal value of counter ch2 Samples value of counter ch3 Four digit hexadecimal value of counter ch3 Samples value of counter ch4 Four digit hexadecimal value of counter ch4 Samples value of counter ch5 Four digit hexadecimal value of counter ch5 Samples value of counter ch6 Four digit hexadecimal value of counter ch6 Samples value of SIDR Value of SIDR 16 bits Samples 010 to Di15 pin states State of DiO to Di15 pins Resets value of counter ch1 to 0000H 0000H Resets value of counter ch2 to 0000H 0000H Resets value of counter ch3 to 0000H 0000H Resets value of counter ch4 to 0000H 0000H Resets value of counter ch5 to 0000H 0000H Resets value of counter ch6 to 0000H 0000H Samples value of SIDR Value of SIDR 16 bits Chapter 4 Expanded Functions of MKY34 9T ECHNICA 4 3 3 Input Pins Pi0 to Pi5 Pins of Count Signals The to Pi5 pins pins 74 to 79 of the 34 are Schmitt input buffers A time constant circuit to pre vent chattering can be connected directly to the Pi0 to 15 pins Fix the unused pins of the 10 to Pi5 pi
33. ed by the user system program To understand this function refer to the description of the control word in User s Man CE C EE ual for the center IC connecting the MKY34 4 4 1 Applications of Serial ID Send Function The input pin Di and output pin Do of the MKY34 are usually I O ports that are to be controlled by the user system program operating the center IC In contrast the serial ID send function allows sending IDenti fication codes such as ID data to the center IC Traditionally the user system that identifies an object by ID codes had to have a network for remote control and a network line to send data including ID codes sepa rately In addition the center equipment of the user system had to have the capability to operate these dis similar networks individually The 4 provides expanded functions that enable integrated operations under these conditions Fig 4 16 Fig 4 16 Example of Use of Serial ID Send Function 4 4 2 Overview of Serial ID Send Function IDentification codes are input serially to the 16 bit Serial IDentification Register SIDR in the MKY34 from the SDI pin pin 58 SCK pin pin 59 and SLD pin pin 60 The succeeding input is not accepted until the ID codes input to the SIDR information are correctly to the center IC after the MKY34 receives command packet CP of command 7 or command The SE pin pin 57 of the MKY34 outputs the status indicating that IDentificati
34. ence value in the center IC which is operated by the user system program To understand the Some expanded functions described in this chapter operate according to the command expanded functions refer to the description of the control word in User s Manual for the center IC that the MKY34 is connected to 4 1 Setting Strobe Signal and its Application This section describes how to use the following three functions among the expanded functions described in 1 4 2 Expanded Functions 1 Has CLR pin that sets output pin Do Low 2 Has strobe output pins that indicate timing when to update output pins Do and receive input pins Di The user can also design peripheral circuit based on each update timing 3 Can set handshake to ensure link with center IC STE HNICA CO LTD MKY34 User s Manual 4 1 1 CLR Pin Function The MKY34 has a CLR CLeaR pin pin 14 that can set forcibly the output pin Do Low When a High level is input to CLR pin the states of DoO to Do15 pins go Low In normal operation design so that a Low level is input to the CLR pin The state of the MKY34 output pin Do is updated each time the MKY34 inputs the command packet CP from the center IC transmitted to the address matching the SA set by to IAS correctly However if scan ning is stopped for reasons such as the disconnection of a network cable or center IC faults the output state of the output pin Do is kept continuousl
35. evel where signals with low recognized continuously for two more samples noise tolerance etc ignored Fig 4 14 Digital Filter Circuit Operation By the digital filter function the signal input to the Pi pin is recognized to be correct High level only when it is kept High continuously for two or more clocks of the filter clock The same is true for recognition of a Low level Signals passed through the digital filter are shaped into signals with high noise tolerance because low noise level change are removed The digital filter supplied with a filter clock of the correct frequency can be used for a user system in which the user can arbitrarily select to prevent count errors caused by noise and small level changes When the OAM pin is set Low signal of selector A in Figure 4 12 selected the output of the digital filter is connected to the input of the DC latch via the selector The DC latch samples the input on the rising edge of the 1 8 divide by 8 frequency driving clock When the output of the DC latch changes from Low to High the value of the 16 bit binary up counter is incremented by 1 Consequently input signals to the Pi pin that can be counted should have a longer High level and Low level width than two periods of the filter clock and 8TXI time Xi 48 MHz about 167 ns Caution When Low is set to the OAM pin the backup function described in 4 5 Battery backup Function is also selected Set
36. ft When a character counter is used for these eight input pins Di the program algorithm for the center IC can be created easily Figure 4 6 shows a example of using the high order one byte 8 bits of data as a character counter Center Satellite Command STB2 Response 1 A STB2 2 B STB2 3 2 lt a Character counter is 2 which means e data is previous one before updating STB2 is not generated C is retried automatically STB2 4 D STB2 5 E JAJA Fig 4 6 Sending with Character Counter Used STE HNICA CO LTD MKY34 User s Manual 4 1 5 3 Caution for Using Handshaking 1 In the HLS the handshaking function is intended to send data sampled by the satellite IC to the center IC without loss This will cause a difference in data arrival at the center IC between when an error occurs in the response packet and when an error occurs in the command packet An example of sending character string data is shown If an error occurs in the response packet Figs 4 5C and 4 6 the letter C does not arrive at link failure and does arrive at the next normal scan In contrast if an error occurs in the command packet Fig 4 7 the letter B arrives at the center IC twice at the scan before or after link failure Satellite Command STB2 1 1 STB2 2 2 p STB2 is not generated Di is not sampled STB2 is not ge
37. g pulse width of input signal 1 51 x TBPS 2 0 TBPS 2 49 x TBPS Allowable pulse width as RZ signal S TECHNICA Co LTD MKY34 User s Manual 5 2 3 Strobe l O Pin Timing DoO 0015 STB1 010 0115 STB2 CLR STB1 SSA pin Lo 00 015 SSA pin Hi TSTB Tbis STB2 gt 2 TSTB TSTB STB2 010 0115 Passage of time High level width of strobe signal Do data transition time Di data setup Di data hold High level sensing of CLR pin Chapter 5 Ratings S TECHNICA Co LTD 5 2 4 Count Input Filter Clock Timing Pi0 to Pi5 FC1 to FC3 TPIW Pi0 Pi5 TPIW TFCW FC1 FC3 TFCW Passage of time Symbol in Remarks 8 x 10 Pin Low 2 x TFCW 8 x TXI 10 OAM Pin High Time for keeping count input level Time for keeping filter clock level TFCW gt TXI 5 2 5 Input Timing of Serial ID Send Function SDI SCK SLD SE 1505 TSDH lt SDI TSCH SCK Tsel TSLH SLD TSEL SE SDI Setup SDI Hold SCK High level width SCK Low level width SLD High level width SE Response time S TECHNICA Co LTD MKY34 User s Manual 5 3 Package Dimensions MKY 34 84 pin QFP 22 9 0 4 18 0
38. gs This chapter describes the ratings of the MKY34 5 1 Electrical unica ra CE ERR MIS 5 2 AC GharacterisliCS ucro 5 3 Package Dimensions eee 5 4 Recommended Soldering Conditions 5 5 Recommended Reflow Conditions Chapter 5 Ratings S TECHNICA CO LTD Chapter 5 Ratings This chapter describes the ratings of the MKY34 5 1 Electrical Ratings Table 5 1 lists the absolute maximum ratings of the MKY34 Table 5 1 Absolute Maximum Ratings y oy Parameter Power supply voltage 0 3 to 7 0 Input voltage i Vss 0 3 to VDD 0 3 Output voltage Vss 0 3 to VDD 0 3 Peak output current Not Type A Peak 20 Peak output current Type A Peak 40 Allowable power dissipation 570 Operating temperature 40 to 85 Storage temperature 55 to 150 Table 5 2 lists the electrical ratings of the MKY34 Table 5 2 Electrical Ratings T 25 C Vss 0V Parameter Conditions Operating power supply voltage Vi VDD or Vss Xi 50 MHz output open Mean operating current Vi VDD or Vss Xi 24 MHz output open External input frequency Input to Xi pin Oscillation operating frequency Xi Xo oscillator connecting gt VI VDD or Vss Oscillation feedback resistance VDD 5 0 V Input p
39. hapter 2 MKY34 Hardware ST ECHNICA CO LTD Table 2 2 and Figure 2 2 shows the electrical ratings of the MK Y34 pins Table 2 2 Electrical Ratings of MKY34 Negative logic VDD Do12 Do13 Do14 0015 Di8 019 Di10 Di11 GND Di12 Di13 Di14 Di15 OAO FC1 1 2 2 5 4 1 5 2 VDD o uxiojoa ajo n gt gt gt gt 1 1 10 10101 1 101 gt gt gt gt D D D D D D D D D gt gt gt 01 1 1 1 1 1 STE HNICA CO LTD MKY34 User s Manual CMOS level output With high impedance control CMOS level output With high impedance control Type B Type A min min V loH max loH max loL max i loL max IZ max t 12 max CMOS level output CMOS level input With high impedance control Schmitt trigger Type C VoH min Vt max VoL max typ loH max Vt loL max min Iz max AVt min liL max CMOS level input output Schmitt trigger ven ViL max Vt Type F lt lt max typ liL max Vt typ min AVt min max li
40. higher bit is discarded 3 When the rising edge signal is input to the SLD pin the MKY34 recognizes the completion of setting to the SIDR The SE pin of the MKY34 keeps Low to notify that the serial ID send function has started This causes a DREQ Data REQuest signal to be generated as a serial ID send request to the center IC and is also notified to the user system program operating the center IC 4 Design a user system program operating the center IC so that the center IC issues command 7 or command F to permit sending of SIDR information when a serial ID send request from the MKY34 is detected 5 In response to the for command 7 or command F issued from the center IC MKY34 returns the RP containing SIDR information to the center IC 6 Design a user system program operating the center IC so that the center IC reads SIDR information obtained from the 7 area after returning to command 0 7 After completing correct sending of SIDR information to the center IC the MKY34 changes the SE pin from Low to High and completes one serial ID send function Reference DI EE or command F is protected by handshaking Therefore even if the CP or RP is damaged Sending and receiving between the center IC and MKY34 corresponding to command 7 by some failure including external noise the serial ID send function is completed cor rectly by the center IC
41. in executed O Counterch6 FC3 pin Filter for ch6 CLR HA a When command E executed OAMpin OAM Hi Directly OAM Lo Digital filter Divide by 8 clock Input to FC1 FC3 possible Dividing circuit aa 2 Q18 91 Hz Xi 24 MHz CLR lt Hardware reset DOCE Cot pin ais Operating clock 732 Hz Xi 24 MHz CIK 24 MHz Xi 24 MHz NS Fig 4 15 Block Diagram of Counter Function S TECHNICA Co LTD MKY34 User s Manual 4 3 5 3 Signal Source of Filter Clock In the user system either an oscillator of the correct frequency or an auxiliary clock output signal from the 4 can be used as the signal source for the filter clock The 1 32768 divide by 215 frequency of the driving clock input to the Xi pin is output from the Col pin pin 40 of the MKY34 and the 1 262144 divide by 218 frequency is output from the Co2 pin pin 41 Fig 4 15 The clock signal output from the Col or Co2 pin can be used directly as the signal source for the filter clock This clock signal can also be used for purposes other than the signal source of the filter clock Caution The clocks output from the Col and Co2 pins stop when a hardware reset is activated 4 3 5 4 Examples of Selection of Filter Clock Frequencies Examples of selection of filter clock frequencies are shown below e Example 1 e Example 2 e Example 3 Counting push button switches
42. in at High or Low when the filter clock is not input Positive Pin to input clock for filtering signals input to Pi4 and Pi5 pins when OAM pin Low Fix this pin at High or Low when the filter clock is not input Positive Input pin to put MKY34 in battery backup mode when OAM pin Low Usually fix this pin at Low Positive Input a High level for the battery backup of the MKY34 When the MKY34 is placed in battery backup mode all output pins except the Xo pin enter the high impedance state Pin to output a driving clock frequency divided by 32768 Positive when OAM Low Example Xi 24 MHz gt Col 732 Hz Pin to output a driving clock frequency divided by Positive 262144 when OAM pin Low Example Xi 24 MHz Co2 91 Hz Input pin to select functions of pins 36 to 41 When using the MKY34 battery backup function and the function for filtering the Pi input set this pin Low Set this pin High at all other times Positive Positive Pin to output a driving clock Input a High or Low level for selection of strobe signal Positive o re s functions to this pin Continue Chapter 2 MKY34 Hardware TEP S TECHNICA Co LTD Table 2 1 Pin Functions of MKY34 Continued Positive Input a High or Low level for selection of strobe signal functions to this pin Positive Output pin that outputs High level pulse of strobe signals indicating timing to update state of general purpose out
43. in capacitance Output pin capacitance VDD METON f 1 MHz 25 pin capacitance Rise fall time of input signal Rise fall time of input signal Schmidt trigger input S Tic HNICA CO LTD 4 User s Manual 5 2 AC Characteristics Table 5 3 lists the measurement conditions for AC characteristics of the MKY34 Table 5 3 AC Characteristics Measurement Conditions Output load capacitance Power supply voltage Temperature 5 2 1 Clock and Reset Timing RST Xi TXI Passage of time Xi 7 TxiL TRST Xi HRST Clock period width Clock High level width Clock Low level width Reset enable Low level width 10 x TXI Chapter 5 Ratings TEP S TECHNICA Co LTD 5 2 2 Baud Rate Timing TXE TXD RXD TTXEH TXE RZ RZ 1 RZ 0 RZ 0 RZ TXD TBPS TBPS RZ RZ 1 RZ 0 RZ 0 RZ RXD gt TRWW TRWW Passage of time Baud rate 12 Mbps Xi 48 MHz Short pulse width of sending signal 83 33 5 6 Mbps Xi 24 MHz 166 67 5 Period in which pin goes High 3 Mbps Xi 12 MHz 142 x TBPS 5ns 333 33 5 142 x TBPS 142 x TBPS 5ns Remarks Short pulse width of input signal 0 51 x TBPS 1 0 TBPS 1 49 x TBPS Allowable pulse width as RZ signal Lon
44. king Disabled l u u u u 4 8 Fig 4 5C Handshaking Enabled U U U U uu uu uuu uuu u 4 8 Fig 4 6 Sending with Character Counter Used eene 4 9 Fig 4 7 Operation at CP Failure 4 10 Fig 4 8 Send of Di Pin State in Command Circulation 4 11 Fig 4 9 Cascade Connection Example eese enne 4 12 Fig 4 10 Connection of and TXD Signals of Multiple MKY3As 4 13 Fig 4 11 General purpose 6 channel 16 bit Binary Up counter 4 15 Fig 4 12 Equivalent Circuit in MKY34 where Signals Reach Count up Input 4 17 Fig 4 13 Counting with OAM Pin Set High eene 4 17 Fig 4 14 Digital Filter Circuit Operation u 4 18 Fig 4 15 Block Diagram of Counter Function eese 4 19 Fig 4 16 Example of Use of Serial ID Send Function eese 4 21 Fig 4 17 Procedure for Use of Serial ID Send Function 4 22 Fig 4 18 Conceptual Diagram of Peripheral Circuits for MKY34 Battery backup 4 24 Fig 4 19 Circuit for Measuring B
45. lication 4 3 4 1 1 CER Pin F nction 25i e eode dad deua 4 4 4 1 2 STB1 Pin F nctiOn necnon aiii ee ces eade c Os acp 4 5 4 1 3 Time to Sample State of DiO Di15 Pins STB2 Pin 4 6 4 1 4 Setting Strobe Signal Timing SSA Pin 4 6 4 1 5 Enabling Disabling Handshake SSB Pin l u 4 7 4 1 5 1 Example of Handshaking Effectiveness 4 8 4 1 5 2 Cautions for Sending Character String Data sees 4 9 4 1 5 3 Caution for Using Handshaking 1 4 10 4 1 5 4 Caution for Using Handshaking 2 4 11 S TECHNICA Co LTD 4 User s Manual 42 Cascade ConnecLoli sawas 4 12 4 2 1 Cascade Connection Example l l u u u u 4 12 4 2 2 Cascade Connection of SAs u u u u 4 12 4 2 3 Cascade Connection of Xi Pin 4 13 4 2 4 Cascade Connec
46. mm pitch 84 pins QFP 1 4 2 Expanded Functions 1 Has CLR pin that sets output pins Do Low 2 Has strobe output pins that indicate timing to update output pins Do and receive input pins Di The user can also design peripheral circuits based on each update timing 3 Can set handshake to ensure link with center IC 4 Can connect satellite ICs directly by cascade connection 5 Has 6 channel 16 bit binary up counter The user can use a digital filter to prevent miscounting 6 Has 16 bit Serial IDentification Register SIDR 7 Can backup 6 channel 16 bit binary counter and SIDR values by using battery T STE HNICA CO LTD MKY34 User s Manual Chapter 2 MKY34 Hardware This chapter describes the MKY34 hardware such as pin assignment pin functions and circuit types Chapter 2 MKY34 Hardware ST ECHNICA CO LTD Chapter 2 MKY34 Hardware This chapter describes the MK Y34 hardware such as pin assignment pin functions and I O circuit types Figure 2 1 shows the MK Y34 pin assignment MKY34 84 pins QFP 52 4 51 TXDN 50 4 RXDN 49 4 STB2 44 4 OAM 43 4 GND m lt 0 0 OW uin 48 STB1 45 4 Co VDD 64 1 5 1165 VDD OA5 Co2 4 66 OA4 Co1 CI 67 5 2 Coles OA2 FC3 69 37 1 2 S E ECHNICA 227 RST
47. ne twisted pair cable Fig 3 3 Full duplex mode Equivalent to SN751177 MKY34 Pulse transformer Two twisted pair cables with impedance of 100 Q Connect a 100 Q termination resistor to the end of the network cables Connecting the resistor before or after the pulse transformer has the same effect Half duplex mode MKY34 Equivalent to ADM1485 Network cable Pulse transformer One twisted pair cable with impedance of 100 Q Connect a 100 O termination resistor to the end of the network cables Connecting the resistor before or after the pulse transformer has the same effect Fig 3 3 Recommended Network Connection The High level signal output from the TXE pin pin 55 of the network interface can be NISUS used to detect that the center IC is scanning It can also be used to check the operation of the user system using the HLS and measure the response speed Background information to help build network cables is described in Hi speed Link Sys tem Technical Guide For more information about how to select components or to get recommended components visit our Web site at www steptechnica com STE HNICA CO LTD MKY34 User s Manual 3 5 16 Input Pins Di The 34 has 16 input pins Di0 to Dil5 The state of the input pins is copied directly to the memory address corresponding to the SA in the Di area in the center IC Di0 pin 6 corresponds to data bit 0 and Di15 pin 35 corre
48. nerated Di is not sampled Character counter is p 2 which means data 2 B B is retried automatically is previous one before updating STB2 3 C 3 C STB2 4 D 4 D M Fig 4 7 Operation at CP Failure As shown in this example in both cases the data sampled by the satellite IC is sent to the center IC without loss However based on the difference in data arrival at the center IC the user system program must handle data in the center IC memory Placing a character counter of at least two or more bits as described in 4 1 5 2 Cautions for Sending Character String Data near the MKY34 can help the user system pro gram to deal with to this problem Chapter 4 Expanded Functions of MKY34 4 1 5 4 Caution for Using Handshaking 2 When the SSB pin pin 47 is set to enable the hand shaking and when the user system executes com mands other than 0 or 8 basic function specified for the MKY34 no strobe signal is out put from the STB2 pin Sending character srting data requires some extra time including scanning time during execution of commands other than command 0 or 8 For example if the HLS is operated only by command 0 at a baud rate of 6 Mbps with FS 8 in full duplex mode a strobe signal is output from the STB2 pin at an interval of 242 us However assuming that the HLS is operated with automatic command circulation set by the center IC the command circulate
49. ng drift in power supply to power pins after the MKY34 is turned on In a user system that must deal with an unintended start of the serial ID send function when the MKY34 is powered on use the user system program operating the center IC to issue dummy command 7 In a backup battery protected MK Y34 an unintended start of the serial ID send function never occurs when the MKY34 is powered on if countermeasures to prevent input of an invalid rising edge signal to the SLD pin are taken in the circuit connected to the MKY34 S TECHNICA Co LTD MKY34 User s Manual 4 5 Battery backup Function This section describes the item 7 Can backup 6 channel 16 bit binary counter and SIDR values by using battery described in section 1 4 2 Expanded Functions 4 5 1 Setting Battery backup Function When a High level signal is input to the STOP pin pin 39 while the OAM pin pin 44 is Low the values of the 6 channel 16 bit binary up counter and the SIDR can be kept in the MKY34 by the backup battery power Figure 4 18 shows a conceptual diagram of the peripheral circuit for battery backup of the MKY34 Setbackup mode Inputto STOP pin enabled At STOP when the signal 3 1 4 is High all output pins Adouble layer capacitor or high capacity aluminum enter the high impedance electrolytic capacitor can be used as ahigh capacity E state capacitorforbackup Selectthe capacitor accordi
50. ng to the shape and 44 backup time gt More than 5 5 V 0 01 F DA VDD 0 V gt TXD 2 1015 Laminated ceramic gt RXDN capacitor etc 51 pa 200 gt SE 1 gt STB2 7 7 gt STB1 2 1815 10 gt 777 TIT gt OA5 Co2 Placethese parts nearthe MKY34 c innt a i BR gt 4 1 L General purpose silicon diode 62 Xi gt 16 M to 1 0015 The clockis stopped atbackup 61 VDD of MKY34 777 External clock supply method EA um When the main power suppl ie 777 i Main power supply Oscillator turned off the VDD 5 0 V tostabilize the inputlevel i 1 E OUT 62 Xi Main power supply 1047 GND P D 61 VDD 5 0 V i 777 33 to 100 Xo 777 Opened B Main power supply 22 2222 VDD 5 0V P D A5 33 kO to 100 kQ Main power supply A3 XXX E VDD 50 V A1 111 RST 71 R6 10 22 33 4 7 uF 7 7 7 7 Fig 4 18 Conceptual Diagram of Peripheral Circuits for MKY34 Battery backup Chapter 4 Expanded Functions of MKY34 9T ECHNICA 4 5 2 Operation and Connection for Battery backup When the MKY34 enters the backup mode all output pins enter the high impedance state and all functions enter sleep mode For battery backup follow the following pin connections 1 Stop clock input in the Xi pin pin 62 to reduce consumption current 2
51. ns at High or Low A pull up or pull down resistor should be connected to pins reserved for future use Figure 4 12 shows an equivalent circuit in the 34 where signals input from the 10 to Pi5 pins reach the count up input of the counter Passage of signals input from the Pi0 to Pi5 pins through a digital filter is determined according to the setting of the OAM Out Address Mode pin pin 44 Pin To count up input of counter S Lo DC latch D Q Selector igital fi 1 8 frequency driving clock Fig 4 12 Equivalent Circuit in MKY34 where Signals Reach Count up Input 4 3 4 Counting with OAM Pin Set High When the OAM pin is set High signal of selector B shown in Figure 4 12 selected the signal input to the Pi pin is connected to the input of the DC latch via the selector The DC latch samples the input on the rising edge of the 1 8 divide by 8 frequency driving clock When the output of the DC latch changes from Low to High the value of the 16 bit binary up counter is incremented by 1 Fig 4 13 Highly responsive to even narrow input signals al 1 P 7 Internal sample clock M 1 1 1 M Divide by 8 clock of Xi Timing to count up E y S ta Passage of time Fig 4 13 Counting with OAM Pin Set High Consequently the input signals to the Pi pin that can be counted should have a longer High level and Low level th
52. nter IC e Example 1 The state of the input pin Di of the MKY34 at SA 1 01H is stored at address 02H in the Di area of memory in the center IC e Example 2 The state of the input pin Di of the MKY34 at SA 63 3FH is stored at address 7 in the Di area of memory in the center IC e Example 3 The data at memory address 9 in the Do area in the center IC is output to the output pin Do of the MKY34 at SA 14 There are no limitations on physical network arrangement such as setting the SA values in the order in which they are closer to the center IC If the center IC has two input pins RXD1 and RXD2 there are no rules such as which pin network the MKY34 in which specific SA values are set is connected to Caution The different SA values must be set to all satellite ICs connected to one center IC The SA value cannot be set to O0H Even if the SA value of 00H is set to a satellite IC by mistake the system is not adversely affected but the satellite IC is not scanned by the center IC STE HNICA CO LTD MKY34 User s Manual 3 4 Connecting Network Interface The network interface network I F pins of the MK Y34 consist of RXD pin 53 pin 55 and TXD pin 54 3 4 1 Details of RXD TXE and TXD Pins In the MK Y34 the pin inputs a command packet CP from the center IC Connect the driver receiver components in the network so that a serial pattern
53. of MKY34 Function Va Connect a termination resistor to the end of the network cable 16 bit general purpose input Di0 Di15 i CMOS level Schmitt input 16 bit general purpose output i CMOS Level Do0 Do15 Driven at 15 mA ue esce A Half duplex moder Kept Low from power on M till completion of first receive TXD 54 4 Equivalent to ADM1485 i I x General purpose Pulse transformer 6ch counter input Pio Pi5 6 P NOS Q CMOS level RXD I B Schmitt input 2 2 777 EE DIS Network cable Satellite IC 22 e upply a frequency of four times MKY34 61 the transfer rate Xo Example 24 MHz at 6 Mbps If a transfer rate of 12 Mbps is 45 Serial input 16 bit data transfer 71 10 needed connect an oscillator 58 RST D gt Hardware reset DI 22 5 4 7 When focusing on power supply stability mount a voltage detection reset IC IAQ IAS Set the satellite address High level 1 Low level 0 591 sck fl 60 sip Signal indicating availability 57 of data reception Handshaking with center IC receivable when High A CLADE EC mem 64 Set according to the binary code 73 005 VDD 01H 63 GND 16 77 15 GND 42 Insert bypass capacitor VDD such as laminated ceramic capacitor 177 GND 43 of about
54. on codes are input to the SIDR SE pin Low or that the SIDR is ready to accept input SE pin High S TECHNICA Co LTD MKY34 User s Manual 4 4 3 Procedure for Use of Serial ID Send Function Th is section describes the procedure for use of the serial ID send function See Figure 4 17 7 Data in the SIDR is sentas soon DREQ as the command 7 or command F Passage oftime fromthe center IC is received Correct data arrival is verified 0 by receiving the next CP 7 SE The SE returns to High level SDI 15 0141013012 0111010 09 D8 07 06 05 04103102 D1 DO SLD Aload signal is inserted while the clock is Low Fig 4 17 Procedure for Use of Serial ID Send Function 1 IDentification codes can be input to the SIDR in the MK Y34 only when the SE pin pin 57 is High When the SE pin is Low signal input to SDI SCK and SLD pins is ignored 2 The SDI and SCK pins are input pins for the SIDR in the MKY34 The state of the SDI pin is read to the SIDR consisting of 16 bit shift registers in synchronization with the rising edge of the clock sup plied to the SCK pin If the rising edge of the clock is less than 16 times some previous information of the SIDR remains shifted in the high order bit If the rising edge of the clock is more than 16 times information overflow to the
55. onditions apply to hot air reflow or infrared reflow Temperature indi cates resin surface temperature of the package T STE HNICA CO LTD MKY34 User s Manual Appendix Appendix 1 Internal Block Diagram of MKY34 Appendix 2 Schematic Diagram of MKY34 Function Appendix S TECHNICA Co LTD Appendix Appendix 1 Internal Block Diagram of MKY34 1 0 1 5 0 5 Shared pin bits Address 6 bits 1 Address 6 TXDN TXEN RXDN lt V Latch CLR RXD STB1 4 Satellite IC core TXD 5782 lt STB SSA Controller 558 Data input selection Command code output OSC 2 1 Data input unit Di 16 bits System Y 16 bits clock Co Clock output Latch 16 bit data selector Command decoder controller Shared pin Cor 1 N gt Co2 e bit binary FIG up counter EA 16 bit binary QD Shared pin Pi2 16 bit binary up counter 16 bit binary Fit up counter Shared ch5 16 bit data FC3 el lt SE SDI 16 bit data SCK register SLD Pi4 ch6 16 bit data 16 bit binary QD o up counter i Input selection lt e OAM Selection of shared pin function Shared pin STOP V 3 STE HNICA MKY34 User s Manual Appendix 2 Schematic Diagram
56. r Operating 1 4 1 3 MKY34 Response ii 1 4 1 4 Features or ad 1 5 1 4 1 Features of Basic Functions of MKY34 as Satellite IC HLS 1 5 1 4 2 Expanded F rictions 1 5 Chapter 2 Hardware J J 2 3 Chapter 3 Connecting Basic Functions of MKY34 9 1 Driving u 520 3 3 3 1 1 Self generation of Driving Clock u u u 3 3 3 1 2 Supplying Generated Driving Clock l u u 3 4 3 2 Hardware su dd 3 4 3 3 Setting Satellite Addresses eec erre in et 3 5 3 4 Connecting Network Interface 3 6 3 41 Details of TXE and TXD Pins J J 3 6 3 4 2 Recommended Network Connection u 3 7 3 5 16 Input Pins AA 3 8 3 6 16 Output Pins M 3 8 3 7 Connection Example of MKY34 Basic Functions 3 9 Chapter 4 Expanded Functions of MKY34 4 1 Setting Strobe Signal and its App
57. retry Chapter 4 Expanded Functions of MKY34 9T ECHNICA CO LTD 4 4 4 Caution for Using Serial ID Send Function This section describes the caution for using the serial ID send function 1 The SIDR is backed up by a battery Consequently once started the serial ID send function does not stop even if an MKY34 hardware reset is activated The function can be terminated only by com mand 7 or command F issued from the center 2 When inputting a rising edge signal to the SLD pin set the SCK pin Low If a rising edge signal is input to the SLD pin when the SCK pin is High one more bit of the state of the SDI pin is read to the SIDR consisting of shift registers The SDI SCK and SLD pins have Schmitt type input buffer The SCK and SLD pins are triggered on the edge of the signal A time constant circuit can be connect near these pins to prevent input of 3 illegal external edge signals to them 4 When not using the serial ID send function keep the SDI and SCK pins High or Low and the SLD pin Low 5 The frequency of the clock supplied to the SCK pin must be lower than the frequency supplied to the Xi pin 6 s In an MKY34 that is not protected by a backup battery the serial ID send function may be started at power on even if the function is not used This event is the same state as where a rising edge signal 1 input to the SLD pin within the MKY34 due to abnormal event includi
58. rmine whether the time up time in the example of the watchdog timer circuit shown in Figure 4 1 is appropriate for the user system Chapter 4 Expanded Functions of MKY34 9T ECHNICA Reference EE for the center IC that the MKY34 is connected to For details of the scan time scan pausing and single scan refer to the User s Manual Caution The CLR CLeaR pin pin 14 tends to respond to the High level input The Do0 to Do15 pins go Low as soon as a very short High level pulse including noise is input to the CLR pin When designing a user system prevent High level signals from entering the CLR pin by using a capacitor of about 0 1 connected to GND near the CLR 4 1 2 STB1 Pin Function Each time the MKY34 inputs the command packet CP matching the SA from the center IC correctly it outputs data in the CP to the output pin Do of the MKY34 The state of the output pin Do is updated at the central timing of the pulse like strobe signal from the STB1 STroBe 1 pin pin 48 Fig 4 2 The function of this STB1 pin can be used to notify a circuit connected to the output pin Do that the output state is updated G N The state of the output pin Do is updated at the central timing of STB1 signal Previous Do data 0 New Do data Do0 15 Passage of time gt STB1 1 2 TSTB TSTB is 8 clock intervals of the driving clock 333 3 ns at 24 MHz S Fig
59. s from 0 to 6 and the output interval of a strobe signal from the STB2 pin seven times longer 1 69 ms than that at which the HLS is operated only by command 0 Fig 4 8 TEP S TECHNICA Co LTD M Satellite Command 0 Center STB2 Di pin state sent Response data to command 0 Di pin state stored in memory Response Command 4 y Response data to command 1 stored in memory Response Command 2 y Response data to command 2 stored in memory Response C d S Di pin state read after seven scans y Response data to command 3 stored in memory Response Command 4 y Response data to command 4 stored in memory Command 5 y Response data to command 5 stored in memory Response Command 6 y Response data to command 6 stored in memory Response Y STB2 Di pin state sent Command 0 Response data to command 0 Di pin state stored in memory Response Fig 4 8 Send of Di Pin State in Command Circulation STE HNICA CO LTD MKY34 User s Manual 4 2 Cascade Connection This section describes 4 Can connect satellite ICs directly by cascade connection in 1 4 2 Expanded Functions 4 2 1 Cascade Connection Example Some peripheral components can be reduced when cascade connecting more than one MK Y34 The MK Y34 has dedicated pins that facilitate casc
60. sly returned RP correctly and the sampled state of the input pin Di is embedded in the RP If the center IC has not input the previously returned RP correctly the MKY34 neither outputs a strobe sig nal to the STB2 pin nor samples the state of the input pin Di In this case the previously sampled stated of the input pin Di is embedded in the RP again Figure 4 4 shows the timing of generating the STB2 strobe signal in the MKY34 with five satellites and 2 in half duplex mode Since Do data is added to commands Passage of time the Do output pin of the MKY34 is updated at every scan 1 2 3 4 5 1 3 Response 1 In a case where handshaking is set if this response does not arrive at the center IC the next STB2 signal is not generated Fig 4 4 Timing of STB2 Strobe Signal Generation In a user system in which real timeness is essential when a sensor is connected to the input Reference y pin Di and so on disable handshaking S TECHNICA Co LTD MKY34 User s Manual 4 1 5 1 Example of Handshaking Effectiveness This section describes an example of the effectiveness of handshaking with the center IC Center Satellite Some user systems may want to send character string data STB2 to the center IC in synchrony with the strobe signal output recognized A sent from the STB2 pin For example when transferring charac STB2
61. sponds to data bit 15 which link as 16 bit word data to memory in the center IC The Di0 to Dil5 pins have Schmitt input buffers and can be connected directly to time constant circuits for chat tering prevention Caution If any I O input pins of the DiO to 0115 are unused in the user system they cannot be left open Fix them at High or Low pins to be used for future should be connected to a pull up or pull down resistor When a command in the command packet CP issued from the center IC is not 0 or 8 basic function specified and the user system program performs the operation using the expanded functions of the MK Y34 described later data at the 210 to Dil5 pins is not sent to the Di area When a command in the CP issued from the center IC is 0 or 8 and High level is input to the CLR pin at the right time to get states of the input pins 010 to 2115 FFFFH data is sent to the Di area 3 6 16 Output Pins Do The MKY34 has 16 output pins DoO to Do15 When the MKY34 inputs the CP correctly which contains one piece of the data in the Do area in the center IC memory issued from the center IC and when the address of the CP matches the SA set by IAO to IA5 the MKY34 outputs updates the data contained in the CP to the output pins Do0 to Do15 of the MKY34 The data output to the I O output pins is kept until next updated The Do0 pin 80 corresponds to bit O of the 16 bit word data in the Do area
62. ss d B ter string data consisting of the 5 characters ABCDE to i STB2 passage the input pin Di of the MKY34 at each output of the STB2 E Ds assagi strobe signal Fig 4 5A a character may be omitted in the STB2 character string data obtained by the center IC when hand p shaking with the center IC is disabled For example if there pl sme 1 interference including external noise in the network dur E ing sending the letter and the RP is discarded at the 2 Fig 4 5A Operation with No Failure center IC the STB2 strobe signal is output at the next scan Consequently the center IC receives the character string data ABDE C omitted Fig 4 5B In contrast when handshaking is enabled the STB2 strobe signal is not output at the next scan even when the RP is discarded at the center IC and character will not be omitted Fig 4 5C f C Center Satellite Command Center Command Satellite STB2 STB2 A A esponse Response p STB2 STB2 Non updated data Non updated recognized STB2 data left 0 5 2 C lost 2 STB2 Error in control word m STB2 not generated 22 mx C retried automatically STB2 inp S IB2 E E pa E D STB2 V Fig 4 5B Handshaking Disabled Fig 4 5C Handshaking Enabled Chapter
63. the STOP pin pin 39 Low While the STOP pin is High the MKY34 enters the backup mode and all operations stop When using the cascade connection of SAs described in 4 2 2 Cascade Connection of SAs High is set to the OAM pin of the MKY34 and no digital filter can be inserted Chapter 4 Expanded Functions of MKY34 4 3 5 2 Use of Digital Filters TEP S TECHNICA Co LTD The digital filter for the Pi0 and Pil pins pins 74 and 75 functions by supplying a filter clock to the pin pin 36 The digital filter for the Pi2 and Pi3 pins pins 76 and 77 functions by supplying a filter clock to the FC2 pin pin 37 The digital filter for the Pi4 and 15 pins pins 78 and 79 functions by supplying a fil ter clock to the FC3 pin pin 38 The digital filters can be divided into three groups for insertion according to the target counter Fig 4 15 7 FC1 Group PIO pin T Q no Counter ch1 Filter for ch1 When command 9 oe executed Pit Counter ch2 FC1 pin Filter for ch2 CLR DEL TEUER a When command FC2 Group Pi2pin Q Counter ch3 i 8 1 When command B Pi3pin 9 executed im Counterch4 FC2pin gt CLR i When command C executed Pi4 pin i DO Counter ch5 Filter for ch5 gt CLR When command D Pi5p
64. tion of RXD Pin l l u u u u 4 13 4 2 5 Cascade Connection of TXE Pin and TXD Pin 4 13 4 2 6 Caution for Cascade Connection l l u u u u 4 14 4 3 General purpose 6 channel Counter eese 4 15 4 3 4 Function of General purpose 6 Channel Counter 4 15 4 3 2 Sending and Clearing of General purpose 6 channel Counter Values 4 16 4 3 3 Input Pins to Pins of Count Signals 4 17 4 3 4 Counting with OAM Pin Set High l u u u 4 17 4 3 5 Counting with OAM Pin Set Low U rca 4 18 4 3 5 1 Digital Ele do 4 18 4 3 5 2 Use of Digital Filters 4 19 4 3 5 3 Signal Source of Filter Clock eese u u 4 20 4 3 5 4 Examples of Selection of Filter Clock Frequencies 4 20 4 4 Serial ID Send Function IU U u eese u u J J 4 21 4 4 1 Applications of Serial ID Send Function 4 21 4 4 2 Overview of Serial ID Send Function
65. using the serial ID send function Positive Clock input pin for serial ID send function Fix this pin at Low when not using the serial ID send function Positive Input pin for serial ID send function to input signal indi cating completion of serial ID input Fix this pin at Low when not using the serial ID send function 61 Positive Pin for oscillator connection 62 Positive Pin for connection of oscillator or generated clock IA0 to 145 70 to 65 Positive Input pins to assign satellite addresses Set the positive logic hexadecimal values 1 to 63 01H to 3FH assuming a High level to be 1 A5 is MSB Continue S TECHNICA CO LTD MKY34 User s Manual Table 2 1 Pin Functions of MKY34 Continued Negative MKY34 Hardware reset input pin Keep this pin Low for 10 or more clocks of the Xi pin frequency right after power on or when resetting hard ware intentionally TEST 72 Positive Be sure to connect this pin to GND manufacturer test pin Pi0 to 74 to 79 Positive Input pins for general purpose 6 channel counter Fix the inputs of unused counters at High or Low 16 22 42 64 73 84 Power pin connected to 5 0 V 1 15 21 31 43 56 63 Power pin connected to Note Pins prefixed with are negative logic active Low The pins with numbers suffixed by an asterisk are to be selected when the OAM pin is Low C
66. with the states of the input pin Di and output pin Do of the MK Y34 essentially matches the scan time of the HLS which is very short For example in a user system that must detect the exact position of each box on a belt conveyor if four MKY34s are connected to the center IC and position detection sensors are connected to the input pins Di of all MK Y34s the status of 64 sensors 16 sensors x 4 MK Y34s is stored to memory in the center IC with a scan time interval of 60 7 us 12 Mbps full duplex keeping data up to date This speed remains unchanged even if the farthest MK Y34 is 100 m distant Even if the position detection sensors are placed at every 5 cm they can detect the position of every box on the belt conveyor without mistakes even when the conveyor runs at 823 m s gt 2900 km h Reference For details of the scan time refer to Scan Time in User s Manual for the center IC connecting the MKY34 Chapter 1 Outline of MKY34 S TECHNICA Co LTD 1 4 Features of MKY34 This section describes the basic and the expanded functions of the MKY34 1 4 1 Features of Basic Functions of MKY34 as Satellite IC in HLS 1 Has 16 input pins Di and 16 output pins Do 2 Supports baud rates of 12 6 and 3 Mbps 3 Supports full and half duplex modes 4 Has six pins to set satellite addresses SA for any one of 63 terminals at 01H to 3FH 5 Operates on 5 0 V single power supply and available in 0 8
67. y At this time no strobe signal is output from the STBI pin as described in 4 1 2 STB1 Pin Function In a user system in which the state of the output pin Do is kept inappropriately when scanning is stopped the MKY34 can use the CLR pin to forcibly clear the state of the output pin Do Low level Figure 4 1 shows an example of clearing the state of the output pin Do in the watchdog timer circuit using STB1 and CLR signals C Example of watchdog timer circuit using STB1 XI 24 MHz MKY34 Q10 43 7 ms CLK 011 87 4 ms HC4020 HC4020 A one shot multivibrator is also available for here The TXE pin can be used instead of STB1 Time up time is extended by the response packet Fig 4 1 Example of Watchdog Timer Circuit Using STB1 Generally the time up time of a watchdog timer needs to be set longer than the allowable time of multiple scan times However the time up time in the example of the watchdog timer circuit shown in Figure 4 1 may be inappropriate in the following cases 1 For the user system where HUBs are inserted into network One scan time increases according to the inserted number of HUBs 2 When user program operating center IC pauses scanning 3 When user program operating center IC uses single scan and starts single scan according to inappro priate timing for time up time of watchdog timer 4 When user program operating center IC stops scanning intentionally The user should dete
Download Pdf Manuals
Related Search
Related Contents
Philips 32PFL3230 32" HD-ready Black Panasonic KX-NCP500 Work Light User Manual Jøtul GF 3 BF2 Web-Server OZW772... V5.2 取扱説明書(0.2MB) Workforce Census Module - Health & Social Care Information Centre Audiovox VM9114 Owner's Manual Avaya 16xx Telephone User Manual FM2A58+ BTC Philips DTR2010 Digital Terrestrial Receiver Copyright © All rights reserved.
Failed to retrieve file