#BATCHNAME TX_Asynchronous_Direct_50KDR_h1
# Set PWRDWN pin = LOW
L6
# Apply Software Reset
# Write Register 07: Operating & Function Control1
# Software Reset : set 'swres' bit to 1
S2 8780
# Write Register 55: Reduce xTAL Start-up
S2 D540
# Set VCO Bias Current
S2 DA03
# Set FBDIV HC and disable TX boost
S2 D940
# Set DIG Regulator to 1.5V
S2 E602
# Fine tune the crystal to remove any offset.
# Write Register 09: Crystal Oscillator Load Capacitance Register
# Step through values in this register such that the TX output is at 915Mhz (±0.5 kHz)
S2 897a
# The PLL may also be offset to adjust frequency
# Not required if AFC is enabled or wider IF Filter is used
# Write Register 73, 74, 1D: Frequency Offset Register, Frequency Channel Control, AFC
Loop #Gearshift Override (Disable AFC)
# Step through values in this register such that the TX output is at 915Mhz (±0.5 kHz)
S2 9D00
S2 F300
S2 F400
# Set Desired Center Frequency (950MHz)
# Use Calculator to determine the appropriate values for the registers.
# Write Register 75: Frequency Band Select
# sbsel = '1', hbsel = '1', fb= '10111'
S2 F577
# Write Register 76: Nominal Carrier Frequency 1
# Write Register 77: Nominal Carrier Frequency 0
S2 F67D
S2 F700
# Set Data Rate = 50K
# Use Calculator to determine the appropriate values for the registers.
# Write Register 6E: TX Data Rate 1 Register
S2 EE0C
# Write Register 6F: TX Data Rate 0 Register
S2 EFCD
# Set Deviation to 25KHz
# Write Register 72: Frequency Deviation
S2 F228
# Set GPIOs to enable synchronous direct mode of data operation
# Set GPIO0 as TX Data Input for Direct Modulation
# Write Register 0B: GPIO0 configuration Register
S2 8b10
# Set GPIO1 as TX Data CLK output to be used in conjunction with TX Data pin (output)
# Write Register 0C: GPIO1 configuration Register
S2 8C0F
# Set FSK, asynchronous direct mode of operation
# Write Register 70: Modulation Mode Control 1 Register
# trclk[1:0] = '01' : TX Data CLK is available via the GPIO
# dtmod[1:0] = '00' : Direct Mode using TX_Data function via the GPIO pin.
# modtyp[2:0] = '010' : FSK mode.
S2 F102
# Turn the transmitter ON
# Write Register 07: Operating & Function Control 1 register
# txon = '1'
S2 8708
