Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
PyPCC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
PyPCC
Commits
88c999f8
Commit
88c999f8
authored
3 years ago
by
Paulus Kruger
Browse files
Options
Downloads
Patches
Plain Diff
HBAT2 points added
parent
bc7b83a7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/HBAT2.yaml
+78
-6
78 additions, 6 deletions
config/HBAT2.yaml
with
78 additions
and
6 deletions
config/HBAT2.yaml
+
78
−
6
View file @
88c999f8
...
@@ -4,7 +4,8 @@ description: "1234"
...
@@ -4,7 +4,8 @@ description: "1234"
drivers
:
drivers
:
-
name
:
hbaio
#TCA9548
-
name
:
hbaio
#TCA9548
type
:
hbat_pico_io
type
:
hbat_pico_io
parameters
:
[
'
/dev/ttyACM0'
]
#serial port number
# parameters: ['/dev/ttyACM0'] #serial port number
parameters
:
[
'
COM3'
]
#serial port number
-
name
:
hbat2
-
name
:
hbat2
type
:
i2c_array
#An array of similar devices connected to an I2C switch
type
:
i2c_array
#An array of similar devices connected to an I2C switch
parent
:
hbaio
parent
:
hbaio
...
@@ -29,19 +30,28 @@ device_registers:
...
@@ -29,19 +30,28 @@ device_registers:
-
name
:
X4
-
name
:
X4
address
:
0x3
address
:
0x3
store
:
True
store
:
True
-
name
:
Y
-
name
:
Y
1
address
:
0x4
address
:
0x4
store
:
True
store
:
True
-
name
:
Y2
address
:
0x5
store
:
True
-
name
:
Y3
address
:
0x6
store
:
True
-
name
:
Y4
address
:
0x7
store
:
True
-
name
:
SWX
-
name
:
SWX
address
:
0x8
address
:
0x8
store
:
True
store
:
True
-
name
:
SWY
-
name
:
SWY
address
:
0x9
address
:
0x9
store
:
True
store
:
True
-
name
:
FE_
FE_PWR
-
name
:
FE_PWR
address
:
0xA
address
:
0xA
store
:
True
store
:
True
-
name
:
FE_
BF_PWR
-
name
:
BF_PWR
address
:
0xB
address
:
0xB
store
:
True
store
:
True
-
name
:
ID
-
name
:
ID
...
@@ -81,7 +91,7 @@ variables:
...
@@ -81,7 +91,7 @@ variables:
mask
:
HBAT2_BF_mask
mask
:
HBAT2_BF_mask
dim
:
4
dim
:
4
-
name
:
DELAYS_X_G1
-
name
:
HBAT2_
DELAYS_X_G1
description
:
Group1 delays
description
:
Group1 delays
driver
:
hbat2
driver
:
hbat2
devreg
:
[
BF.X1
,
BF.X2
,
BF.X3
,
BF.X4
]
devreg
:
[
BF.X1
,
BF.X2
,
BF.X3
,
BF.X4
]
...
@@ -92,7 +102,7 @@ variables:
...
@@ -92,7 +102,7 @@ variables:
dim
:
16
dim
:
16
mask
:
HBAT2_ANT_mask
mask
:
HBAT2_ANT_mask
-
name
:
DELAYS_X_G2
-
name
:
HBAT2_
DELAYS_X_G2
description
:
Group2 delays
description
:
Group2 delays
driver
:
hbat2
driver
:
hbat2
devreg
:
[
BF.X1
]
devreg
:
[
BF.X1
]
...
@@ -103,6 +113,68 @@ variables:
...
@@ -103,6 +113,68 @@ variables:
dim
:
4
dim
:
4
mask
:
HBAT2_BF_mask
mask
:
HBAT2_BF_mask
-
name
:
HBAT2_ID
description
:
Unique HBAT ID
driver
:
hbat2
devreg
:
BF.ID
width
:
32
rw
:
ro
dtype
:
uint32
dim
:
4
mask
:
HBAT2_BF_mask
-
name
:
HBAT2_VERSION
description
:
HBAT software version
driver
:
hbat2
devreg
:
BF.VERSION
width
:
32
rw
:
ro
dtype
:
uint32
dim
:
4
mask
:
HBAT2_BF_mask
-
name
:
[
HBAT2_LED0
,
HBAT2_PWR_X
,
HBAT2_PWR_Y
,
HBAT2_PWR_FEs
]
driver
:
hbat2
devreg
:
BF.BF_PWR
bitoffset
:
[
0
,
2
,
3
,
4
]
width
:
1
rw
:
rw
dtype
:
boolean
dim
:
4
mask
:
HBAT2_BF_mask
-
name
:
HBAT2_PWR_FE
driver
:
hbat2
devreg
:
BF.FE_PWR
bitoffset
:
[
0
,
1
,
2
,
3
]
width
:
1
rw
:
rw
dtype
:
boolean
dim
:
16
mask
:
HBAT2_ANT_mask
-
name
:
HBAT2_BEAMFORM
driver
:
hbat2
devreg
:
BF.SWX
bitoffset
:
0
width
:
5
rw
:
rw
dtype
:
string
dim
:
4
mask
:
HBAT2_BF_mask
# lookup: {ANT0:0, ANT1:4, ANT2:1, ANT3:2, BF:14}
-
name
:
HBAT2_V1
driver
:
hbat2
devreg
:
BF.VSENSE
bitoffset
:
0
width
:
8
rw
:
ro
dtype
:
float
scale
:
1
dim
:
4
mask
:
HBAT2_BF_mask
methods
:
methods
:
-
name
:
LOAD_EEPROM
-
name
:
LOAD_EEPROM
driver
:
hbat2
driver
:
hbat2
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment