| TStik Application Notes |
Important Tip about all TStik and TINI application notes and examples |
The version of the TINIOS which is loaded onto TStik *must* match the
version of the TINIOS with which you compile your programs, or you will get a runtime
version mismatch error with an error code such as "9005". It's not practical
for us to rebuild all our examples for every intermediate TINIOS version -- so we provide
Ant build.xml files and tool
setup information to help you do this yourself. |
|
|
This is the Configuration Register page with links to the TStik
ConfigRegister class
|
|
A good first program. Shows how to access the TStik configuration registe.
This register is located inside the TStik CPLD and uses a SPI interface. This register
replaces what would have otherwise been several physical jumpers. Plus, the register
lets you change settings "on the fly" in your application. |
|
Package to access the TILT400 SPI register U2 which has outputs on
the JSimm expansion connector |
|
|
TStik is a 3.3V device, with TTL-level,
3.3V-powered I/O, and can be simply connected to most 3V and 5V peripherals.
There are a couple of important exceptions - 5V CMOS devices being
one of them. If you are not a 'hardware guy' please read this page
- it will save you time and headaches. |
|
|
Serial Peripheral Interface is the preferred way to expand
the I/O of TStik. |
1-Wire (external,
using serial1)
|
TStik has an on-board DS2480 connected to serial1. This provides
access to the 'external' 1-Wire network. |
|
|
TStik has Java support for Serial4
starting with the 1.12p9 pre-release of the TiniOS. Earlier versions do not support Serial4. |
|
|
TStik has integrated 10/100 BaseT |
|
|
NetBoot enables a TStik to "wake up" in a completely uninitialized
state and acquire the TINIOS and application code automatically. If you are concerned about
maintaining TINIs in the field, especially if "the field" is remotely located,
this is for you. NetBoot is one of the most compelling new TStik features. |
|
Compatability test results for many popular
Simm 72 socket boards used with the Tini 390. |
CAN net
|
TStik2 now has a 15.000 MHz crystal so it can precisely generate fast
CAN baud rates.
Use the Dallas CAN echo example included with the TINI firmware SDK.
Note that the crystal used on TStik1 (and Dallas m400) does not generate all CAN
baud rates precisely when connecting to other CAN systems. TStik1 and m400 have no
problem
talking
amongst themselves since they all use the same crystal. This also holds true for
TINI390. For best CAN baud rates you want a TINI crystal which is an integral number
of MHz
such as 16.000 instead of the 14.7456 and 18.432 used by TStik1, m400 and TINI390. |
I2C (Finally
starting 2005 Dec) |
How to set up a Tilt.400 board and TStik to
use I2C. |
|
|
TStik.72.nb has over 1.5 MBytes of
user flash memory. What can you do with that? For one thing, you should *always* store your
deployed application in Flash memory, rather than the battery-backed NVRAM, so that any
heap corruption or power cycling issues do not affect your code. |
|
TStik is rated for 0 to 70 degrees Celcius (see the data
sheet). But it's possible to exceed these limits with some care. |