TS-TPC-8900-4800: Difference between revisions

From embeddedTS Manuals
No edit summary
No edit summary
Line 332: Line 332:
| 11
| 11
| FPGA DIO_19 (DIO_04)
| FPGA DIO_19 (DIO_04)
|}
== DIO Header ==
The DIO is manipulated through [[tsctl]], or through manipulation of the [[#Register Map|registers]] directly.
Using tsctl will be the easiest way to communicate with the IO.  This example will show the simplest way to toggle the IO, but see the [[tsctl]] page for more advanced usage.
<source lang=bash>
# Start tsctl server if it is not already running.
# This only needs to be done once
tsctl --server &
# Lookup the logical DIO mapping of the dio header pin 1
eval `tsctl 127.0.0.1 System MapLookup DIO_40`
# Toggle the DIO high and low:
tsctl 127.0.0.1 DIO Set $DIO_40 high
tsctl 127.0.0.1 DIO Set $DIO_40 low
</source>
{| class=wikitable
|+ Header
|-
| 39
| 37
| 35
| 33
| 31
| 29
| 27
| 25
| 23
| 21
| 19
| 17
| 15
| 13
| 11
| 9
| 7
| 5
| 3
| 1
|-
| 40
| 38
| 36
| 34
| 32
| 30
| 28
| 26
| 24
| 22
| 20
| 18
| 16
| 14
| 12
| 10
| 8
| 6
| 4
| 2
|}
{| class="wikitable"
|+ Pinout
|-
! Pin
! Name
! Notes
|-
| 1
| N/A
| Not Connected
|-
| 2
| N/A
| Not Connected
|-
| 3
| Ground
|
|-
| 4
| N/A
| Not Connected
|-
| 5
| N/A
| Not Connected
|-
| 6
| N/A
| Not Connected
|-
| 7
| N/A
| Not Connected
|-
| 8
| N/A
| Not Connected
|-
| 9
| SPI_MOSI
| Controlled by [[tsctl]]
|-
| 10
| 3.3V
| Do not draw more than 12mA
|-
| 11
| N/A
| Not Connected
|-
| 12
| BUF_SPI_MOSI
|
|-
| 13
| BUF_SPI_CS1#
|
|-
| 14
| BUF_SPI_CLK
|
|-
| 15
| 5V
|
|-
| 16
| EXT_RESET#
| Power cycle the whole board
|-
| 17
| N/A
| Not Connected
|-
| 18
| Ground
|
|-
| 19
| N/A
| Not Connected
|-
| 20
| N/A
| Not Connected
|-
| 21
| IN_0
|
|-
| 22
| N/A
| Not Connected
|-
| 23
| IN_1
|
|-
| 24
| N/A
| Not Connected
|-
| 25
| IN_2
|
|-
| 26
| OUT_7
|
|-
| 27
| IN_3
|
|-
| 28
| OUT_6
|
|-
| 29
| IN_4
|
|-
| 30
| OUT_5
|
|-
| 31
| IN_5
|
|-
| 32
| OUT_4
|
|-
| 33
| IN_6
|
|-
| 34
| OUT_3
|
|-
| 35
| IN_7
|
|-
| 36
| OUT_2
|
|-
| 37
| I2C_DAT
| See [[tsctl]] for usage.
|-
| 38
| OUT_1
|
|-
| 39
| I2C_CLK
|
|-
| 40
| OUT_0
|
|}
|}
|}



Revision as of 18:11, 1 March 2012

TS-8900
TS-8900.jpg
Released Mar. 2011
Product Page
Documentation
Schematic
Board Mechanical Drawing
Mounting Mechanical Drawing


Overview

The TS-TPC-8900 is a complete touch panel computer solution comprised of a 10" TFT LCD, TS-8900 baseboard and a choice of macrocontroller CPUs. It is an ideal solution for applications requiring a touch screen human machine interface (HMI), such as industrial automation, home automation, self-service machines, and point-of-sale terminals. This product offers an excellent value with a full range of features and industry standard connectors and a fanless, low power, high performance modular design. TS-TPC-8900 also provides an upgrade path for Technologic Systems' customers currently using TS-TPC-7390, TS-TPC-7395, and TS-TPC-8390 products.

TS-4800

See the TS-4800 page for functionality regarding the CPU, FPGA, and OS.

TS-4800 Freescale i.MX515 800MHz Cortex-A8

Getting Started

The TS-8900 board has no specific boot sequence since the processor and Linux Operating System are located on the selected TS-4000 Series Macrocontroller. For the rest of the boot and setup procedure, please refer to the manual for the selected TS-4000 series Macrocontroller you are using listed here.

Before attempting to apply power to the TS-8900, perform the following steps while taking proper static discharge precautions

  • Place the TS-8900 base board on a firm non-conductive surface
    • Alternatively on the provided stand.
  • Carefully, insert the TS-4000 Series Macrocontroller daughterboard by aligning and pressing evenly and firmly onto the pair of mating connectors
  • Connect the RC-DB9 to the 10 pin CONSOLE header lining up the red wire to the white dot on the board.
  • Connect the Ethernet cable if applicable.
  • Apply 5-28V of power to the two power pins. Please note the polarity printed on the board.
    • Alternatively, you can use POE to power the board. Use only the RJ45 port closest to the macrocontroller for POE.
  • Monitor the TS-SOCKET SBC using a terminal emulator connected to the serial console port to verify that the board is operating properly

See the TS-4800 page for more details on dealing with the functionality of the macrocontroller.

Features

COM Ports

Port Type RX (or 485 +) TX (or 485 -) Notes
ttymxc0 RS232 Console header pin 2 Console header pin 3
XUART0 RS485 COM1 header pin 1 COM1 header pin 6 Toggle with xuart0_on and xuart0_off
ttymxc1 RS232 COM1 header pin 2 COM1 header pin 3
ttymxc2 RS232 COM1 header pin 8 COM1 header pin 7
XUART1 RS232 COM2 header pin 2 COM2 header pin 3 Toggle with xuart3_on xuart3_off
XUART2 RS485 COM2 header pin 1 COM2 header pin 6 Toggle with xuart4_on xuart4_off
XUART3 TTL XBEE socket pin 2 XBEE socket pin 3 Toggle with xuart5_on xuart5_off
XUART4 RS485/RS422 COM2 header pin 4 COM2 header pin 1 This is RX ONLY
Note: XUART4 only available in the opencore.

Console Header

The 10 pin Console port on the TS-8900 board brings out RS232. Using a RC-DB9 cable you can connect a standard null modem cable to your workstation for development and debugging.

10 pin header

Pin Name
1 Not Connected
2 CONSOLE_RXD
3 CONSOLE_TXD
4 CAN2_H
5 GND
6 Not Connected
7 Not Connected
8 Not Connected
9 CAN2_L
10 Not Connected

COM1 Header

This port brings out CAN, RS485, and RS232. Using a RC-DB9 cable you can connect a standard null modem cable to this header.

10 pin header

Pin Name
1 XUART0 485+
2 ttymxc1 RXD
3 ttymxc1 TXD
4 CAN_H
5 GND
6 XUART0 485+
7 ttymxc2 TXD
8 ttymxc2 RXD
9 CAN_L
10 Not Connected

COM2 Header

This port brings out CAN, RS485, and RS232. Using a RC-DB9 cable you can connect a standard null modem cable to this header.

10 pin header

Pin Name
1 XUART2 485+
2 XUART1 RXD
3 XUART1 TXD
4 CAN_H
5 GND
6 XUART4 RS422+
7 Not connected
8 Not connected
9 XUART4 RS422-
10 Not Connected
Note: XUART4 is only available in the opencore. This is a read only 422 port.

Dual USB Header

This is brought out as a USB 2.0 host.

USB0
Header PIN TS-Socket Location Name
1 N/A USB_5V
2 CN2 29 HOSTA_USB_M
3 CN2 31 HOSTA_USB_P
4 N/A GND

XBEE Socket

You can find more information on communication with this radio here.

Pin Function - Pin Function
1 3.3V - 20 SPI CLK
2 XBEE_RXD (XUART4) - 19 SPI_MOSI
3 XBEE_RXD (XUART4) - 18 SPI_MISO
4 Not connected - 17 SPI_CS1#
5 OFF_BD_RESET# - 16 Not connected
6 Not Connected - 15 Not Connected
7 Not Connected - 14 Not Connected
8 Not Connected - 13 Not Connected
9 Not Connected - 12 Not Connected
10 Ground - 11 FPGA DIO_19 (DIO_04)

DIO Header

The DIO is manipulated through tsctl, or through manipulation of the registers directly.

Using tsctl will be the easiest way to communicate with the IO. This example will show the simplest way to toggle the IO, but see the tsctl page for more advanced usage.

# Start tsctl server if it is not already running.
# This only needs to be done once
tsctl --server &

# Lookup the logical DIO mapping of the dio header pin 1
eval `tsctl 127.0.0.1 System MapLookup DIO_40`

# Toggle the DIO high and low:
tsctl 127.0.0.1 DIO Set $DIO_40 high
tsctl 127.0.0.1 DIO Set $DIO_40 low


Header
39 37 35 33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1
40 38 36 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2
Pinout
Pin Name Notes
1 N/A Not Connected
2 N/A Not Connected
3 Ground
4 N/A Not Connected
5 N/A Not Connected
6 N/A Not Connected
7 N/A Not Connected
8 N/A Not Connected
9 SPI_MOSI Controlled by tsctl
10 3.3V Do not draw more than 12mA
11 N/A Not Connected
12 BUF_SPI_MOSI
13 BUF_SPI_CS1#
14 BUF_SPI_CLK
15 5V
16 EXT_RESET# Power cycle the whole board
17 N/A Not Connected
18 Ground
19 N/A Not Connected
20 N/A Not Connected
21 IN_0
22 N/A Not Connected
23 IN_1
24 N/A Not Connected
25 IN_2
26 OUT_7
27 IN_3
28 OUT_6
29 IN_4
30 OUT_5
31 IN_5
32 OUT_4
33 IN_6
34 OUT_3
35 IN_7
36 OUT_2
37 I2C_DAT See tsctl for usage.
38 OUT_1
39 I2C_CLK
40 OUT_0

|}

Register Map

The MUXBUS region of the TS-4800 is available at 0xb0011000.

For example, to read the board id:

peekpoke 16 0xb0010012 0x181 # Set timing register
peekpoke 16 0xb0011000

This will print back 0x8900. All of the offsets below are from this address.

Address Bits Access Description
0x0 15-0 Read Only Board ID (0x8900)
0x02 15-8 Read Only 8 digital inputs
7-4 Read Only Custom load ID (0 is standard 8900)
3-0 Read Only FPGA Revision
0x04 15-8 Read/Write 8 digital outputs
7-4 Read Only Reserved
3 Read/Write Tagmem CLK
2 Read/Write Tagmem SI
1 Read/Write Tagmem CNS
0 Read/Write Tagmem SO
0x6 15-0 Read/Write SRAM page register
0x8 15-0 Read/Write PC104 bits 15-0 GPIO override
0xa 15-9 Read Only Reserved
8 Read Only PC104 bit 16 override
7-0 Read Only ISA data lines 15-8 override
0xc 15-0 Read/Write GPIO Output values
0xe 15-9 Read Only Reserved
8 Read/Write PC104 bit 16 output values
7-0 Read/Write ISA data lines 15-8 output values
0x10 15-0 Read/Write PC104 bits 15-0 data direction
0x12 15-9 Read Only Reserved
8 Read/Write PC104 bit 16 data direction
7-0 Read/Write ISA Data lines 15-8 data direction
0x14 15-0 Read/Write PC104 bits 15-0 GPIO input values
0x16 15-9 Read Only Reserved
8 Read Only PC104 bit 16 input values
7-0 Read Only ISA data lines 15-8 input values

Product Notes

FCC Advisory

This equipment generates, uses, and can radiate radio frequency energy and if not installed and used properly (that is, in strict accordance with the manufacturer's instructions), may cause interference to radio and television reception. It has been type tested and found to comply with the limits for a Class A digital device in accordance with the specifications in Part 15 of FCC Rules, which are designed to provide reasonable protection against such interference when operated in a commercial environment. Operation of this equipment in a residential area is likely to cause interference, in which case the owner will be required to correct the interference at his own expense.

If this equipment does cause interference, which can be determined by turning the unit on and off, the user is encouraged to try the following measures to correct the interference:

Reorient the receiving antenna. Relocate the unit with respect to the receiver. Plug the unit into a different outlet so that the unit and receiver are on different branch circuits. Ensure that mounting screws and connector attachment screws are tightly secured. Ensure that good quality, shielded, and grounded cables are used for all data communications. If necessary, the user should consult the dealer or an experienced radio/television technician for additional suggestions. The following booklets prepared by the Federal Communications Commission (FCC) may also prove helpful:

How to Identify and Resolve Radio-TV Interference Problems (Stock No. 004-000-000345-4) Interface Handbook (Stock No. 004-000-004505-7) These booklets may be purchased from the Superintendent of Documents, U.S. Government Printing Office, Washington, DC 20402.

Limited Warranty

See our Terms and Conditions for more details.