TS-4100 FPGA: Difference between revisions

From embeddedTS Manuals
No edit summary
No edit summary
Line 9: Line 9:
! Description
! Description
|-
|-
| rowspan=3 | 0
| rowspan=5 | 0
| 7
| 7
| GPIO mode
| GPIO mode

Revision as of 15:05, 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 7 GPIO mode
6:3 Crossbar Value
2 Input Data
1 Output Data
0 Output Enable