-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvldb-config_p.dcs
More file actions
35 lines (35 loc) · 1023 Bytes
/
vldb-config_p.dcs
File metadata and controls
35 lines (35 loc) · 1023 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
############################################################
# Access to VLDB SCA registers of VLDB.
# Line format : 0x$ch$tr00$cmd (32 bits) 0xdata (32 bits)
############################################################
#
######### GBT-SCA main configuration #########
#
## Enable GPIO + Disable I2C(4..0) and SPI.
# WR-then-RD CONTROL REG B : cmd=0x02 data=0x04
0x00030002 0x04000000
0x00040003 0x00000000
#
## Disable I2C(12..5).
# WR-then-RD CONTROL REG C : cmd=0x04 data=0x00
0x00050004 0x00000000
0x00060005 0x00000000
#
## Enable ADC + Disable I2C(13..15) and JTAG.
# WR-then-RD CONTROL REG D : cmd=0x06 data=0xf0
0x00070006 0xf8000000
0x00080007 0x00000000
#
# WR-then-RD Set GPIO direction : cmd=0x20 data = 0x00240000
0x02090020 0x000000F0 #we allowed this because we want access to GPIO 4 5 6 7 = F0
0x020a0021 0x00000000
#
#
## RD SCA v1 Identifier
0x14010090 0x000000aa
0x14020091 0x00000001
#
## RESET-then-RD SEU Counter
# 0x130900F0 0x00000000 does not work !
# 0x130a00F1 0x00000000 does not work !
##