The starter kit board contains a debugger called “OCD”, which eliminates the need for additional devices for MCU programming and debugging. In this Quick Start Guide, we’ll discuss how to operate A96T418GDN Shield Board, as an example, step by step...
2. User requirements A96T418GDN Shield Board quick Guide System requirements Windows PC (7, 8, 10) USB micro-B type cable Figure 5. Window PC & Mini-B cable ABOV website For detailed information about corresponding software and documents, you can visit our website at https://www.abovsemi.com.
STKS A96T418GDN Shield Board quick Guide Building and running project (Shield Board) Building and running project (Shield Board) Running application code makes it easier to start the Shield Board. Following the steps below: Prepare the Starter kit & Shield Board Step 1.
C. LED, switch and jumper to check input/output, reset, and debugger pins OCD board configuration OCD for programming and debugging with ABOV 8-bit MCU(connected to USB port of Supports OCD Disconnection Mode (In this mode, OCD DSCL and DSDA port can be used as UART TX and UART RX, respectively) Figure 7.
STKS A96T418GDN Shield Board quick Guide Building and running project (Shield Board) Hardware components of the 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...
Building and running project (Shield Board) A96T418GDN Shield Board quick Guide Set up the Starter kit & Shield Board Set jumpers to control the Starter Kit USB 5V Power Output On/Off Jumper OCD/UART Selection Switch External 5V Device Board(A96T418 IC included) Power On/Off Switch OCD_DSCL/OCD_DSDA or UART_TX/UART_RX (Depends on ②OCD/UART SEL SW)
STKS A96T418GDN Shield Board quick Guide Building and running project (Shield Board) 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.
Building and running project (Shield Board) A96T418GDN Shield Board quick Guide Connect the Starter Kit to your PC 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.
STKS A96T418GDN Shield Board quick Guide Building and running project (Shield Board) When OCD is connected, it is displayed as ABOV OCD in Device Manager. OCD is a Universal Serial Bus(USB) controllers class and does not require driver installation on Microsoft Windows...
Building and running project (Shield Board) A96T418GDN Shield Board quick Guide STKS Practice Compile with Keil uVision5 for C51 3.4.1 Install “Keil uVision5 for C51”. Open the project file provided (A96T418Proj.uvmpw). Figure 13. Execute Keil uVision5 for C51 Build the project...
STKS A96T418GDN Shield Board quick Guide Building and running project (Shield Board) Download & Run with OCD 3.4.2 Connection : To connect the OCD, move the power switch in the direction shown below. Figure 15. OCD Connection Download : Download the hex file (t418code.hex) as shown below.
Building and running project (Shield Board) A96T418GDN Shield Board quick Guide Figure 16. OCD Connection Display on LED-Matrix(M-type) & LED-Segment(T-type) Display on LED-Matrix with the rules of 0,1,2,3,4 … C. Display on LED-Segment with the rules of 1000,2000,4000,8000,0100 …...
Function description (Using Touch library) A96T418GDN Shield Board quick Guide Function description (Using Touch library) Touch Parameter Description touch_config.h 4.1.1 #define CSXX_USE X 4.1.1.1 ━ If you used touch channel, set X=1, otherwise set X=0. Figure 18. Touch CH activation (in touch_config.h)
STKS A96T418GDN Shield Board quick Guide Function description (Using Touch library) #define TOUCH_MODE_VAL 4.1.1.6 ━ Touch sensing mode setting value Figure 21. Touch sensing mode setting value (in touch_lib.h) ━ TS_MODE_NORMAL : In this mode, the parasitic capacitance value for each channel is not adjusted.
Function description (Using Touch library) A96T418GDN Shield Board quick Guide ━ TS_MODE_ADJUST : It is a mode that automatically adjusts the capacitance value of each channel to be the same using the IC internal capacitance. : The capacitance values for each channel are adjusted equally, so the sensitivity for each channel is adjusted similarly.
Function description (Using Touch library) A96T418GDN Shield Board quick Guide #define DETECT_DEBOUNCE_CNT_VAL 4.1.1.10 #define RELEASE_DEBOUNCE_CNT_VAL 4.1.1.11 ━ Debounce is used to remove glitch noise. ━ 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.
Page 27
STKS A96T418GDN Shield Board quick Guide Function description (Using Touch library) #define TIMER_STARTUP_VAL 4.1.1.13 ━ Set stabilization time of touch sensor after IC power on (unit : 1 ms) ━ Generate Touch Key values after a set time. ━ Setting range (100 ~ 500) : default 300 #define TIMER_BASE_SAMPLE_VAL 4.1.1.14...
Function description (Using Touch library) A96T418GDN Shield Board quick Guide #define TIMER_REVERSE_BASE_SAMPLE_VAL 4.1.1.16 ━ This feature prevents malfunction when Rawdata is outside the baseline. ━ This function sets the reverse holding time (unit: ms). ━ After this time, rawdata and basedata are matched.
STKS A96T418GDN Shield Board quick Guide Function description (Using Touch library) #define THD_DETECT_CHXX 4.1.1.18 ━ Set the threshold for each channel. ━ If the Diff data exceeds Threshold (THD), a Key detect event will occur. ━ Setting range (50 ~ 2000) #define THD_RELEASE_RATE_VAL 4.1.1.19...
Function description (Using Touch library) A96T418GDN Shield Board quick Guide #define TOUCH_SUM_CNT_CHXX 4.1.1.20 ━ A function that allows you to adjust the touch sensitivity. ━ SUM_COUNT determines the number of consecutive sensing times for a channel. ━ The greater the setting value, the greater the sensitivity.
STKS A96T418GDN Shield Board quick Guide Function description (Using Touch library) #define BASE_TRACE_SPEED_CHXX 4.1.1.21 ━ Sets the ratio between the existing data and the current data when updating the baseline. ━ Previous value : Current value = N : 1 ━...
Function description (Using Touch library) A96T418GDN Shield Board quick Guide user_function.c 4.1.2 void Library_Data_Assign(void) 4.1.2.1 ━ Data 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.
STKS A96T418GDN Shield Board quick Guide Function description (Using Touch library) LED Parameter Description user_function.h 4.2.1 #define COMXX_EN 4.2.1.1 #define SEGXX_EN 4.2.1.2 ━ If you used COM/SEG channel, set X=1, otherwise set X=0. Figure 31. LED COM/SEG port activation...
Function description (Using Touch library) A96T418GDN Shield Board quick Guide #define LED_CURRENT 4.2.1.3 ━ This is the driving current setting parameter of the LED driver. Figure 32. LED port current setting value #define LED_USE_COM_NUM 4.2.1.4 ━ Number of COM ports used.
STKS A96T418GDN Shield Board quick Guide Function description (Using Touch library) User Function Feature Description user_function.h 4.3.1 #define LED_DRV_EN X 4.3.1.1 ━ An option to control the LED via the LED driver. ━ If you are using led driver, set X=1, otherwise set X=0.
STKS A96T418GDN Shield Board quick Guide Function description (Using Touch library) #define UART_ENABLE X 4.3.1.3 ━ Data on Touch can be checked during project development. ━ If you use debug.c (UART), set X=1, otherwise set X=0. ━ The UART baud rate setting uses the parameter "#define DBG_BAUD_RATE" and is used as a parameter for the function "DBG_Set_Baudrate (uint8_t baud)".
Function description (Using Touch library) A96T418GDN Shield Board quick Guide #define HOLD_KEY_RELEASE_EN X 4.3.1.6 ━ If you are using Hold Key Release function, set X=1, otherwise set X=0. ━ If one or more keys are continuously pressed for a certain period of time (default 10s), the function is judged to be abnormal and the entire key is initialized.
STKS A96T418GDN Shield Board quick Guide Function description (Using Touch library) #define FIRST_KEY_PRIORITY X 4.3.1.7 ━ If you are using Key Priority set function, set X=1, otherwise set X=0. ━ If you enter a key set to priority, other keys are ignored (the keys with the same priority are not ignored;...
Function description (Using Touch library) A96T418GDN Shield Board quick Guide #define MULTI_KEY_RESET X 4.3.1.8 ━ Set X=1 if you are using the multi-key reset function, otherwise set X=0. ━ Pressing more than a set number of channels with the multi-key reset function enabled will reset the key.
Page 41
STKS A96T418GDN Shield Board quick Guide Function description (Using Touch library) #define TOUCH_RREQ_SEL_EN X 4.3.1.9 ━ 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 two frequencies.
Function description (Using Touch library) A96T418GDN Shield Board quick Guide main.c 4.3.2 void Init_GPIO(void) 4.3.2.1 ━ Default GPIO set, output Low void Init_Touch(void) 4.3.2.2 ━ Touch sensing mode and touch related data assign function. ━ If you change the contents of the function, it may affect touch sensing, so don't change it.
STKS A96T418GDN Shield Board quick Guide Revision history Revision history Date Revision Description 20.04.10 1.00 Document created 21.01.04 1.01 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...
Page 44
ABOV Semiconductor ("ABOV") reserves the right to make changes, corrections, enhancements, modifications, and improvements to ABOV products and/or to this document at any time without notice. ABOV does not give warranties as to the accuracy or completeness of the information included herein. Purchasers should obtain the latest relevant information of ABOV products before placing orders.
Need help?
Do you have a question about the A96T418GDN and is the answer not in the manual?
Questions and answers