Basic Tuning Process Using The Command Line Interface And A Pc Terminal Program - Fujitsu TSC SK-TSC-1125S User Manual

Touch sensor controller
Table of Contents

Advertisement

3 Basic Tuning Process using the Command Line Interface
and a PC Terminal Program
The SK-TSC-1125S kit can also be used together with a demo application running on the
SK-16FX-EUROSCOPE to adapt settings like sensitivity and other parameters in the running
application and to optimize performance.
Here for, only a terminal program is needed on the PC, so it is platform independent. The
Fujitsu Startkerkit Wizard is recommended for this, as it supports the 'Form Feed' command
which is used for the monitoring modes explained later in this document.
Please note that the SK Wizard only supports UART numbers 1-4. For this reason, the
UART used for terminal communication has to be COM1-4 on the PC. If this is not the case
(often the SK16FX will have a higher COM port number), the assigned COM port number
has to be changed in the control panel (Device Manager -> Ports (COM & LPT) -> right-click
on 'FUJITSU Microcontroller Board (COMx)' -> Properties -> Port Settings -> Advanced)
Open the SK Wizard or Terminal Program and connect to the UART (8N1, 115200 baud)
and type 'help<ENTER>' for a list of available commands. The most important will be also
explained in the following.
'mon'
'mon2'
'moff'
'srd nn'
'sa nn mm'
'sax mm'
'sv'
'wr'
'id=0xnn'
'rst'
'dump'
'set nn mm'
'setx nn mm'
'rd nn'
'sf p t'
'a+nn'
'a-nn'
'stp n'
'ldp n'
© Fujitsu Microelectronics Europe GmbH
SK-TSC-1125S User Guide
Numerically monitor current impedance values and touch status
Graphically monitor current impedance values and touch status
Bars turn from ' | ' to ' * ' when pad is active
Turn off monitoring
Set Reference Delay to nn (0-127, decimal). A lower value moves all
Bars (mon2 mode) to the right, a higher to the left.
Set Alpha (sensitivity) of channel nn to value mm (0-127, decimal)
Set all Alphas (PA0-7) to mm (0-127, decimal)
Show current values of Alpha and Reference Delay
Issue a Warm Reset to the TSC (activate settings + force calibration)
Select Chip ID nn (hex) for tuning
Reset all TSCs to the power-up firmware defaults used by the demo
Print out current register settings
Set register nn (hex) to mm (decimal)
Set register nn (hex) to mm (hex)
Read register x (hex)
Set TSC internal low pass filter to period p and threshold t (p>t)
(touch will be signalled when more than t samples during one period p
are active, p and t <= 15)
Increment all Alpha values by nn
Decrement all Alpha values by nn
Store current parameters to Flash preset n (n = 0...9)
Load preset n from Flash and write to TSC registers
- 13 -

Advertisement

Table of Contents
loading

Table of Contents