Global Top Smart MCU Innovator, ABOV Semiconductor
www.abovsemi.com
A96T418GDN
Shield Board
Shield Board Quick Guide
Version 1.11
Страница 1: ...Global Top Smart MCU Innovator ABOV Semiconductor www abovsemi com A96T418GDN Shield Board Shield Board Quick Guide Version 1 11...
Страница 2: ...Starter kit Shield Board 10 3 2 Set up the Starter kit Shield Board 12 3 3 Connect the Starter Kit to your PC 14 3 4 STKS Practice 16 3 4 1 Compile with Keil uVision5 for C51 16 3 4 2 Download Run wit...
Страница 3: ...21 Figure 20 Low Pass Filter Register and Capacitor setting value in touch_lib h 22 Figure 21 Touch sensing mode setting value in touch_lib h 23 Figure 22 Sensitivity for each channel in normal mode...
Страница 4: ...List of tables A96T418GDN Shield Board quick Guide 4 List of tables Table 1 Shield Board Description 11...
Страница 5: ...he ABOV 8 bit Touch LED Driver MCU starter kit It offers an easy way to develop the Home Appliance Touch 1 The starter kit board contains a debugger called OCD which eliminates the need for additional...
Страница 6: ...equirements A96T418GDN Shield Board quick Guide 6 2 User requirements 2 1 Hardware 2 1 1 Starter Kit Figure 1 A96T418GDN Starter Kit Board Hardware 2 1 2 Shield Board Figure 2 A96T418GDN Shield Board...
Страница 7: ...ibrary software Figure 3 Compiler Software 2 3 Reference documents 1 A96T418 Starter Kit Quick Guide 2 A96T418 Starter Kit HW Manual 3 A96T418 User s Manual 4 T TYPE LED Structure 5 Touch Basic Algori...
Страница 8: ...em requirements 1 Windows PC 7 8 10 2 USB micro B type cable Figure 5 Window PC Mini B cable 2 5 ABOV website For detailed information about corresponding software and documents you can visit our webs...
Страница 9: ...running project Shield Board Running application code makes it easier to start the Shield Board Following the steps below Step 1 Prepare the Starter kit Shield Board Step 2 Set up the Starter kit Shi...
Страница 10: ...o boards can be separated if necessary 2 Device board configuration A ABOV 8 bit MCU B Pin Headers connected to MCU C LED switch and jumper to check input output reset and debugger pins 3 OCD board co...
Страница 11: ...Shield Board Table 1 Shield Board Description Function Description Remark CS6 7 8 9 10 User SW Touch Only Pin CS0 1 2 3 4 17 18 19 User SW Touch SEG Pin LED T Type Segment User SW COM0 SEG0 COM7 SEG7...
Страница 12: ...ard Set jumpers to control the Starter Kit 1 USB 5V Power Output On Off Jumper 2 OCD UART Selection Switch 3 External 5V 4 Device Board A96T418 IC included Power On Off Switch 5 OCD_DSCL OCD_DSDA or U...
Страница 13: ...running project Shield Board 13 Connect to Starter Kit to use Shield Board Connect the header socket on the Shield board on the header pin of the Starter Kit Board As shown in the following Figure 10...
Страница 14: ...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 turned on 2 If the power switch i...
Страница 15: ...running project Shield Board 15 When OCD is connected it is displayed as ABOV OCD in Device Manager 1 OCD is a Universal Serial Bus USB controllers class and does not require driver installation on M...
Страница 16: ...ield Board quick Guide 16 3 4 STKS Practice 3 4 1 Compile with Keil uVision5 for C51 1 Install Keil uVision5 for C51 2 Open the project file provided A96T418Proj uvmpw Figure 13 Execute Keil uVision5...
Страница 17: ...Building and running project Shield Board 17 3 4 2 Download Run with OCD 1 Connection To connect the OCD move the power switch in the direction shown below Figure 15 OCD Connection 2 Download Download...
Страница 18: ...ard A96T418GDN Shield Board quick Guide 18 Figure 16 OCD Connection A Display on LED Matrix M type LED Segment T type B Display on LED Matrix with the rules of 0 1 2 3 4 C Display on LED Segment with...
Страница 19: ...STKS A96T418GDN Shield Board quick Guide Building and running project Shield Board 19 Figure 17 Touch Display...
Страница 20: ...Shield Board quick Guide 20 4 Function description Using Touch library 4 1 Touch Parameter Description 4 1 1 touch_config h 4 1 1 1 define CSXX_USE X If you used touch channel set X 1 otherwise set X...
Страница 21: ...he touch sensor performs touch sensing twice at two frequencies Set the offset between the two touch frequencies with the value of TOUCH_CLK_OFFSET_VAL Setting range 0H 3FH Frequency calculation formu...
Страница 22: ...ary A96T418GDN Shield Board quick Guide 22 4 1 1 4 define TOUCH_LPF_C_VAL n 4 1 1 5 define TOUCH_LPF_R_VAL n Internal Low pass filter value setting parameters Figure 20 Low Pass Filter Register and Ca...
Страница 23: ...ode the parasitic capacitance value for each channel is not adjusted The most common mode of operation Parameter settings are applied to each channel The sensitivity and threshold are set according to...
Страница 24: ...so the sensitivity for each channel is adjusted similarly However the reference channel is the channel with the lowest sensitivity the channel with the highest capacitance so you should consider the H...
Страница 25: ...Figure 24 Touch sensing channel port setting value in touch_lib h 4 1 1 8 define TOUCH_VHS_VAL n Applies to Hisense Mode only A value greater than the value of TOUCH_COMP_REFV_VAL must be set Setting...
Страница 26: ...too large it takes a lot of time for touch recognition and release recognition so you need to set the appropriate value Setting range 0 5 default 0 Figure 25 Debounce Count 4 1 1 12 define FILTER_IIR_...
Страница 27: ...n unit 1 ms Generate Touch Key values after a set time Setting range 100 500 default 300 4 1 1 14 define TIMER_BASE_SAMPLE_VAL n Baseline update cycle setting unit 1 ms Setting range 200 1000 default...
Страница 28: ...and basedata are matched The default setting is 100ms setting it too long or too short may affect operability Setting range 100 500 default 100 4 1 1 17 define THD_REVERSE_RATE_VAL n This function se...
Страница 29: ...Threshold THD a Key detect event will occur Setting range 50 2000 4 1 1 19 define THD_RELEASE_RATE_VAL n function sets the level for key release judgement Key release judgement level is rate of the TH...
Страница 30: ...st the touch sensitivity SUM_COUNT determines the number of consecutive sensing times for a channel The greater the setting value the greater the sensitivity SUM_COUNT can act as a low pass filter but...
Страница 31: ...4 1 1 21 define BASE_TRACE_SPEED_CHXX n Sets the ratio between the existing data and the current data when updating the baseline Previous value Current value N 1 If it is too high or too low it may af...
Страница 32: ...connection function of the variable pointer used by the Touch library If you change the contents of the function it may affect touch sensing so don t change it 4 1 2 2 void Touch_Config_Set void Touc...
Страница 33: ...Function description Using Touch library 33 4 2 LED Parameter Description 4 2 1 user_function h 4 2 1 1 define COMXX_EN X 4 2 1 2 define SEGXX_EN X If you used COM SEG channel set X 1 otherwise set X...
Страница 34: ...G n LED operation time setting parameter unit ms Used as a parameter for the LED_Set_Actv_Time uint8_t com_cnt uint8_t duration function Figure 33 Set LED operating time TIME_LED_OPTERATING LED_USE_CO...
Страница 35: ...perations If set to 0 LED driver related operations are not performed 4 3 1 2 define TS_LED_TIME_DIV X LED_DRV_EN must be enabled first If you are using Touch LED time division set X 1 otherwise set X...
Страница 36: ...Function description Using Touch library A96T418GDN Shield Board quick Guide 36 define TS_LED_TIME_DIV 0 More noise is generated than when used Figure 36 Touch LED Independent Mode...
Страница 37: ...ter define DBG_BAUD_RATE and is used as a parameter for the function DBG_Set_Baudrate uint8_t baud Figure 37 UART baud rate setting 4 3 1 4 define I2C_ENABLE X Data on Touch can be checked during proj...
Страница 38: ...re continuously pressed for a certain period of time default 10s the function is judged to be abnormal and the entire key is initialized define TIMER_HOLD_KEY_RELEASE 10000 hold key release time 10s n...
Страница 39: ...set X 0 If you enter a key set to priority other keys are ignored the keys with the same priority are not ignored they are displayed in the order in which they were entered first define CHxx_PRIORITY...
Страница 40: ...ber of channels with the multi key reset function enabled will reset the key define NOISE_COUNT_MAX n Initializes keys when n or more Multi key reset use channels are entered define CHxx_MULTI_USE 1 M...
Страница 41: ...4 3 1 9 define TOUCH_RREQ_SEL_EN X If you are using Touch Frequency Change function set X 1 otherwise set X 0 This function calculates Diff data by selecting a frequency with a small noise among the t...
Страница 42: ...touch sensing parameter value If you change the contents of the function it may affect touch sensing so don t change it 4 3 2 4 void Init_User_Function void A function that sets whether user_function...
Страница 43: ...Function name variable name modified 21 01 04 1 01 ts_Get_Key Function deleted ts_detect_key variable added 21 01 04 1 01 TS_Set_CH_THD u8 ch_idx s16 tdh u8 ch u8 ch_idx 22 11 01 1 02 Revised the font...
Страница 44: ...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...