TS-7250-V3 DIO Header: Difference between revisions
From embeddedTS Manuals
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
|- | |- | ||
| 4 | | 4 | ||
| [[#GPIO|Current Sink Output Bank | | [[#GPIO|Current Sink Output Bank 0 IO 30]] <ref>When this pin is a high output it enables a FET to ground.</ref> | ||
|- | |- | ||
| 5 | | 5 | ||
Line 27: | Line 27: | ||
|- | |- | ||
| 6 | | 6 | ||
| [[#SPI|spidev 0 | | [[#SPI|spidev 4.0 Chip Select]] | ||
|- | |- | ||
| 7 | | 7 | ||
Line 39: | Line 39: | ||
|- | |- | ||
| 10 | | 10 | ||
| [[#SPI|spidev 0 | | [[#SPI|spidev 4.0 MISO]] | ||
|- | |- | ||
| 11 | | 11 | ||
Line 45: | Line 45: | ||
|- | |- | ||
| 12 | | 12 | ||
| [[#SPI|spidev 0 | | [[#SPI|spidev 4.0 MOSI]] | ||
|- | |- | ||
| 13 | | 13 | ||
Line 51: | Line 51: | ||
|- | |- | ||
| 14 | | 14 | ||
| [[#SPI|spidev 0 | | [[#SPI|spidev 4.0 CLK]] | ||
|- | |- | ||
| 15 | | 15 |
Revision as of 11:05, 12 July 2021
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