Skip to content

RNO-G/rnog-cal

Repository files navigation

rnog-cal

testing code for rno-g calibration pulse driver board

getting started on revN:

Log onto RNO-G UChicago cluster, then ssh as follows. Note that the IP address will change based on the ethernet cord connected to the controller board.
ssh rno-g@<ip-address>
The controller board runs on 28 V. To enable pulsing on controller board, follow these steps.
Command for setting cal pulse attenuation and pulse vs. sine wave is as follows:
To turn cal board on:
gpioset CAL_EN=1
To enable pulse, need to turn on GPS board for PPS:
gpioset GPS_EN=1
To use GPS pulse as the trigger pulse: gpioset PPS_SELECT=1
IF it's the first time configuring a controller board, need to do:
ubxtool -z CFG-TP-LEN_TP1,10000,7 ::/dev/ttyGPS

To turn the board off:

To turn cal board off:
gpioset CAL_EN=0
To turn GPS board off:
gpioset GPS_EN=0

Command for setting cal pulse attenuation and pulse vs. sin wave is as follows.
python3 cal_i2c_revN.py <output_ch>

: attenuation between [0,63] (63 is largest pulse) <output_ch>: in range [0,3] (this refers to the SMA outputs on the pulser board) : 0 (pulse) or 1 (sine wave)

getting started on revE:

Turning on the Cal Driver Board:
sudo ./calBoardOn.sh
Note that sudo is only required for the first use after a Beaglebone restart. A green LED on the board should light up.

Turning off the Cal Driver Board:
sudo ./calBoardOff.sh
Note that sudo is only required for the first use after a Beaglebone restart. The green LED on the board should turn off.

See cal_i2c.py for example usage of the Cal Driver board

To toggle the pulse using the Beaglebone:
sudo ./enableBBBpps.sh
which will generate a repetitive digital pulse to the Cal Driver board. Note that sudo is only required for the first use after a Beaglebone restart.
To stop, use ctl-c, or can run continuously in the background by running as ./enableBBBpps.sh &

About

testing code for rno-g calibration pulse driver board

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors