background image

A31G213CLN Shield Board Quick Start Guide 

2. User requirements 

 

2

 

User requirements 

2.1

 

Hardware 

2.1.1

 

Starter Kit 

 

Figure 1. A31G213CLN Starter Kit Board (Hardware) 

2.1.2

 

Shield Board 

 

Figure 2. A31G213CLN Shield Board (Hardware) 

 

 

Summary of Contents for A31G213CLN

Page 1: ...Global Top Smart MCU Innovator www abovsemi com A31G213CLN Shield Board Quick Start Guide Version 1 00...

Page 2: ...dware components of the Starter Kit 9 3 1 2 Hardware components of the Shield Board 10 3 2 Set up the Starter Kit and Shield Board 11 3 2 1 Set jumpers to control the Starter Kit 11 3 2 2 Connect to S...

Page 3: ...t Device Manager 14 Figure 13 Execute Keil uVision5 for C51 15 Figure 14 Build the Project 15 Figure 15 Download and Debugging with A Link 16 Figure 16 Run Start Code Execution 16 Figure 17 Touch and...

Page 4: ...OV 32 bit Cortex Mx Touch Starter Kit In this document a CMSIS DAP debugger which is called A Link is introduced This eliminates the need for additional devices for MCU programming and debugging In ad...

Page 5: ...Shield Board Quick Start Guide 2 User requirements 5 2 User requirements 2 1 Hardware 2 1 1 Starter Kit Figure 1 A31G213CLN Starter Kit Board Hardware 2 1 2 Shield Board Figure 2 A31G213CLN Shield Boa...

Page 6: ...omplier uVision5 2 Keil MDK5 software pack including Starter Kit sample code or EVK software Figure 3 Compiler Software 2 3 Reference documents 1 Starter Kit Quick Guide 2 Starter Kit HW Manual 3 Star...

Page 7: ...stem requirements 1 Windows PC 7 8 10 2 USB mini B type cable Figure 5 Window PC and Mini B Cable 2 5 ABOV website For detailed information about corresponding software and documents you can visit our...

Page 8: ...r to start the Shield Board Following the steps below Step 1 Prepare the Starter Kit and Shield Board Step 2 Set up the Starter Kit and Shield Board Step 3 Connect the Starter Kit to your PC Step 4 Ru...

Page 9: ...ice board and an A Link CMSIS DAP board The two boards can be separated if necessary 2 Device board configuration A ABOV 32 bit MCU X tal optional B Pin headers connected to MCU C LED switches and jum...

Page 10: ...1 2 Hardware components of the Shield Board Table 1 Shield Board Description Function Description Remark CS0 CS7 User SW Touch Only Pin Touch Indicator LED User SW PF0 PF7 Common Anode Segment User S...

Page 11: ...tarter Kit uses USB power A Choose 3 3V and 5 0V check the maximum operation voltage by referring to the specification sheet 2 External Power 3 Boot mode selection A Open User Program operation mode A...

Page 12: ...13CLN Shield Board Quick Start Guide 12 3 2 2 Connect to Starter Kit to use Shield Board Connect a header socket of the Shield Board and a header pin of the Starter Kit board as shown in Figure 10 Fig...

Page 13: ...t to your PC 3 3 1 PC connection via USB on the Starter Kit Connect the USB 2 0 micro B type cable to the Starter Kit as shown in Figure 11 1 If the PC is properly connected the USB Power LED will be...

Page 14: ...Start Guide 14 When the A Link is connected USB Composite Device in Device Manager is highlighted 1 A Link is one of the Universal Serial Bus USB controllers class and does not require driver installa...

Page 15: ...nning project Shield Board 15 3 4 STKS Practice 3 4 1 Compile with Keil uVision5 for C51 1 Install Keil uVision5 for C51 2 Open the provided project file A96T418Proj uvmpw Figure 13 Execute Keil uVisi...

Page 16: ...eld Board Quick Start Guide 16 3 4 2 Download and Debugging with A Link 1 Connection A Click Start Stop Debugging Session B Check Erase Program Verify Figure 15 Download and Debugging with A Link 2 Ru...

Page 17: ...roject Shield Board 17 3 Run A A buzzer sounds when a touch is recognized B The touch indicator LED lights up during touch recognition C Display on LED Segment with the rules of 0001 CS0 0002 CS1 0004...

Page 18: ...ield Board Quick Start Guide 18 3 5 Library description 3 5 1 user h 1 define _DBG_MSG_EN X If you monitor the touch data with Smart Key set X 1 otherwise set X 0 2 Touch CH activation Set 1 for activ...

Page 19: ...e using the library API ts_xx led_xx dgb_xx ut_xx 2 ts_Set_OpMode unsigned char opMode A ts_Set_OpMode NORMAL_MODE In this mode the parasitic capacitance value for each channel is not adjusted Sensiti...

Page 20: ...art Guide 20 B ts_Set_OpMode ADJUST_MODE In this mode the parasitic capacitance value for each channel is adjusted Sensitivity for each channel is similar Since the sensitivity is similar a common thr...

Page 21: ...act as a low pass filter but it has the disadvantage that the sensing time becomes longer D It is recommended to range from 3 to 10 Figure 21 Change of Touch Data according to SUM_COUNT 4 ts_Set_Commo...

Page 22: ...ceDelay A traceStep determines how much to follow at a time B traceDelay determines the period of time to trace Figure 22 Base Line Trace Parameters 7 ts_Set_ReleasRate unsinged char relRate A This fu...

Page 23: ...Rate A This function set the level for key reverse situation rawdata basedata judgement B Key reverse situation level is revRate of threshold 9 ts_Set_ReverseTime unsigned char revTime A This function...

Page 24: ...ve glitch noise B If the debounce count is too large it takes a lot of time for touch recognition and release recognition so you need to set the appropriate value C It is recommended to range from 0 t...

Page 25: ...2bit B Bits are assigned sequentially from the lowest channel number among the activated keys C If no channel is recognized 0 is returned D If two or more keys are recognized the key value is OR calcu...

Page 26: ...3 Building and running project Shield Board A31G213CLN Shield Board Quick Start Guide 26 3 5 3 Library usage example 1 user h Figure 28 user h 2 include in main c Figure 29 include in main c...

Page 27: ...A31G213CLN Shield Board Quick Start Guide 3 Building and running project Shield Board 27 3 main Figure 30 main in main c...

Page 28: ...Revision history A31G213CLN Shield Board Quick Start Guide 28 Revision history Date Version Description 20 06 29 1 00 Document created...

Page 29: ...nties 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 produ...

Reviews: