TS-7250-V3 DIO Header: Difference between revisions

From embeddedTS Manuals
m (Links auto-updated for 2022 re-branding ( https://github.com/embeddedarm/ts7100-utils/blob/master/src/keypad.c →‎ https://github.com/embeddedTS/ts7100-utils/blob/master/src/keypad.c))
No edit summary
Line 24: Line 24:
|-
|-
| 5
| 5
| [[#GPIO|GPIO Bank 5 IO 3]]
| [[#GPIO|GPIO Bank 5 IO 3]] / [[#UARTs|ttyS14 TX]]
|-
|-
| 6
| 6
Line 30: Line 30:
|-
|-
| 7
| 7
| [[#GPIO|GPIO Bank 5 IO 4]]
| [[#GPIO|GPIO Bank 5 IO 4]] / [[#UARTs|ttyS14 RX]]
|-
|-
| 8
| 8
Line 36: Line 36:
|-
|-
| 9
| 9
| [[#GPIO|GPIO Bank 5 IO 6]]
| [[#GPIO|GPIO Bank 5 IO 6]] / [[#UARTs|ttyS15 TX]]
|-
|-
| 10
| 10
Line 42: Line 42:
|-
|-
| 11
| 11
| [[#GPIO|GPIO Bank 5 IO 7]]
| [[#GPIO|GPIO Bank 5 IO 7]] / [[#UARTs|ttyS15 RX]]
|-
|-
| 12
| 12
Line 48: Line 48:
|-
|-
| 13
| 13
| [[#GPIO|GPIO Bank 5 IO 8]]
| [[#GPIO|GPIO Bank 5 IO 8]] / [[#UARTs|ttyS14 TXEN]]
|-
|-
| 14
| 14
Line 54: Line 54:
|-
|-
| 15
| 15
| [[#GPIO|GPIO Bank 5 IO 9]]
| [[#GPIO|GPIO Bank 5 IO 9]] / [[#UARTs|ttyS15 TXEN]]
|-
|-
| 16
| 16

Revision as of 11:19, 20 July 2022

The DIO header is a 0.1" pitch 2x8 header including SPI and GPIO. All pins on this header are 5V tolerant except SPI output pins. All of these DIO includes pullups.

Signals Pin Layout
Pin Signal
1 GPIO Bank 5 IO 1
2 GND
3 GPIO Bank 5 IO 2
4 Current Sink Output Bank 0 IO 30 [1]
5 GPIO Bank 5 IO 3 / ttyS14 TX
6 spidev 4.0 Chip Select
7 GPIO Bank 5 IO 4 / ttyS14 RX
8 GPIO Bank 5 IO 5
9 GPIO Bank 5 IO 6 / ttyS15 TX
10 spidev 4.0 MISO
11 GPIO Bank 5 IO 7 / ttyS15 RX
12 spidev 4.0 MOSI
13 GPIO Bank 5 IO 8 / ttyS14 TXEN
14 spidev 4.0 CLK
15 GPIO Bank 5 IO 9 / ttyS15 TXEN
16 3.3V

TS-7250-V3-DIO Header.svg

  1. When this pin is a high output it enables a FET to ground.
KPAD.jpg

The DIO header is designed to provide compatibility with the KPAD accessory. This is a 4x4 numerical keypad. This is supported in userspace with the keypad.c source code, or the "keypad" utility which is included in the shiping image.

This debounces presses to 50ms, and does not repeat when numbers are held. This will output a string containing the key that is pressed. Eg:

root@tsimx6:~# keypad
1
UP
DOWN
2ND
ENTER