TS-4100 FPGA: Difference between revisions
From embeddedTS Manuals
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
| rowspan=4 | 129:256 | | rowspan=4 | 129:256 | ||
| 6:3 | | 6:3 | ||
| Reserved | | Reserved (Write 0) | ||
|- | |- | ||
| 2 | | 2 |
Revision as of 15:13, 22 February 2016
The TS-4100 FPGA registers are accessed over I2C. The /sys/class/gpio driver provides access to the IO using these registers. See the #GPIO section for more information on the recommended method for IO access.
The FPGA is available at I2C addresses 0x28-0x2f. First write the address which is 16-bits, followed by the data which is 8-bits.
Address | Bits | Description |
---|---|---|
0:128 | 7 | GPIO mode |
6:0 | Crossbar Value | |
129:256 | 6:3 | Reserved (Write 0) |
2 | Input Data | |
1 | Output Data | |
0 | Output Enable |