background image

 

   

Global Top Smart MCU Innovator, ABOV Semiconductor 

www.abovsemi.com

 

 

 

AT3108U 

Demo Board Quick Start Guide 

 

 

ST

DEMO-AT3108U-KEY-A 

Quick Start Guide

 

Version 1.00 

 
 
 

 

Summary of Contents for AT3108U

Page 1: ...Global Top Smart MCU Innovator ABOV Semiconductor www abovsemi com AT3108U Demo Board Quick Start Guide STDEMO AT3108U KEY A Quick Start Guide Version 1 00 ...

Page 2: ...l the I2C to UART Board 11 3 2 2 Connect to the I2C to UART Board to use the Touch Demo Board 12 3 3 Connect the I2C to UART Board to your PC 13 3 3 1 Connect PC via USB on the I2C to UART Board 13 3 4 AT GUI program practice 14 3 4 1 Run the AT GUI program 14 3 4 2 Viewing values in AT GUI program 15 3 4 3 Options of Auto Read Selection 16 3 4 4 View Graph Plot 17 3 4 5 Register value settings 18...

Page 3: ...n AT GUI Program 15 Figure 14 Run Start Code Execution 16 Figure 15 Data Menu Options 16 Figure 16 Graph of Channels 17 Figure 17 Register Value Settings Part1 18 Figure 18 Register Value Settings Part2 19 Figure 19 Flow Chart of Register Setup Operations 20 Figure 20 Timing Diagram of Touch Sensor Operation in Fast Mode Active Mode 21 Figure 21 Timing Diagram of Touch Sensor Operation in Sleep Mo...

Page 4: ...roduces software environment and development recommendations for the ABOV Logic Type Touch Key In this document we introduce an AT GUI program and a method to operate AT3108U Touch Demo Board with examples By reading this document thoroughly you can learn the easy way to develop the ABOV Logic Type Touch Key ...

Page 5: ... board quick start guide 2 User requirements 5 2 User requirements 2 1 Hardware 2 1 1 I2C to UART Board Figure 1 I2C to UART Board Layout Hardware 2 1 2 Touch Demo Board Figure 2 AT3108U Touch Board Layout Hardware ...

Page 6: ...2 User requirements AT3108U Demo board quick start guide 6 2 2 Software You can debug using the AT GUI program Figure 3 AT GUI Program Software ...

Page 7: ...AT3108U Demo board quick start guide 2 User requirements 7 2 3 System requirements Windows PC 7 8 10 USB Micro B type cable Figure 4 Window PC and Micro B Cable ...

Page 8: ...e documents AT31082U Quick Guide AT3108U HW Manual AT3108U Schematic Product User s Manual Master Example Code 2 4 2 ABOV website For detailed information about the corresponding software and documents you can visit our website at https www abovsemi com Figure 5 ABOV Semiconductor Website ...

Page 9: ... the I2C to UART Board and Touch Demo Board Step 3 Connect the I2C to UART Board to your PC Step 4 Run the AT GUI program 3 1 Prepare the I2C to UART Board and Touch Demo Board 3 1 1 Hardware components of the I2C to UART Board 1 The I2C to UART Board operates as an I2C Master based on the Touch Demo Board and contacts your PC through UART communication 2 The I2C to UART Board is connected to the ...

Page 10: ... Sensing 8CH channel and LED 1 pins are supported 2 The 2mm 2T Thick plastic cover is attached to the Touch PAD Table 1 Touch Demo Board Description Function Description Remark Touch Key User SW Touch Only Pin CS0 to CS7 GPIO User SW OUT1 External Interface User SW VDD GND INT SDA SCL I2C_EN RESET OUT_MODE Figure 7 Touch Demo Board Description ...

Page 11: ...ed to use 5V USB power A 9 volt battery a square battery can be used as an external power max 12V 2 Again you can use a jumper pin to select one between 5V and 3 3V of the selected power source 3 If the Option Jumper pin shown in Figure 8 is not connected OFF 12CH Logic Type Touch Sensors are supported e g AT3212 ATS12 4 If the Option Jumper pin shown in Figure 8 is connected ON 8CH Logic Type Tou...

Page 12: ...k start guide 12 3 2 2 Connect to the I2C to UART Board to use the Touch Demo Board Connect a header socket of the Touch Demo Board and the header pin of the I2C to UART Board as shown in Figure 9 Figure 9 I2C to UART Board and Touch Demo Board Connection ...

Page 13: ... running project 13 3 3 Connect the I2C to UART Board to your PC 3 3 1 Connect PC via USB on the I2C to UART Board Connect the USB 2 0 micro B type cable to the I2C to UART Board as shown in Figure 10 Figure 10 USB Cable and I2C to UART Board Connection ...

Page 14: ...licking over the icon shown in Figure 11 Figure 11 AT GUI Program Icon 2 After the program starts the COM port number is displayed on the screen as shown in Figure 12 A Click on the RUN button B Click on the AT3108 button regardless of whether it is before or after the RUN button C Click on the Accept button after marking the Key box Figure 12 AT GUI Program Menu ...

Page 15: ...p At the same time the GUI program displays the corresponding key in red as shown in Figure 13 If the GUI program does not display the key in red users can solve the problem by marking the Key box in the Auto read selection settings and pressing the Accept key The Auto read selection settings allow to automatically read and display the values regardless of whether or not the Touch Event is generat...

Page 16: ... Data Original touch sensitivity value B Baseline Data Baseline reference value C Threshold THD Touch detection reference value D Percentage Current Sensitivity percentage based on the THD value of 100 Example The percentage value of 223 implies that the Current Sensitivity value is 2 23 times higher than the THD value That is in a condition of THD 80 the Current Sensitivity value is 178 80 X 2 23...

Page 17: ...f all channels on the screen as shown in Figure 16 2 To activate make sure to select a Data type in the Auto read selection settings Data RAW Baseline Threshold Percentage RAW Data Original touch sensitivity value Baseline Data Baseline reference value Threshold THD Touch detection reference value Percentage Current Sensitivity percentage based on the THD value of 100 Figure 16 Graph of Channels ...

Page 18: ...ues to set the registers Using the Part 2 you can write I2C commands directly to set the registers 1 Part 1 A Click on the Refresh button to read the register values currently set in the Touch Sensor chip This will update the registers B When you finish changing the settings press the Write button to complete the change You can see the changes in the Register window as shown in Figure 17 Figure 17...

Page 19: ...Key initial value In Single Key Noise Mode for the simultaneous keys the result is Not Touch In Multi Key Mode for the simultaneous keys the result is Simultaneous Key Table 2 Example Register Value Settings Part2 Function Description Remark SENSITIVITY1 Update 02 22 Start F0 02 22 Stop SENSITIVITY1 6 Update 02 44 44 44 44 Start F0 02 44 44 44 44 Stop Single Key Result Mode 1F 09 Start F0 1F 09 St...

Page 20: ...external power is applied the register setting values required for the I2C communication are entered once 2 Then Touch Sensing and the result values are updated during Loop operation The Touch result is read through the I2C communication OUTPUT1 to OUTPUT2 During the Loop operation the register values can be updated Figure 19 Flow Chart of Register Setup Operations ...

Page 21: ...se Time regardless of the amount of current consumption it enters Fast Mode Figure 20 Timing Diagram of Touch Sensor Operation in Fast Mode Active Mode 2 In Sleep Mode Touch Sensor proceeds with its operation at Idle Duty intervals including Touch Sensing operation and average amount of current consumption is reduced Users can set the Idle Duty time interval wider to reduce current consumption how...

Page 22: ...an be adjusted by configuring the STOP_DELAY register Default value is 2sec If a Touch Event is generated in Sleep Mode Fast Mode is maintained for the time set in the STOP_DELAY register 3 Idle Duty time in Sleep Mode can be adjusted by configuring the PMOD register Default value is 300ms 4 To the STOP_WAKECL and STOP_WAKEL registers a basic setting rule is applied A level of the STOP_WAKEL regis...

Page 23: ...uch result value is read using I2C communication OUTPUT1 to OUTPUT3 Registers Figure 23 Timing Diagram of Touch Event Occurrences in Sleep Mode 2 When making I2C communication in Sleep Mode provide first Low Pulse input to the I2C_EN pin At this point it is recommended to make I2C communication after 100ms based on the Falling Edge as shown in Figure 24 Active Mode is maintained for the time set i...

Page 24: ...reference value THD Threshold Touch Sensing CH channel and other registers are possible Four pins from the OUT1 pin to the OUT4 pin are assigned for Digital Outputs by default If the Touch Sensing CH pin is not used it can be controlled as a Digital Output pin In this way up to 16 pins can be controlled as Digital Output pins the GPIO_CTRL1 and GPIO_CTRL2 registers ...

Page 25: ...ct 25 3 5 6 Loop operation and register value update 1 During Loop operation Touch Sensing and the result values are stored 2 At this point a certain value in a register can be modified through I2C communication Figure 25 Flow Chart of Register Setup Loop Operations ...

Page 26: ...3 Building and running project AT3108U Demo board quick start guide 26 3 5 7 I2C Master example code AT3108 h Figure 26 AT3108 h ...

Page 27: ...AT3108U Demo board quick start guide 3 Building and running project 27 Figure 26 AT3108 h continued ...

Page 28: ...3 Building and running project AT3108U Demo board quick start guide 28 AT3108 c Figure 27 AT3108 c ...

Page 29: ...AT3108U Demo board quick start guide 3 Building and running project 29 Figure 27 AT3108 c continued ...

Page 30: ...Revision history AT3108U Demo board quick start guide 30 Revision history Version Date Description 1 00 21 02 19 Document created ...

Page 31: ...ties and shall not be responsible or liable for any injuries or damages related to use of ABOV products in such unauthorized applications ABOV and the ABOV logo are trademarks of ABOV All other product or service names are the property of their respective owners Information in this document supersedes and replaces the information previously supplied in any former versions of this document 2020 ABO...

Reviews: