TStik
Configuration Register
TINI400 in the familiar
SIMM72 module
package

TStik is powered by Dallas Semiconductor TINI


We believe the right number of physical configuration and option jumpers in a product is 'zero', but that is often hard to do. In order to have as few jumpers as possible on TStik.72.nb, we use a CPLD to control several of the configuration options and system signals. TStik's DS80C400 controller uses a local SPI interface to communicate with the CPLD. We include a Java package com.systronix.tstik which has CPLD access methods and fields. The structure and function of the configuration register is described in the table below.

After power on reset, the configuration register defaults to the most common value. This makes TStik usable without requiring any control of the register. Your application only needs to access the configuration register if you want to use the special capabilities of the configuration register.

A ConfigRegister class is available on the downloads page. This replaces the current app note example, and adds many enhancements. Note that you MUST use the latest TStik2 version of the TStik API in order to control the Serial1 select bit.


Configuration Register Bit Description
Bit Number
Name
Value
Description
7
PRESET
0
POR Default - Peripheral Reset (SIMM72.18) PRESET(H) output is not asserted, in other words it is low.
1
PRESET(H) is asserted high.
6
Serial1 Select
(TStik2 and later only)
Note 1 & 3
0
Connects Serial1 to SIMM72.14 (TX1) and SIMM72.15 (XRX1)if EN2480 (SIMM72.26) is high.
If EN2480 is low, Serial1 is connected to SIMM72.14 and SIMM72.15 for use as serial I/O,regardless of the state of this bit.
1
POR default - connects Serial1 to DS2480 1-Wire adapter if the EN2480 signal (SIMM72.26) is high.
If EN2480 is low, Serial1 is connected to SIMM72.14 and SIMM72.15 for use as serial I/O,regardless of the state of this bit.
5
CAN or I2C
Note 2 & 3
0
I2C enabled - P1.0 and P1.1 are connected to SIMM72.10 and SIMM72.11 as I2C SCK and I2C SDA. On TStik2 only, I2C is also available full time on pins SIMM72.21 and SIMM72.22
1
POR default - CAN enabled - P5.0 and P5.1 are connected to SIMM72.10 and SIMM72.11 as the CAN TX and CAN RX pins. On TStik2 only, I2C is always available full time on pins SIMM72.21 and SIMM72.22, even if Pins 10 and 11 are used for CAN.
4
Serial0 RS232 SHDN
Note 3
0
Disables Serial0 RS232 transceiver
1
POR default - enables Serial0 RS232 transceiver
3
ETHER SHDN
0
POR default - ethernet transceiver is enabled
1
Disables ethernet transceiver, saving about 100 mA of power supply current.
2
Reserved
0 or 1
Reserved for use on future TStik versions.
1
Reserved
0 or 1
Reserved for use on future TStik versions.
0
Reserved
0 or 1
Reserved for use on future TStik versions.
Notes:
1
When Serial1 is connected to the DS2480 for 1-Wire use, SIMM72.14 (TX1) is a TTL high level (the inactive state for TTL serial output). Note that Serial1 when used as serial I/O has TTL (not RS-232) voltage levels with a 3.3V supply (so will not directly drive CMOS inputs - see this page for TTL interfacing information). Refer to the TStik2 schematics and quick reference for more details.
2
On TStik2, the shared CAN/I2C pins SIMM72.10 and SIMM72.11 may be used for CAN full time, with I2C on pins SIMM72.21 and SIMM72.22. For compatability with older TStiks, and TINI390, CAN and I2C can still be shared on pins 10 and 11 as they also are on TINI390 and SNAP. It is recommended that new TStik2 socket boards use pins SIMM72 10 and 11 for CAN only, and 21 and 22 for I2C. In this way you can have fulltime access to both CAN and I2C. I2C should be mapped to JSimm.10 (SCL) and JSimm.11 (SDA) for full time I2C on JSimm. Also see the TStik I2C app note.
3
On TStik1, the default value for the Configuration Register is 0x30. On TStik2 it is 0x70.
4
SPI signals SCK, MOSI and MISO are used by the configuration register, so your hardware must not interfere with this use. We recommend you use these signals only for SPI use as described in the TStik SPI API.
 
Systronix® 939 Edison Street, Salt Lake City, Utah, USA 84111
contact us
 

Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Systronix is independent of Sun Microsystems, Inc.
TStik, JStik, JCX, JStamp, JSimm, JDroid, and JRealTime are trademarks of Systronix, Inc.
1-Wire, iButton and TINI are trademarks of Dallas Semiconductor
Simmstick is a trademark of Dontronics