Skip to content
Snippets Groups Projects
Commit cc4d8c62 authored by Paulus Kruger's avatar Paulus Kruger
Browse files

Merge branch 'master' of https://git.astron.nl/lofar2.0/pypcc

parents bd01d8b9 c34bd7ca
Branches
Tags
No related merge requests found
Pipeline #93699 passed
...@@ -308,6 +308,7 @@ methods: ...@@ -308,6 +308,7 @@ methods:
debug: True debug: True
instructions: instructions:
- CCDTR_I2C_error : 0 - CCDTR_I2C_error : 0
- WAIT: 2000
- CCD_IO1_GPIO1 : Update - CCD_IO1_GPIO1 : Update
- CCD_IO1_GPIO2 : Update - CCD_IO1_GPIO2 : Update
- CCD_BACK_ID: Update - CCD_BACK_ID: Update
...@@ -343,16 +344,23 @@ methods: ...@@ -343,16 +344,23 @@ methods:
- IO1.GPIO1: 0x42 #0100 0010 CS=high - IO1.GPIO1: 0x42 #0100 0010 CS=high
- WAIT: 200 - WAIT: 200
- CCD_PLL_setup: 0 - CCD_PLL_setup: 0
- FAN_setup: 0
- WAIT: 500 #ms to wait before checking lock
- CCD_clear_lock: 1
- CCD_clear_lock: 0
- CCDTR_Update: 0 #refresh all settings
- name: FAN_setup
driver: I2C_CLK
debug: true
instructions:
- MAX.0x00 : 0x00 - MAX.0x00 : 0x00
- MAX.0x02 : 0x08 - MAX.0x02 : 0x08
- MAX.0x01 : 0x0F - MAX.0x01 : 0x0F
- MAX.0x06 : 0x60 - MAX.0x06 : 0x60
- MAX.0x28 : 227 - MAX.0x28 : 227
- MAX.0x29 : 0x80 - MAX.0x29 : 0x80
- WAIT: 500 #ms to wait before checking lock
- CCD_clear_lock: 1
- CCD_clear_lock: 0
- CCDTR_Update: 0 #refresh all settings
- name: CCD_off - name: CCD_off
driver: I2C_CLK driver: I2C_CLK
......
...@@ -71,7 +71,7 @@ def check_ip(): ...@@ -71,7 +71,7 @@ def check_ip():
if ID in [0,1,2,3]: #APSCT in subrack if ID in [0,1,2,3]: #APSCT in subrack
ip_new='10.99.%i.100'%ID ip_new='10.99.%i.100'%ID
logging.info("APSCT subrack, ip=%s"%ip_new) logging.info("APSCT subrack, ip=%s"%ip_new)
if ID in [21,10]: if ID in [20,21,10]:
ip_new=IP_CCD ip_new=IP_CCD
logging.info("CCD detected, ip=%s"%ip_new) logging.info("CCD detected, ip=%s"%ip_new)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment