75XX Syscon: Difference between revisions
From embeddedTS Manuals
(Created page with "{| class="wikitable" |- ! Address Range ! Access ! Description ! Notes |- | 0x60 | Read Only | Model ID reg | Returns model (0x7500, 0x7553, etc) |- | 0x62 | Read/Write | submode...") |
No edit summary |
||
Line 1: | Line 1: | ||
These registers are offset from the base address at 0x60. For example, to read the Model ID: | |||
<source lang=bash> | |||
ts7500ctl --address=0x60 --peek16 | |||
</source> | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! | ! Offset | ||
! Bits | |||
! Access | ! Access | ||
! | ! Function | ||
|- | |- | ||
| | | 0x0 | ||
| 15-0 | |||
| Read Only | | Read Only | ||
| Model ID reg | | Model ID reg | ||
|- | |- | ||
| rowspan=10 | 0x2 | |||
| 15 | | 15 | ||
| Read/Write | | Read/Write | ||
Line 56: | Line 51: | ||
| 7-4 | | 7-4 | ||
| Read Only | | Read Only | ||
| Board submodel | | Board submodel | ||
|- | |- | ||
| 3-0 | | 3-0 | ||
| Read Only | | Read Only | ||
| FPGA revision | | FPGA revision | ||
|- | |- | ||
| | | 0x4 | ||
| 15-0 | |||
| Read Only | | Read Only | ||
| 16-bits of random data changed every 1 second. | | 16-bits of random data changed every 1 second. | ||
|- | |- | ||
| rowspan= 7 | 0x6 | |||
| 15-12 | | 15-12 | ||
| Read Only | | Read Only | ||
Line 107: | Line 90: | ||
| Read Only | | Read Only | ||
| Lattice tagmem serial-out (RO) | | Lattice tagmem serial-out (RO) | ||
|- | |- | ||
| | | 0x8 | ||
| 15-0 | |||
| Read Only | | Read Only | ||
| DIO input for pins 36(MSB)-21(LSB) | | DIO input for pins 36(MSB)-21(LSB) | ||
|- | |- | ||
| | | 0xa | ||
| 15-0 | |||
| Read Only | | Read Only | ||
| DIO output for pins 36(MSB)-21(LSB) | | DIO output for pins 36(MSB)-21(LSB) | ||
|- | |- | ||
| | | 0xc | ||
| 15-0 | |||
| Read/Write | | Read/Write | ||
| DIO direction for pins 36(MSB)-21(LSB) (1 - output) | | DIO direction for pins 36(MSB)-21(LSB) (1 - output) | ||
|- | |- | ||
| | | 0xe | ||
| 15-0 | |||
| Read/Write | | Read/Write | ||
| DIO input for pins 20(MSB)-5(LSB) | | DIO input for pins 20(MSB)-5(LSB) | ||
|- | |- | ||
| | | 0x10 | ||
| 15-0 | |||
| Read/Write | | Read/Write | ||
| DIO output for pins 20(MSB)-5(LSB) | | DIO output for pins 20(MSB)-5(LSB) | ||
|- | |- | ||
| | | 0x12 | ||
| 15-0 | |||
| Read/Write | | Read/Write | ||
| DIO direction for pins 20(MSB)-5(LSB) (1 - output) | | DIO direction for pins 20(MSB)-5(LSB) (1 - output) | ||
|- | |- | ||
| | | 0x14 | ||
| 15-0 | |||
| Write Only | | Write Only | ||
| Watchdog feed register | | [[#Watchdog]] feed register | ||
|- | |- | ||
| rowspan=7 | 0x16 | |||
| 15-11 | | 15-11 | ||
| N/A | | N/A | ||
Line 202: | Line 154: | ||
| Read Only | | Read Only | ||
| mode1 latched bootstrap bit | | mode1 latched bootstrap bit | ||
|} | |} |
Revision as of 16:01, 20 February 2012
These registers are offset from the base address at 0x60. For example, to read the Model ID:
ts7500ctl --address=0x60 --peek16
Offset | Bits | Access | Function |
---|---|---|---|
0x0 | 15-0 | Read Only | Model ID reg |
0x2 | 15 | Read/Write | Green LED (1 = on) |
14 | Read/Write | Red LED (1 = on) | |
13 | Read/Write | RTC SCL input | |
12 | Read/Write | RTC SDA input | |
11 | Read/Write | RTC SCL direction (1 - output) | |
10 | Read/Write | RTC SDA direction (1 - output) | |
9 | Read/Write | RTC SCL output | |
8 | Read/Write | RTC SDA output | |
7-4 | Read Only | Board submodel | |
3-0 | Read Only | FPGA revision | |
0x4 | 15-0 | Read Only | 16-bits of random data changed every 1 second. |
0x6 | 15-12 | Read Only | DIO input for pins 40(MSB)-37(LSB) |
11-8 | Read/Write | DIO output for pins 40(MSB)-37(LSB) | |
7-4 | Read/Write | DIO direction for pins 40(MSB)-37(LSB) (1 - output) | |
3 | Read/Write | Lattice tagmem clock | |
2 | Read/Write | Lattice tagmem serial-in (RW) | |
1 | Read/Write | Lattice tagmem CSn | |
0 | Read Only | Lattice tagmem serial-out (RO) | |
0x8 | 15-0 | Read Only | DIO input for pins 36(MSB)-21(LSB) |
0xa | 15-0 | Read Only | DIO output for pins 36(MSB)-21(LSB) |
0xc | 15-0 | Read/Write | DIO direction for pins 36(MSB)-21(LSB) (1 - output) |
0xe | 15-0 | Read/Write | DIO input for pins 20(MSB)-5(LSB) |
0x10 | 15-0 | Read/Write | DIO output for pins 20(MSB)-5(LSB) |
0x12 | 15-0 | Read/Write | DIO direction for pins 20(MSB)-5(LSB) (1 - output) |
0x14 | 15-0 | Write Only | #Watchdog feed register |
0x16 | 15-11 | N/A | Reserved |
10-6 | Read/Write | PLL phase (set by TS-BOOTROM) | |
5 | Read Only | mode3 latched bootstrap bit | |
4 | Read/Write | Reset switch enable (1 - auto reboot when dio_i[9] == 0) | |
3-2 | Read/Write | scratch reg | |
1 | Read Only | mode2 latched bootstrap bit | |
0 | Read Only | mode1 latched bootstrap bit |