background image

                                                 

 

 

 

 

Summary of Contents for I2C-SPI

Page 1: ......

Page 2: ...Requirements 4 1 4 Hardware Introduction 5 2 Hardware Installation and Software Installation 6 2 1 Hardware Installation 6 2 2 Software Installation 9 3 User Interface 13 3 1 I2C Mode 13 3 2 SPI Mode...

Page 3: ...S Logic Analyzer is the essential tool for the electronic R D persons electronic testers electrical and electronics students and personal research studio The lately issued product I2C SPI Control Cent...

Page 4: ...earest distributor 1 3 System Requirements 1 3 1 Operating System Requirements Support Non support Operating System Name Windows XP Home 32 Bit and 64 Bit Professional Editions Windows7 32 Bit and 64...

Page 5: ...I2C SPI Control Center User Manual V1 02 User Guide for Zeroplus Technology I2C SPI Control Center 5 67 FMO7I5A 1 4 Hardware Introduction Front View Right View Left View...

Page 6: ...t the I2C SPI Control Center Hardware to the PC via a USB Cable after the Software Installation has been finished 3 Connect the 10 Pin Cable and 12 Pin Cable to the I2C SPI Control Center Hardware and...

Page 7: ...to the 8 Pin Mode CLK It is used as the Clock Output in the Batch of GPIO GND It is connected to the Ground I O Status Table Mode Status Mode Switch 6 Pin In the Initial Status the I O Ctrl and the Ta...

Page 8: ...the Target Power are selected but they are forbidden to perform any operation 2 At this moment the 6 Pin Mode can not be selected in the GPIO of SPI Mode 3 When the Mode is exited in the I2C Batch Mod...

Page 9: ...er Guide for Zeroplus Technology I2C SPI Control Center 9 67 FMO7I5A 2 2 Software Installation Please install the software as the following steps STEP 1 Double click on the Setup exe icon STEP 2 Click...

Page 10: ...SPI Control Center User Manual V1 02 User Guide for Zeroplus Technology I2C SPI Control Center 10 67 FMO7I5A STEP 3 Click Next STEP 4 Select I accept the terms in the license agreement and then click...

Page 11: ...al V1 02 User Guide for Zeroplus Technology I2C SPI Control Center 11 67 FMO7I5A STEP 5 Fill in users information in the below dialog box and click Next STEP 6 Select the Complete or Custom as users r...

Page 12: ...SPI Control Center User Manual V1 02 User Guide for Zeroplus Technology I2C SPI Control Center 12 67 FMO7I5A STEP 7 Click Install to begin the installation STEP 8 Click Finish to complete the installa...

Page 13: ...Data SDA and Serial Clock SCL And two devices are required to perform the corresponding operations which are the Master and the Slave I2C Master Page Slave Address It is used to set the Address of th...

Page 14: ...Read or Write and it will keep the statuses of current Read or Write continuously At the same time the Master Device will transmit the Start command following Master Read or Write to the Bus repetitiv...

Page 15: ...he Master after pressing the Enable button and the maximum data is 64 Bytes Enable Disable When the Button is in Enable status it is used to respond the data to the Master when the Button is in Disabl...

Page 16: ...Write Data 1st or Read Data 1st the Operation Condition can be set to or Data When the length of Data is changed the Data Column will also be changed when the Condition is set to Write Data 1st or Re...

Page 17: ...the corresponding operations which are the Master and the Slave SPI Master Page Bit Rate It is used to set the communication speed between the SPI Master and SPI Slave there are seven options on the p...

Page 18: ...mode to transmit the signal Specifically when the MOSI transmits the message the MISO will receive the message at once and the length of the transmitted messages is the same with that of the received...

Page 19: ...time between two Bytes should be longer than 10uS SPI Trigger Condition Settings Two groups of the Conditions Condition1 and Condition2 for the SPI Trigger can be set at most for one time Condition1...

Page 20: ...n the Condition is set to MOSI Data 1st or MISO Data 1st the Operation Condition can be set to or Data When the length of Data is changed the Data Column will also be changed when the Condition is set...

Page 21: ...re used as the CPIO Pins the external I2C Pull Hi SW should be set to OFF GPIO Page in SPI Mode When the option Enable is selected the corresponding Pins can be set And the Settings and the Functions...

Page 22: ...as GPIO Pins At the same time the I O Ctrl and the Target Power in the Control Status are forced to set as Enable 3 When the SCL and the SDA are used as the CPIO Pins the external I2C Pull Hi SW shou...

Page 23: ...aved data is from and the modes are divided into three kinds I2C SPI and GPIO M S It is used to display which device the Read Write data is from Master M or Slave S And it is only used by I2C or SPI R...

Page 24: ...o transmit the signal by performing the written commands Notice 1 When the I2C Batch Mode or the SPI Batch Mode is used the external GPIO Mode Switch should be set to 8 Pin 2 When the GPIO Batch Mode...

Page 25: ...Transmission Speed for Data The value of the Bit Rate can be selected from the pull down menu or entered in the range between 10 and 25000 and the entered value can be changed into the optimum value...

Page 26: ...application monitored the data only and may differ from the actual time when the data was sent from the bus Data It is used to display all data in the process of Transmission I2C Monitor Mode Timing P...

Page 27: ...ng operations the I2C SPI Control Center can be used as a Master or Slave STEP 1 Connect the device and then plug the device into the USB Port on the PC STEP 2 Install the Driver automatically the Dri...

Page 28: ...e I2C Bus Pull Hi is too low it will cause to delay the time of ouputting the Low if the rather high frequency for example 833KHz appears in this condition it can avoid the state on the condition that...

Page 29: ...7 FMO7I5A STEP 2 Set the Bit Rate the value can be selected from the pull down menu and input manually on the I2C Master Page STEP 3 Read Write Data 1 Write Data on the Master End Write 16 Bit data in...

Page 30: ...5A The Write Data is displayed by the ZEROPLUS Logic Analyzer as below figure 2 Read Data on the Master End Set the Read Bytes of the data to be read and then press the Read button to read the data Th...

Page 31: ...the option No Stop is selected the Master Device won t transmit the Stop command at the final Byte of the Master Read or Write and it will keep the current Read or Write status continuously For exampl...

Page 32: ...No Stop is selected press the Write button or Read button continuously for several times and then press the Free Bus button quickly the Master Device will transmit a Stop command to the Bus which wil...

Page 33: ...ad button Remark The decoded Address Formats of the 10 Bit Address are 11110XX and XXXXXXX For example when the Address 0x2AA is set for the I2C SPI Control Center the Hexadecimal Addresses which are...

Page 34: ...s below figure Data in Binary Notation STEP 7 Select 10 Bit Address and the Combined Format the Combined Format is only suitable for the Master Read and Write When the 10 Bit Address and Combined Form...

Page 35: ...I2C SPI Control Center User Manual V1 02 User Guide for Zeroplus Technology I2C SPI Control Center 35 67 FMO7I5A The results are displayed as below figure Data in Binary Notation...

Page 36: ...er 36 67 FMO7I5A 2 The I2C SPI Control Center is used as a Slave to perform Read Write Operations STEP 1 Select the I2C Slave tab from the Software Window of Slave and then set the value of the Slave...

Page 37: ...rk When the I2C SPI Control Center is used as a Slave the data which is written in the the I2C Slave Page of the I2C SPI Control Center Software will be responded to the Master When the Respond Bytes...

Page 38: ...uld be set to 8 Pin and the I O Ctrl is used as the Output Pin of the Trigger Signal at this moment 2 When the Trigger Conditions are satisfied the transferred time from the end of the last Clock to t...

Page 39: ...e time For example the Data of the Condition1 is set to 11 and 22 Remark When the Continuity is selected the definition for the I2C Continuity is as following When the data meets the Condition1 the I2...

Page 40: ...Falling Edge and the Conditions meet the Data 11 and Data 22 synchronously the T Bar will stop at the position see the above figure 4 3 SPI Mode Notice 1 The highest CLK Bit Rate to transmit data is...

Page 41: ...us Technology I2C SPI Control Center 41 67 FMO7I5A STEP 2 Set the corresponding Trigger Conditions CPOL CPHA Bit Order and SS Polarity on the SPI Master Page STEP 3 Set the Bit Rate from the pull down...

Page 42: ...ess the Write button The results are displayed by the ZEROPLUS Logic Analyzer as below figure Notice SPI utilizes the Full duplex Transmission mode to transmit the signal Specifically when the message...

Page 43: ...trol Center 43 67 FMO7I5A 2 The I2C SPI Control Center is used as a Slave to perform Read Write Operations STEP 1 Select the SPI Slave tab on the SPI Mode from the Software Window of the Slave STEP 2...

Page 44: ...ata to be transmitted in the MISO Message area and then press the Enable button The results are displayed by the ZEROPLUS Logic Analyzer as below figure Remark When the I2C SPI Control Center is used...

Page 45: ...ld be set to 8 Pin and the Target Power is used as the Output Pin of the Trigger Signal at this moment 2 When the Trigger Conditions are satisfied the transferred time from the end of the last Clock t...

Page 46: ...the MOSI Data for Condition1 is set to 11 22 33 44 55 and 66 Remark If the Continuity is selected it denotes that two groups of data must conform to the two conditions continuously The definition for...

Page 47: ...Logic Analyzer as below figure Remark When the data meets the abovementioned set Trigger Conditions the Target Power the Pin is connected with the Trigger Signal of the Logic Analyzer will transmit a...

Page 48: ...Out 5V 2 When the 8 Pin Mode is used the external GPIO Mode Switch should be set to the 8 Pin and the Bit6 I O Ctrl and the Bit7 Target Power are used as GPIO Pins At the same time the I O Ctrl and t...

Page 49: ...Center 49 67 FMO7I5A STEP 2 Select the Mode as 6 Pin or 8 Pin And the I O Ctrl and Target Power are disabled in the 6 Pin Mode Take the 6 Pin Mode for an example STEP 3 Set the Direction to In or Out...

Page 50: ...r 50 67 FMO7I5A STEP 4 When the Direction is set to In the Pull Up can be set to On or Off When the All On or All Off is pressed all available Pins can be set to On or Off And then press the Get butto...

Page 51: ...et to Out the Out Set can be set Press the Set button to write the set values into the Device The results are displayed by ZEROPLUS Logic Analyzer as below figure In addition the Operating Steps of GP...

Page 52: ...When the Log Window is opened it will display the set information for each mode automatically STEP 1 Press the Log tab and move the Up Down Scroll or pull the bottom of the Software Window to view th...

Page 53: ...STEP 3 Move the Cursor to an entry in the information column and double click on the Right Key or select the View on the pull down menu to view the information in the Log dialog box STEP 4 Press the S...

Page 54: ...atch The operating steps of the I2C Batch are the same with that of the SPI Batch The below takes the operating steps of I2C Batch for an example 1 I2C Batch Notice When the I2C or SPI Batch Mode is u...

Page 55: ...Zeroplus Technology I2C SPI Control Center 55 67 FMO7I5A STEP 2 Move the cursor to the Batch window and then click Right key on the mouse Next press the Load option STEP 3 Open a Batch Mode from the...

Page 56: ...for Zeroplus Technology I2C SPI Control Center 56 67 FMO7I5A STEP 4 Modify the Bit Rate Slave Address and Data of the loaded file for example the original Slave Address 65535 is modified as 80 STEP 5...

Page 57: ...Analyzer as below figure 2 GPIO Batch Notice 1 When the GPIO Batch Mode is used the external GPIO Mode Switch must be set to Batch at first and then the Software must be set to GPIO Batch Mode 2 The...

Page 58: ...uide for Zeroplus Technology I2C SPI Control Center 58 67 FMO7I5A STEP 2 Open a Batch Mode file from the saved files or enter the Command by manual take the TestGPIOBatchMode txt for an example STEP 3...

Page 59: ...the Control Flag of the I2C Mode The I2CFunctionStatus consists of four flags see the below I2CFunctionStatus I2C_I2CMASTER I2C_10BITADDR I2C_COMBINEDFORMAT I2C_NOSTOP I2CFunctionStatus I2C_I2CSLAVE...

Page 60: ...Slave Mode I2CSlaveModeEnabled true l SPIFunctionStatus Set the Control Flag of SPI Mode The SPIFunctionStatus consists of five flags see the below SPIFunctionStatus SPI_MASTER SPI_POLARITY_FALLING_RI...

Page 61: ...O_PULLUPS_SPI_SS GPIO_PULLUPS_SPI_MOSI GPIO_PULLUP S_SPI_MISO GPIO_PULLUPS_SPI_SCLK GPIO_PULLUPS_I2C_SDA GPIO_PULLUPS_I2 C_SCL GPIO_PULLUPS_IOCONTROL GPIO_PULLUPS_5VCONTROL s GPIOOutputStatus Set the...

Page 62: ...0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 4 7 I2C Monitor When the I2C SPI Control Center is used for monitoring it can monitor the Transmission status of the Data betwee...

Page 63: ...hnology I2C SPI Control Center 63 67 FMO7I5A STEP 1 Activate the software to select a I2C SPI Control Center Hardware and then press the Connect button STEP 2 Select the I2C Mode and press the I2C Mon...

Page 64: ...d and write the Data between I2C Master and Slave STEP 5 When the data between I2C Master and Slave is read or written the I2C Monitor will monitor the Read Written data STEP 6 Select an entry and the...

Page 65: ...ave CMD is 0x00 that represents Master want to read the data in Slave and the Para0 represents the Register address where Master will read data start with If wants to read the data of Slave register 0...

Page 66: ...ite command and the connection is correct The message is 3B 4A 00 04 00 25 8F Read command and the connection is incorrect The message is 3B 4A 00 04 02 27 8F Read command and the connection is correc...

Page 67: ...I2C SPI Control Center User Manual V1 02 User Guide for Zeroplus Technology I2C SPI Control Center 67 67 FMO7I5A STEP 5 The communication is completed...

Reviews: