TS-4100 FPGA: Difference between revisions
From embeddedTS Manuals
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
|- | |- | ||
| rowspan=4 | 129:256 | | rowspan=4 | 129:256 | ||
| | | 7:3 | ||
| Reserved (Write 0) | | Reserved (Write 0) | ||
|- | |- |
Revision as of 15:31, 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 | 7:3 | Reserved (Write 0) |
2 | Input Data | |
1 | Output Data | |
0 | Output Enable |