#!/bin/bash

slot=$1
chan=$2

#ftw_LO0
./wr2rf -s $slot api-rfnco-write32 $chan 0x98 0x5E300000
./wr2rf -s $slot api-rfnco-write32 $chan 0x9c 0x0001C9BA 

#ftw_LO1
./wr2rf -s $slot api-rfnco-write32 $chan 0xa0 0x5E300000
./wr2rf -s $slot api-rfnco-write32 $chan 0xa4 0x0001C9BA 

#ftw_h1
./wr2rf -s $slot api-rfnco-write32 $chan 0x80 0x438C6CE8
./wr2rf -s $slot api-rfnco-write32 $chan 0x84 0x00000017

#offset h1
./wr2rf -s $slot api-rfnco-write32 $chan 0x100 0x0

#harmonic
./wr2rf -s $slot api-rfnco-write32 $chan 0x10c 4620

#softload 
./wr2rf -s $slot api-rfnco-write32 $chan 0x20 0x2
