Skip to content

Instantly share code, notes, and snippets.

@bdorney
Created June 18, 2019 15:59
Show Gist options
  • Save bdorney/c7032cb8d5c9d70daabd977b6c8c6fdf to your computer and use it in GitHub Desktop.
Save bdorney/c7032cb8d5c9d70daabd977b6c8c6fdf to your computer and use it in GitHub Desktop.
VFAT3 Frontend Registers
registers2apply = {
#Pulse Stretch
"CFG_PULSE_STRETCH":3,
#Provide a slight offset to the ZCC comparator baseline voltage
"CFG_THR_ZCC_DAC":10,
#Medium VFAT3 preamp gain
"CFG_RES_PRE":2,
"CFG_CAP_PRE":1,
#Comparator Mode - CFD
"CFG_PT":0xf,
"CFG_FP_FE":0x7,
"CFG_SEL_COMP_MODE":0,
"CFG_FORCE_EN_ZCC":0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment