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 4. 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.
A96T418GDN Shield Board quick Guide 3. 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: Step 1. Prepare the Starter kit & Shield Board Step 2.
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 6.
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 LED M-Type Matrix User SW COM0~COM7, SEG8~SEG15 BUZZER P11/PWM1O Figure 7. A96T418GDN Shield Board Description...
3. 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)
A96T418GDN Shield Board quick Guide 3. 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 9.
3. 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 10.
A96T418GDN Shield Board quick Guide 3. 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...
3. Building and running project (Shield Board) A96T418GDN Shield Board quick Guide STKS Practice 3.4.1 Compile with Keil uVision5 for C51 Install “Keil uVision5 for C51”. Open the project file provided (A96T418Proj.uvmpw). Figure 12. Execute Keil uVision5 for C51 Build the project...
A96T418GDN Shield Board quick Guide 3. Building and running project (Shield Board) 3.4.2 Download & Run with OCD Connection : To connect the OCD, move the power switch in the direction shown below. Figure 145. OCD Connection Download : Download the hex file (t418code.hex) as shown below.
3. Building and running project (Shield Board) A96T418GDN Shield Board quick Guide Figure 156. 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 …...
A96T418GDN Shield Board quick Guide 3. Building and running project (Shield Board) Figure 167. Touch & Display Library description 3.5.1 user.h #define LED_DRV_EN X : If you are using lib_leddriver.LIB, set X=1, otherwise set X=0. #define DBG_MSG_EN X : If you are using lib_debug.LIB, set X=1, otherwise set X=0.
A96T418GDN Shield Board quick Guide 3. Building and running project (Shield Board) Figure 179. Touch/LED Independent Mode Touch CH activation : Set ‘1’ for active CH and ‘0’ for inactive CH...
A96T418GDN Shield Board quick Guide 3. Building and running project (Shield Board) LED COM/SEG activation : Set ‘1’ for active COM/SEG port and ‘0’ for inactive COM/SEG port Figure 21. LED COM/SEG port activation 3.5.2 main.c Init_Library (void) Initialize library variables.
3. Building and running project (Shield Board) A96T418GDN Shield Board quick Guide Figure 22. Sensitivity for each channel in normal mode TS_Set_Mode (ADJUST_MODE) : In this mode, the parasitic capacitance value for each channel is adjusted. : Sensitivity for each channel is similar.
A96T418GDN Shield Board quick Guide 3. Building and running project (Shield Board) TS_Set_Sum_Count (unsigned char sum_cnt) set the SUM_COUNT register value. SUM_COUNT determines the number of consecutive sensing times for a channel. C. SUM_COUNT can act as low pass filter, but it has the disadvantage that the sensing time becomes longer.
3. Building and running project (Shield Board) A96T418GDN Shield Board quick Guide traceDelay determines the period of time to trace. Figure 25. Base-line trace parameters TS_Set_Release_Rate (unsinged char rate) This function set the level for key-release judgement. Key release judgement level is rate % of threshold.
A96T418GDN Shield Board quick Guide 3. Building and running project (Shield Board) Figure 27. Reverse situation parameters 10. TS_Set_Debounce (unsigned char detect_cnt, unsigned char release_cnt) 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.
A96T418GDN Shield Board quick Guide 3. Building and running project (Shield Board) VDD 5V Figure 30. Touch/LED time-division operation 14. variable “ts.detect_key” This variable has a size of 32 bits Bits are assigned sequentially from the lowest channel number among the activated keys.
Revision history 8-bit MCU starter kit guide 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...
Page 35
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.