TS-7250-V3 DIO Header: Difference between revisions
From embeddedTS Manuals
(Created page with "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. {| ! Signals ! Pin Layout |- | {| class=w...") |
No edit summary |
||
Line 1: | Line 1: | ||
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. | 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. | ||
{| | {| | ||
Line 64: | Line 64: | ||
<References /> | <References /> | ||
[[File:Keypad.gif|200px]] | |||
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 [https://github.com/embeddedarm/ts7100-utils/blob/master/src/keypad.c 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: | |||
<console> | |||
root@tsimx6:~# keypad | |||
1 | |||
UP | |||
DOWN | |||
2ND | |||
ENTER | |||
</console> |
Revision as of 14:50, 19 March 2020
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 | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
- ↑ When this pin is a high output it enables a FET to ground.
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