Technologic Systems TS-3200 User Manual Download Page 27

TS-3200 User’s Manual 

Technologic Systems 

05/21/2009 

27

In the default configuration, P1.5, P1.0 and P3.6 are all initialized as inputs, while P3.0, P3.1, and P3.3 

are initialized as "peripherals"  (IRQ4, IRQ3, and IRQ5) 

Warning: When changing these registers, always use read/modify/write procedures so that 
other port pins (used by on-board peripherals) are not affected. 

For example, let's say you want to use 386EX Port 3.1 (DIO pin 11) as an output rather than IRQ3 (the 

default configuration). 

1.  Read P3CFG (I/O F824h), AND it with 0FDh, write it back to F824h. (changes from peripheral 

to I/O pin) 

2.  Read P3DIR (I/O F874h), AND it with 0FDh, write it back to F874h. (this made it a 

complementary output) 

3.  To set this pin to a "1", Read P3LTC (I/O F872h), OR it with 02h, write it back. 

Note: Because the serial ports are internal to the 386EX, COM1 and COM2 can still use IRQ4 and 

IRQ3 even when the associated pins P3.1 and P3.0 are configured as DIO pins DIO1.11 and DIO1.12 

– the interrupts are simply no longer available on the PC/104 bus. 

Appendix F  - Using A 12.5 MHz Baud Clock 

Each serial port baud rate generator clock can be independently switched between either the standard 

1.85 MHz clock or a 12.5 MHz clock (the internal processor clock divided by 2). 
Changing the clock to 12.5 MHz allows baud rates higher than 115 kbaud (up to 781 kbaud), as well as 

low error, non-standard lower baud rates (such as 24 kbaud). 
The baud rate clock is controlled by I/O location 0F836h: 

Bit 0 controls COM1. 

Bit 1 controls COM2. 

Setting a bit to 0 uses the standard 1.85 MHz clock, and setting a bit to 1 uses the 12.5 MHz processor 

clock. 

NOTE: 

You 

must not

 modify the other bits of this register. You 

must

 use a read-modify-write 

procedure to change these bits. The following example in assembly illustrates this: 

 MOV DX, 0F836   ; load the I/O address 
 IN AL, DX   ; read the configuration register 
 OR AL, 00000001b  ; switch COM1 to the 12.5 MHz clock 
 OUT DX, AL   ; write the register 

Appendix G  - Further References 

Technologic Systems Web Site 

 

http://www.embeddedx86.com/

 

 
Intel 386EX User's Guide 

 

http://developer.intel.com/design/intarch/manuals/272485.htm

 

Maxim Integrated Products 

 

http://www.maxim-ic.com/

 

 
Omen Technologies 

 

http://www.omen.com/ 

PC/104 Consortium Web Site 

 

http://www.pc104.org/ 

Summary of Contents for TS-3200

Page 1: ...TS 3200 User s Manual...

Page 2: ...Laser Drive Fountain Hills AZ 85268 480 837 5200 FAX 837 5300 info embeddedx86 com http www embeddedx86 com This revision of the manual is dated May 21 2009 All modifications from previous versions ar...

Page 3: ...int the RMA number on the outside of the package This limited warranty does not cover damages resulting from lighting or other power surges misuse abuse abnormal conditions of operation or attempts to...

Page 4: ...FILES 17 14 1 Developing with Technologic Systems TS 9500 17 14 2 Zmodem Downloads 17 14 3 Manufacturing Mode 17 15 DEBUGGING 18 15 1 Integrated BIOS Debugger 18 15 2 Using other debuggers 19 16 VIDEO...

Page 5: ...atible computer and there are hundreds of books about writing software for the PC platform The purpose of this manual is documenting where the TS 3200 differs from a standard PC 2 PC Compatibility PC...

Page 6: ...sk by adding the vdisk sys device driver The RAM disk is accessible as drive C if the DiskOnChip 2000 Flash disk is not installed drive D if it is The size of the disk can be reduced to provide extend...

Page 7: ...rs a complete Linux Operating System configured for a small footprint that runs under the Linux kernel When using the DiskOnChip it will simply appear as drive C The DiskOnChip uses the 8 KB range of...

Page 8: ...may be consulted 5 2 Serial Port Hardware Each serial port has 4 lines buffered the two data lines and the CTS RTS handshake pair This is quite suffi cient to interface with the vast majority of seria...

Page 9: ...non standard I O locations Because DOS only directly supports four serial ports any additional ports beyond four will require software drivers The PC 104 bus has IRQ3 4 5 6 7 or 9 available for addit...

Page 10: ...nstalled it can be used for digital I O Pins 3 4 5 and 14 can be programmed as either inputs or outputs All digital outputs can source or sink up to 8mA All digital inputs have standard TTL level thre...

Page 11: ...e controller the cable needed is dependent on the display used For most displays a straight through type ribbon cable can be used The connector on the LCD display is typically mounted on the backside...

Page 12: ...the keypad is not used as stdin but read from as a hardware device This is useful if one wishes to use console redirection or to use a keyboard as stdin See the utility diskette for example code When...

Page 13: ...t Value The lower 16 bits WDTRDL are insignificant and can be loaded with zero This fact allows the following simple method of calculating a Reload Constant assuming a 25MHz 386EX clock For example if...

Page 14: ...r is first supplied to the TS 3200 the board mounted LED is immediately turned on under hardware control Once the processor begins execution the LED is turned off then flashed on and off again briefly...

Page 15: ...alled With a jumper installed on JP4 the 386EX clock is throttled to half speed One advantage of this feature is that this will reduce the amount of power consumed Another benefit is for debugging thi...

Page 16: ...ew signals not supported We have found this allows the support of the vast majority of PC 104 boards including all of the above mentioned examples The one feature missing is DMA which few PC 104 board...

Page 17: ...menu To upload a file from the TS 3200 to your host PC execute UL BAT FILENAME at the DOS command line on the TS 3200 and start the transfer in your terminal emulator Many emulators HyperTerminal amon...

Page 18: ...00 video and keyboard 15 1 Integrated BIOS Debugger To provide simple direct access to the TS 3200 hardware the system BIOS has an integrated debugger that can perform standard low level debugger func...

Page 19: ...he serial port Any program that accesses the video or keyboard hardware directly will not work Keyboard redirection is limited simply because most of the extended keys on the keyboard function keys an...

Page 20: ...200 User s Manual Technologic Systems 05 21 2009 20 Appendix A Board Diagram and Dimensions Figure 6 Board Diagram Coming Soon Figure 7 Board Dimensions standard PC 104 8 bit module dimensions Coming...

Page 21: ...k 1M BIOS Shadow RAM F0000h 960k 64k DOS BIOS Extension Shadow RAM E0000h 896k 64k PC 104 Bus D8000h 864k 32k DiskOnChip or SRAM or PC 104 Bus D0000h 832k 32k PC 104 Bus C8000h 800k 32k PC 104 Bus Typ...

Page 22: ...8h 19Fh Used by TS 9300 and TS 9500 Daughter Boards 140h 15Fh User Chip Select Pin B19 on PC 104 Bus 80h FFh Internal 386EX peripherals 07Eh DIO2 byte wide port 07Dh Control Latch for DIO2 and LCD Por...

Page 23: ...0 AL SP_VERSION For standard versions of the BIOS this is 0 An SP number is assigned when custom modifications are made to the BIOS for a client and it is returned in this register Contact us for furt...

Page 24: ...keypad with a custom translation table CX Translation table segment if BH 11 DX Translation table offset if BH 11 EXIT CY 0 carry flag AH 00 Int 15h Function B042h Alpha Numeric LCD Support This routi...

Page 25: ...pers in register BX according to the list below ENTRY AX B020h EXIT CY 0 carry flag AX 0 BX Jumper Pin Status If Bit X 1 the jumper is installed BX Bit Jumper Description 0 JP1 Manufacturing Mode 1 JP...

Page 26: ...3CFG read write 0F820h 0F824h Port n Mode Configuration Each bit controls the mode of the associated pin 0 Selects I O mode 1 Selects peripheral mode P1DIR P3DIR read write 0F864h 0F874h Port n Direct...

Page 27: ...Appendix F Using A 12 5 MHz Baud Clock Each serial port baud rate generator clock can be independently switched between either the standard 1 85 MHz clock or a 12 5 MHz clock the internal processor cl...

Page 28: ...00 User s Manual Technologic Systems 05 21 2009 28 Appendix H Manual Revisions 11 01 01 New manual 11 29 01 Revised DIO section Meaning of Bit 4 IO loc 7Dh changed polarity 05 21 09 Updated mailing ad...

Reviews: