IS31SE5118A EvB User’s Manual Figure 1-6: Key setting of Standard 6 Touch Key Board ORDERING INFORMATION Table 1: Ordering Information Part No. Temperature Range Package IS31SE5118A-ZNLS3-EBGUI -40°C ~ +105°C TSSOP-16, Lead-free For pricing, delivery, and ordering information, please contact LUMISSIL’s marketing and sales team at https://www.lumissil.com/company/office-locations or (408) 969-6600.
IS31SE5118A EvB User’s Manual SOFTWARE SUPPORT Software Requirements Before starting up SE5118A Touch Key GUI software, it is required that the PC be installed with the EzISP USB driver and related files (for example Microsoft Framework and C++ library). Users can unzip file EzISP_V3.3.3.zip and use the setup file for installation.
Page 7
IS31SE5118A EvB User’s Manual Step 2: Install EzISP setup program. After the installation is done and EzISP is run, users might get below pop-up message and please update with the newer BIOS as Step 3 ~ Step 7. Users can check whether the Silicon Labs’ USB driver version 6.7.2.0 is correctly installed or not as the two steps in the below figure.
Page 9
IS31SE5118A EvB User’s Manual Step 6: Below figure pops out. Choose the default pop-out hex file under C:\Program Files (x86)\Lumissil\EzISP\Release\EzISP bios &bootloader and click “Open” button. Step 7: Follow the four steps in the below figure to load Bootloader. Reset the EzISP device to start operation.
Page 10
IS31SE5118A EvB User’s Manual Start up the GUI with EvB Three-step setup (Please refer to Figure 1-3 IS31SE5118A Evaluation Board Connection Block Diagram.) 1. Connect USB cable between the USB port of the EzISP Board and the USB port of the PC. 2.
Page 11
IS31SE5118A EvB User’s Manual I2C Slave Address* Write Command Read Command 0x78 0x79 * I2C Slave Address: 7-bit Address + 1 bit(R/W) Upgrade Boot Code and Standard Code This section can help users to upgrade Boot code and Standard code of SE5118A EvB. In case, Boot code or Standard code of SE5118A EvB is ruined, users can follow the below 4 steps to program the code.
Page 12
IS31SE5118A EvB User’s Manual Step3: Turn DIP switch SW2 off highlighted red rectangles Turn the DIP switch SW2 1/2/3/4 to OFF as the in the below SE5118A EvB figure. Lumissil Microsystems – www.lumissil.com Rev. C, 06/28/2023...
Page 13
IS31SE5118A EvB User’s Manual Step 4: Program Device Standard Code/Firmware Program Device Firmware into SE5118A EvB a. Run SE5118A GUI Tool V3.0 b. Click the Program Device FW from the File drop-down menu c. Click “Select” to open firmware file “MC10_SE5118A_STD_revC.hex”, and then click “Program” d.
IS31SE5118A EvB User’s Manual SE5118A TOUCH KEY GUI INTERFACE Before Use IS31SE5118A EvB board should have standard code/firmware inside, but users can follow below step 1 to step 3 to program firmware to start evaluation of this board in case there is no standard code firmware inside.
Page 16
IS31SE5118A EvB User’s Manual Figure 3-2: Firmware update code If the GUI looks small, the following method can improve high-DPI support for the GUI. Users need to find file MC10_SE5118A_GUI_rev3.0.exe, right-click on it and select Properties. Figure 3-3: Set GUI program Properties Lumissil Microsystems –...
IS31SE5118A EvB User’s Manual Go to the Compatibility tab and click Change high DPI settings. Select Override high DPI scaling behavior. Scaling performed by: System or System (Enhanced) and click OK. Restart the GUI to see if there is an improvement. Figure 3-4: Choose High DPI settings Connect Status Before running Touch Key GUI tool, please make sure SW2 switch of the IS31SE5118A EvB is all OFF.
Page 18
IS31SE5118A EvB User’s Manual The “Connect” status box might be red and users cannot change any setting if IS31SE5118A EvB and EzISP board are not connected to the PC before running the GUI software. Users can click the “Connect” button and the “Connect” status will turn green. Figure 3-5: GUI Connect Status Shows Disconnect As shown in Figure 3.6 below, the “Connect”...
IS31SE5118A EvB User’s Manual Export/Import Configuration File As shown in Figure 3-7 below, Export Configuration to File is used to export the configuration of IS31SE5118A and save in a file. By exporting the configuration, we can save the parameters settings in the GUI to a file (The default file name is an excel file “register values”...
Page 20
IS31SE5118A EvB User’s Manual Figure 3-8: GUI Update Configuration to Flash Restore Factory Setting to Device As shown in Figure 3-9 below, after clicking the Restore Factory Setting to Device from the File drop- down menu, writing factory default parameters to the flash can be completed in about 4 seconds. Need to click “Connect”...
IS31SE5118A EvB User’s Manual Program Device Firmware After clicking the Program Device FW from the File drop-down menu, a pop-up window will appear as shown in Figure 3-10 below. Click Select to open firmware file and configuration file. Configuration will be restored to the factory settings if configuration file is not selected.
Page 22
IS31SE5118A EvB User’s Manual Generate Sample Code As shown in Figure 3-12 below, “Generate Sample Code” is used to create a sample code for configuring SE5118A parameters via I2C bus. Customers can adjust SE5118A Touch Key GUI for the required parameters to meet own application needs. After system level verification, please click “Apply” to apply the parameters to the device before “Generate Sample Code”...
IS31SE5118A EvB User’s Manual SETTINGS Pin Assignment As shown in Figure 4-1 below, after clicking Connect button, the “Connect” status box is green and the EvB board has been successfully connected. Users can choose different pin assignment from the drop- down menu.
IS31SE5118A EvB User’s Manual Hardware Setting As shown in Figure 4-3 below, TK3 stands for Touch Key technology generation III for Lumissil. TK3 uses dual-slope technology to detect key touch via charging and discharging among an internal charge capacitor, an external reference capacitor, and the Touch Key capacitor. Several parameters for the TK3 should be set for correct touch key detect.
Page 26
IS31SE5118A EvB User’s Manual One scan cycle = (1/4M)* 8192* 5 = 10.24ms Higher cycle count per key scan will increase key’s resolution, but it will have a longer scan time. Default setting is 8192. Choosing different cycle count setting, users might need to modify key detect parameters like finger threshold to have correct key detect.
Page 27
IS31SE5118A EvB User’s Manual 4.2.5 Low Frequency Noise Filter (LFNF) Regarding low frequency noise rejection, device can use this setting to reject a continuous high or low comparator output that exceeds the setting duration. If the scan count with noise injection detect is larger than (LFNF * 8), the scan result is ignored.
Page 28
IS31SE5118A EvB User’s Manual 4.2.9 Spread Spectrum The spread is achieved by varying the output to the oscillator circuit, thus effectively changing the oscillation frequency. When SS (Spread Spectrum) is enabled, the frequency of IOSC varies according to time and setting, and therefore the accuracy of IOSC frequency cannot be guaranteed.
Page 29
IS31SE5118A EvB User’s Manual Figure 4-13: Spread Spectrum Amplitude 4.2.10 DC Compensation The hardware can be configured a constant DC pull-up/pull-down (PUD) on IS31SE5118A pin Cref to allow high capacitance touch-key detection. A DC pull-up/pull-down can compensate the equivalent resistance caused by a high capacitance key.
Page 30
IS31SE5118A EvB User’s Manual Figure 4-15 : Raw Count Value when Internal Cap = 40pF Figure 4-16 : Raw Count Value when Internal Cap = 50pF Example 2: Set Cycle count per key scan = 8192 and compare baseline and raw counts for different settings of DC compensation.
Page 31
IS31SE5118A EvB User’s Manual Figure 4-18: Enable DC Current 1uA and Resistor 40KΩ General Figure 4-19: General Page 4.3.1 Multi Key As shown in Figure 4- below, Multi-key enable is to enable multi-key function. When Multi-key enable is not checked, only one key is detectable. Multi-key enable selection can be set to TWO KEYS, THREE KEYS or All KEYS.
Page 32
IS31SE5118A EvB User’s Manual Figure 4-20: Multi-Key 4.3.2 Maximum Duration Max duration time enable is the maximum pressing duration time setting in seconds. When the pressing time is longer than the maximum duration time, device will be forced to do calibration automatically on the pressed key.
Page 33
IS31SE5118A EvB User’s Manual Figure 4-22: Baseline Filter 4.3.4 Raw Count Filter There are four type filters for raw count. One or more filters can be selected and adopted following the sequences Jitter filter → Median filter →Average filter →IIR filter. Figure 4-23: Raw Count Filter Jitter This filter is to remove centroid noise for slider or touch key buttons.
Page 34
IS31SE5118A EvB User’s Manual Return the value of 1/coefficient * the current raw count + (coefficient – 1)/coefficient * the previous filter value. The IIR filter (Infinite Impulse Response filter) is a recursive filter because the output from the filter is computed by using the current and previous outputs.
Page 35
IS31SE5118A EvB User’s Manual Figure 4-26: INT Output Low by Key ON Status Case 2. Click Interrupt Enable and Auto Clear Enable Auto clear enable is to enable auto clear interrupt function. Check to enable. Auto clear time is to set auto clear interrupt time interval in milliseconds When Auto clear enable is enabled, INT pin can be released by reading 07h (Key Status Register).
Page 36
IS31SE5118A EvB User’s Manual Lock scan cycle When Lock threshold is reached, ignore key scanning for the following “Lock scan cycle” setting time to prevent the effect of noise interference. Raw count difference limit Ignore the key scan data if the difference between previous raw count and current raw count exceeds the limit setting for noise immunity.
Page 37
IS31SE5118A EvB User’s Manual It is used with hysteresis to determine the key status. Noise threshold Baseline is updated if the difference count of baseline count and raw count is below the noise threshold. Negative noise threshold It is used with the low baseline reset count to reset baseline count to the current raw count. Please refer to the description of Low baseline reset.
Page 38
IS31SE5118A EvB User’s Manual Figure 4-33: Key Signal Bar Chart Figure 4-34: Signal Bar Char with Finger Touch Lumissil Microsystems – www.lumissil.com Rev. C, 06/28/2023...
Page 39
IS31SE5118A EvB User’s Manual Sleep IS31SE5118A integrates auto sleep function and the entering-sleep time can be configured. Device will enter into sleep mode when there is no touch key detected. It will be woken up by the key touch. For applications that require low power consumption, this device can be set to sleep mode automatically.
Page 40
IS31SE5118A EvB User’s Manual Figure 4-36: Auto Sleep The “Connect” status box will be displayed in yellow color whenever device enters into sleep mode. Figure 4-37: I2C Address The GUI cannot operate in sleep mode. Device needs to return to normal mode by pressing the selected wake-up key or “Connect”...
Page 41
IS31SE5118A EvB User’s Manual 4.5.3 Auto Mode Start Delay (ASTDLY) ASTDLY inserts an inter-sequence idle time of (ASTDLY+1) * 256 * TK3 clock time at each sequence start. This delay allows the stabilization time from normal mode to sleep mode. Figure 4-39: Auto Mode Start Delay 4.5.4 Internal Capacitance...
Page 42
IS31SE5118A EvB User’s Manual 4.5.7 Sleep Calibration Figure 4-43: Sleep Calibration Sleep Calibration Method - Use calibration result to set up Wake-up threshold. Step 1. Select available Key 0~Key 7 for wakeup. Suggest choosing one Key or raise internal capacitor setting value, otherwise there might not come out raw count and baseline value when users click Calibrate (HW) button.
Page 43
IS31SE5118A EvB User’s Manual Figure 4-44: Sleep Calibration case 1 Case 2: Sleep calibration raw count = 4300 without finger touch when Internal capacitance = 60pF Figure 4-45: Sleep Calibration case 2 Case 3: Sleep calibration raw count = 4202 with finger touch when Internal capacitance = 60pF Lumissil Microsystems –...
Page 44
IS31SE5118A EvB User’s Manual Figure 4-46: Sleep Calibration case 3 4.5.8 DC Compensation DC compensation in the sleep mode is the same as in the normal mode. But DC compensation in the sleep mode will be performed based on total effects of all the keys users selected. The hardware is to configure a constant DC pull-up/pull-down (PUD) on pin Cref to allow high capacitance touch-key detection.
Page 45
IS31SE5118A EvB User’s Manual Figure 4-48: Sleep Calibration case 4 Case 5: Sleep calibration raw count = 3930 with finger touch when Internal cap = 40pF, DC current = 2uA Figure 4-49: Sleep Calibration case 5 Lumissil Microsystems – www.lumissil.com Rev.
Page 46
IS31SE5118A EvB User’s Manual GRAPH As shown in Figure 5-1 below, Line Chart is the KEY value curves to show the current value of KEY0~KEY7. The historical value of KEYs will be checked by pulling the scroll bar. Users can uncheck the key enable box at the higher right corner of Line Chart content to remove the unwanted key information.
Page 48
IS31SE5118A EvB User’s Manual MELODY As shown in Figure 6-1 below, the built-in melody function has 10 FIFOs, and the host controller can send the melody data up to 10 notes. Figure 6-1: Melody Page of GUI Support scale from 3A to 8G# Frequencies for equal-tempered scale, A = 440 Hz "Middle C"...
Page 50
IS31SE5118A EvB User’s Manual I2C COMMUNICATION In the blue rectangular box for “Command list” in Figure 7-1: I2C Communication Page of GUI, users can issue I2C commands to the EvB. On the GUI right-hand, choose to Send, Clear, Save and Load. I2C command set can be composed of several bytes.
Page 51
IS31SE5118A EvB User’s Manual Log list: Time Direction Command/Data Description 22:16:45:170 >> 78 06 0A 3C Write data 0x0A to register no. 06 Write data 0x3C to register no. 07 22:16:45:197 >> 78 06 Write register no. 06 22:16:45:218 << Read data from register address 06 22:16:45:238 >>...
IS31SE5118A EvB User’s Manual DEBUG TARGET BOARD VIA GUI SOFTWARE Connection Block Diagram As shown in Figure 8-1 below, the EzISP board can be connected to the customer’s target board to configure touch keys through the GUI interface. Figure 8-1: Block diagram of EzISP Board connection to the customer’s target board As shown in Figure 8 2 below, the EzISP Board needs five pins to connect to the customer’s target board.
Page 53
IS31SE5118A EvB User’s Manual REVISIONS Revision Detailed Information Date Initial Release 2020.10.20 Formal Release 2021.12.30 Update SE5118 GUI v2.1 1. Add Windows System Requirements at Section 2.1 Software Requirements for how to do EZISP software installation and requirements 2. Add RSTN pin along with VCC, GND, SDC and SDL pins for EzISP board connecting with SE5118 board to run SE5118 Touch Key GUI tool.
Need help?
Do you have a question about the LUMISSIL IS31SE5118A EvB and is the answer not in the manual?
Questions and answers