Page 1
STD-HLS33-V6.4E Hi-speed Link System Center IC MKY33 User’s Manual...
Page 2
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.
Page 3
MKY33 User’s Manual Preface This manual describes the MKY33, or a kind of center IC in the Hi-speed Link System. Be sure to read “Hi-speed Link System Introduction Guide” before understanding this manual and the MKY33. In this manual, the Hi-speed Link System is abbreviated as “HLS.”...
Recognition of Link Status (1) ................. 2-11 2.4.1.4 Recognition of Link Status (2) ................. 2-12 2.4.1.5 How To Recognize Link Status between Satellite ICs and MKY33 ....2-12 2.4.2 Receiving non-Di Data (Individual Data by Expanded Functions)......2-13 2.4.2.1 Relationship between Commands and Response Data Storage Areas ..2-13 2.4.2.2...
Page 5
Initializing MKY33 when using battery-protected MKY34........2-20 Operating MKY33 for MKY35................2-21 2.7.1 Handling of MKY35....................2-21 2.7.2 Examples of Using MKY33 Di/Do Areas for MKY35 ..........2-21 Operating MKY33 for MKY37................2-22 2.8.1 Handling of MKY37....................2-22 Chapter 3 MKY33 Hardware ................3-3...
Page 6
4.4.7.1 Maintaining End of Access................4-18 4.4.7.2 Word Access when Connecting 8-bit User Bus ..........4-18 Connection of MKY33 User-support Functions ..........4-19 4.5.1 Pins Indicating Scan Timing (SCANR and SCANW) ..........4-19 4.5.2 Output of CHK1 Pin ....................4-20 4.5.3...
Page 8
Response Data Storage Areas for Commands .......... 2-13 Table 2-3 MKY34 Functions Selected by Commands and Data ........ 2-18 Table 2-4 Correspondence Issued by MKY33 of MKY37 Commands....... 2-22 Table 3-1 Pin Functions of MKY33................. 3-4 Table 3-2 Electrical Ratings of MKY33 ................3-7 Table 4-1 Access Time by Fixed-time Method ............
Chapter 1 Outline of MKY33 This chapter describes the outline of the MKY33 in the Hi-speed Link System (HLS). 1.1 Role of MKY33................1-3 1.2 Procedure for Operating MKY33 ..........1-4 1.3 Features of MKY33 ................1-5...
Guide” before understanding the MKY33 and this manual. Connect the MKY33 to the user CPU by using a bus connection. The MKY33 serves as memory for the user CPU. The user CPU can control all states of systems constituting the HLS by read/write access to the MKY33 (memory).
MKY33 allocated to each function. Steps (1) to (3) above is equivalent to the initialization of the MKY33. Steps (4) and (5) above refer to the basic procedure for operating the MKY33. Step (6) above is the applied use of the MKY33. This applied use will certainly help the user system programmer and system engineer to effectively use the functions of the HLS for the user system.
Chapter 1 Outline of MKY33 1.3 Features of MKY33 Features of Basic Functions of MKY33 as Center IC in HLS (1) Can be connected to 8/16-bit CPU (2) Can be connected to big/little endian CPU (3) Has dynamic arbiter enabling much faster user CPU access time...
This chapter describes software for using the MKY33. It assumes the environment has been created, enabling access to the MKY33 from the user system program through the connection between the user CPU and the MKY33 based on the descriptions in “Chapter 4 Connecting MKY33” .
) in the Write Right column in the above table has the following meanings: The MKY33 memory has some areas that are write-protected when a valid FS (Final Satellite) value is writ- ten to the SCR (System Control Register) at address 000 to start scanning.
MKY33. When the user CPU starts scanning by the MKY33, the upper byte of each control word in the control area of the MKY33, the Di area, and the C1 to C7 areas for user-support functions are write-protected as indi- cated in the “Write Rights”...
Chapter 2 MKY33 Software 2.2 Areas for Basic HLS Functions Only the System Control Register (SCR), Do area and Di area in the memory map indicated in Table 2-1 perform the basic HLS functions. Various user-support functions to use the HLS more effectively are allo- cated to other areas.
This section describes initialization, start, and basic operation of the MKY33. 2.3.1 Initialization Before turning on the MKY33, set a regulator circuits (such as DIP switches) that regulates the input level of the pin to determine communication mode (full duplex or half duplex) and baud rate. (For details, refer to , and “4.3.1 Selecting Communication Mode Using FH Pin”...
)” respond to a scanning and become available when the user system reads and writes data from and to each area in the mem- ory map of the MKY33. In this case, the scan time is calculated by an equation with “FS = 30 (1E )”.
MKY33 User’s Manual 2.3.2.5 Scan time The MKY33 scan time can be calculated by equations below. These equations are determined by the fol- lowing three elements including the values that the user system program writes to the System Control Regis- ter (SCR).
Chapter 2 MKY33 Software 2.3.3 Basic Operation The user system program can operate the satellite IC connected to MKY33 by read access or write access to each area in the memory map during scanning. For example, writing 135A word data to the memory address 082 , the 16-bit I/O output pin of the satellite IC with “SA = 01...
MKY33 User’s Manual 2.4 User-support Functions This section describes the user-support functions of the MKY33. The following areas in the memory map of the MKY33 are allocated for user-support functions. Control area from addresses 002 to 07F ii. C1 to C7 areas from addresses 180 to 4FF iii.
2.4.1.3 Recognition of Link Status (1) If the MKY33 cannot receive any response packet (RP) from the satellite IC after scanning, the number of consecutive nonresponses is counted as “the number of consecutive nonresponse” in bits 12 to 14 in the con- trol word.
2.4.1.4 Recognition of Link Status (2) If the MKY33 receives a response packet (RP) from the satellite IC after scanning, the number of consecu- tive nonrespose set to the control word, and the RX-CHK1 flag bit and RX-CHK2 flag bit are cleared to “0”...
“2.3 Initialization, , command is set to “0”. Start, and Operation of MKY33” 2.4.2.1 Relationship between Commands and Response Data Storage Areas When command 1 is set, response data received by response packet (RP) from the satellite IC is stored in the C1 area on the memory map.
MKY33 User’s Manual 2.4.2.2 Use of Commands 1 to 6 and Command Options If the user system program sets any of commands 1 to 6, the designated command continues to execute until the user system program rewrites. When the user system program wants to execute any of commands 1 to 6 just once and return the command immediately to 0, simultaneously set “1”...
IC, the DREQ from the satellite IC is cleared. If a DREQ is generated by any satellite IC that the MKY33 is linked to, the output of DREQ pin goes High when receiving a response packet (RP) from the satellite IC generating the DREQ. The rising edge of the DREQ pin output can be used as an interrupt trigger to the user CPU.
). The RX-CHK1 bit in the control word transits from “0” to “1” at the first nonresponse. This state is described as the “occurrence of CHECK-1”. The MKY33 has a CHK1 pin that outputs pulse signals for a given time when CHECK-1 occurs. For details of the CHK1 pin, refer to “4.5.2 Output of CHK1 Pin”...
2.5.2 Relationship between Response Speed and Command Data set in the Do area of the MKY33 memory is sent to the satellite IC at every scan, regardless of the type of executed command. Therefore response speed remains unchanged. On the other, there is only one type of response data corresponding to one command during a scan, which is received by a response packet (RP) from the satellite IC, and in the Di area and C1 to C7 areas of the MKY33 memory.
Data on the expanded functions of the MKY34 can be obtained individually by using a command to specify the function of the MKY34 for the control word in the control area of the MKY33 corresponding to the SA (Satellite Address) where the MKY34 is connected (refer to “2.4.2 Receiving non-Di Data (Individual...
Chapter 2 MKY33 Software 2.6.3 Example of Using Commands for MKY34 Example 1: When monitoring counter ch1 of MKY34 with “SA = 3” regularly and clear- ing if necessary Step 1: Usually, set command 0 to address 006 and refer to the Di area at address 106 Step 2: Use the interval timer, etc.
, write 00 to DREQR (Data REQuest Reset) at address of the MKY33 when DREQs from all satellite ICs are cleared. 2.6.5 Initializing MKY33 when using battery-protected MKY34 If the user uses the MKY34 satellite IC with battery-protected, StepTechnica recommends the user recog- nize the state of the advanced function corresponding to each command in the MKY34 by initializing the MKY33.
The MKY35 has eight operation modes: IO modes 1 to 6, and PWM (Pulse Width Modulation) modes 1 and 2. MKY35 pins select these modes to set. The meanings of data set to the Do area of the MKY33 and data returned to the Di area vary according to each mode.
MKY33 User’s Manual 2.8 Operating MKY33 for MKY37 This section describes how to operate the MKY33 for the MKY37, or a kind of satellite IC. Refer to before understanding this section. “MKY37 User’s Manual” 2.8.1 Handling of MKY37 From the viewpoint of the MKY33 operation system, the MKY37 satellite IC supports only the Do and Di pins, the HLS basic functions.
Chapter 3 MKY33 Hardware This chapter describes the MKY33 hardware, such as pin assignment, pin functions, and I/O circuit types.
Page 41
Chapter 3 MKY33 Hardware Chapter 3 MKY33 Hardware This chapter describes the MKY33 hardware, such as pin assignment, pin functions, and I/O circuit types. Figure 3.1 shows the MKY33 pin assignment. 3 - 3...
Page 42
Negative To read the MKY33, set this pin Low at the right time. Write control pin connected to user bus To write to the MKY33, set this pin Low at the right time. #UWR Negative If this pin signal or #UCS pin signal goes High when both are Low, UD0 to UD15 bus data are input to the MKY33.
Page 43
Set this pin Low or leave it open when connecting to a 16- bit user bus. Driving clock input pin (48 MHz recommended) Positive Input pin that selects MKY33 baud rate BPS0 Positive Input pin that selects MKY33 baud rate...
MKY33 User’s Manual Table 3-1 Pin Functions of MKY33 (Continued) Pin name Pin No. Logic Function Output pin that goes High for a given time when CHECK-1 CHK1 Negative signal generated Output pin that goes High for a given time when CHECK-2...
Chapter 3 MKY33 Hardware Table 3-2 and Figure 3.2 shows the electrical ratings of the MKY33 pins. Table 3-2 Electrical Ratings of MKY33 (#: Negative logic) Name Type Name Type Name Type Name Type #MWR UD12 UD13 RXD1 UD14 RXD2...
This chapter describes the pin functions and how to connect MKY33 required for the MKY33 to operate as a center IC in the HLS. It consists of the following six categories to provide a clear understanding of the pin functions and how to connect.
Page 49
(5) Connecting MKY33 User-suppot Functions (6) Connecting Example of MKY33 When connecting the MKY33, be sure to connect the TEST pin (pin 61) to the GND pins. Be sure to con- nect all the V pins (pins 22, 42, 64, 73, 84) to the 5.0-V power supply, and all the GND pins (pins 1, 21, 31, 43, 62, 63) to the 0-V power supply.
(1) Fix the MS pin (pin 67) of the MKY33 at High. (2) Connect the MA0 to MA10 pins (pins 49, 51, 52, 54, 56, 57, 59, 65, 60, 58, 53) of the MKY33 to the A0 to A10 pins of the BRAM. If the memory capacity of the BRAM is large, there will be unused address input pins.
4.2.2 Supplying Hardware Reset Signal When a Low level signal is supplied to the #RST (ReSeT) pin (pin 39), the MKY33 is hardware-reset. If a period in which the Low-level signal has been supplied is less than “one clock”, the signal is ignored to pre- vent malfunction.
In the MKY33, the TXD pin outputs a serial pattern signal for a command packet (CP) transmitted to the sat- ellite IC. If the MKY33 is set to full-duplex mode, the TXE pin is always High. If the MKY33 is set to half- duplex mode, the TXE pin is High only while the TXD pin outputs the serial pattern signal for the CP to the satellite IC.
Chapter 4 Connecting MKY33 4.3.4 Recommended Network Connection Figure 4.3 shows the recommended network connection. The TRX consists of an RS485-based driver/ receiver (LSI driven at 5.0 V) and pulse transformer. Recommended network cables include Ethernet LAN cables (10BASE-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 one twisted-pair cable.
MKY33 User’s Manual 4.3.5 Setting Baud Rate The MKY33 baud rate is determined by the settings of the BPS0 pin (pin 76) and BPS1 pin (pin 77). Figure 4.4 shows the baud rates corresponding to the settings. When both the BPS0 and BPS1 pins are kept Low, the baud rate is “1/4” of the clock frequency supplied to the EXC pin (pin 78).
When connecting an 8-bit user bus, the MKY33 has a function (#SWAP pin) to absorb the above address differences. When the #SWAP pin is Low, the MKY33 inverts a signal level input to the A0 pin internally recognizes the level. When the #SWAP pin is Low and an 8-bit and big-endian user bus indicates address 000 , the MKY33 recognizes “address 001...
(4) Connect data signals D0 to D7 of the user bus to the UD0 to UD7 pins (pins 13 to 16 and pins 23 to 26) of the MKY33. Since the UD8 to UD15 pins (pins 17 to 20 and pins 27 to 30) of the MKY33 are...
MKY33. (5) Connect the RD signal of the user bus to the #URD pin (pin 33) of the MKY33, the WR signal to the #UWR pin (pin 34). When the #CS pin (pin 32) of the MKY33 is Low, the RD and WR signals of the user bus are activated.
When the MKY33 recognizes the read and write accesses in (1) and (2) above, the ACK pin (pin 35) of the MKY33 changes from High to Low. The ACK pin changes from Low to High when the access from the user bus finishes (Fig.
4.4.6 Access Time The time for access to the MKY33 memory from the user bus can be fixed or variable. This section details the access time, referring to the access processing and internal workings of the MKY33. A time (such as “450 ns”) defined in this section is explained, assuming that “48 MHz”...
4.4.6.3 Fixing Access Time If the #DAE pin of the MKY33 is kept Low and its #DAEA pin High, the dynamic arbiter is always enabled. In this case, the access time of the user bus is fixed at the longest time as described in step (3) in “4.4.6.1...
(1) The MKY33 recognizes the High-level input of the #DAE pin as access from the user bus. (2) The MKY33 requires “450 ns” to read data transmitted to the satellite IC from the BRAM or to write data received from the satellite IC to the BRAM, which is required for scanning.
MKY33”. In addition, the signal must not exceed the allowable time shown in Table 4-3, including the time for the user bus to access the MKY33. To generate such a signal by a signal output from the user CPU, the following signal may be used, which “goes High while the user CPU accesses memory space other than...
#DAE pin goes Low when the user bus accesses devices other than the MKY33. Using the #DAEA pin can reduce the logic gate components shown by the dotted lines in Figure 4.14.
Therefore, a non-access period of about “43 ns” is required after one access to the MKY33 finishes (Fig. 4.15). This is not a major problem for con- necting to a commonly-used user bus. However, take this into consideration when designing the user system so that the MKY33 is accessed only in the logic circuit without using the CPU.
This section describes the functions of the SCANW (SCAN Write) pin (pin 80) and SCANR (SCAN Read) pin (pin 81). The MKY33 scans from the “Satellite Address (SA) = 1” up to Final Satellite (FS) address written to the SCR (System Control Register). The user system can recognize whether the MKY33 scans correctly by monitoring the SCANW pin and SCANR pin.
MKY33 User’s Manual 4.5.2 Output of CHK1 Pin The MKY33 has a CHK1 (CHecK-1) pin (pin 82) that outputs a pulse signal that goes High for “2 ” (approx. 82 ns at Xi = 48 MHz) when the RX-CHK1 bit of the control word becomes “1” from “0” (, that is, new nonresponse from the satellite IC occurs).
4.6 Connection Example of MKY33 Figure 4.17 shows an example of the MKY33 connected to a 16-bit user bus. It shows the connection in both full- and half-duplex modes. The baud rate is 6 Mbps. The pins of user-support function are left open.
Chapter 5 Ratings Chapter 5 Ratings This chapter describes the ratings of the MKY33. 5.1 Electrical Ratings Table 5-1 lists the absolute maximum ratings of the MKY33. Table 5-1 Absolute Maximum Ratings (Vss = 0 V) Parameter Symbol Rating Unit Power supply voltage -0.3 to +7.0...
MKY33 User’s Manual 5.2 AC Characteristics Table 5-3 lists the measurement conditions for AC characteristics of the MKY33. Table 5-3 AC Characteristics Measurement Conditions Symbol Name Value Unit Output load capacitance Power supply voltage Temperature 5.2.1 Clock and Reset Timing...
MKY33 User’s Manual 5.2.4 Access Timing without DAE Control when Connecting 16-bit Bus This section describes the access timing without DAE control when connecting a 16-bit bus. 5.2.4.1 Read Timing (without DAE control when connecting 16-bit bus) (Xi = 48 MHz)
Chapter 5 Ratings 5.2.4.2 Write Timing (without DAE control when connecting 16-bit bus) (Xi = 48 MHz) Symbol Name Min. Max. Unit Bus change setup Bus change hold DAE Setup DAES DAE delay DAED Address setup Address hold Access to access (Full) Write access (Half)
MKY33 User’s Manual 5.2.5 Access Timing with DAE Control when Connecting 16-bit Bus This section describes the access timing with DAE control when connecting the 16-bit bus. 5.2.5.1 Read Timing (with DAE control when connecting 16-bit bus) (Xi = 48 MHz)
Chapter 5 Ratings 5.2.5.2 Write Timing (with DAE control when connecting 16-bit bus) (Xi = 48 MHz) Symbol Name Min. Max. Unit Bus change setup Bus change hold DAE Setup DAES DAE delay DAED Address setup Address hold Access to access (Full) Internal access disable (Half)
MKY33 User’s Manual 5.2.6 Access Timing without DAE Control when Connecting 8-bit Bus This section describes the access timing without DAE control when connecting a 8-bit bus. 5.2.6.1 Read Timing (without DAE control when connecting 8-bit bus) (Xi = 48 MHz)
Chapter 5 Ratings 5.2.6.2 Write Timing (without DAE control when connecting 8-bit bus) (Xi = 48 MHz) Symbol Name Min. Max. Unit Bus change setup Bus change hold DAE Setup DAES DAE delay DAED Address setup Address hold Access to access (Full) Write access (Half)
MKY33 User’s Manual 5.2.7 Access Timing with DAE Control when Connecting 8-bit Bus This section describes the access timing with DAE control when connecting the 8-bit bus. 5.2.7.1 Read Timing (with DAE control when connecting 8-bit bus) (Xi = 48 MHz)
Chapter 5 Ratings 5.2.7.2 Write Timing (with DAE control when connecting 8-bit bus) (Xi = 48 MHz) Symbol Name Min. Max. Unit Bus change setup Bus change hold DAE Setup DAES DAE delay DAED Address setup Address hold Access to access (Full) Internal access disable (Half)
MKY33 User’s Manual 5.2.8 Buffer RAM Access Timing (Xi = 48 MHz) Symbol Name Min. Max. Unit Memory read access Read to write Write to read Write pulse Address data setup Address data hold 5.2.9 Output Timing of CHK1, CHK2, SCANR, and SCANW...
Chapter 5 Ratings 5.3 Package Dimensions The current release of MKY33 package is “MKY33A”, indicating a bug-fixed, improved version from the released product in earlier stages of development. 5 - 15...
MKY33 User’s Manual 5.4 Recommended Soldering Conditions Parameter Symbol Reflow Manual soldering iron Temp. Peak temperature (resin surface) 260 C max. 350 C max. Peak temperature holding time 10 s max. 3 s max. (1) Product storage conditions: T = 30 C max., RH = 70% for prevention of moisture absorption (2) Manual soldering: Temperature of the tip of soldering iron 350 C, 3 s max.
MKY33 User’s Manual Appendix 2 Scan Time Table Appendix Table 2 Scan Time Based on FS Values and Baud Rates (Unit: 12 Mbps 6 Mbps 3 Mbps FS Value FULL HALF FULL HALF FULL HALF 1 (01 ------- 29.50 ------- 59.00...
Page 89
Revision History Version No. Date Page Contents February 2021 2-18 2.6.2 Using Expanded Functions of MKY34 Corrected errors in number of channels for 16-bit binary up counters 4-21 Corrected errors in pin numbers illustrated in Figure 4.17...
Page 90
Developed and manufactured by StepTechnica Co., Ltd. 757-3, Shimo-fujisawa, Iruma-shi, Saitama 358-0011 TEL: 04-2964-8804 FAX: 04-2964-7653 https://www.steptechnica.com/ info@steptechnica.com Hi-speed Link System Center IC MKY33 User’s Manual Document No.: STD-HLS33-V6.4E Issued: February 2021...
Need help?
Do you have a question about the MKY33 and is the answer not in the manual?
Questions and answers