dhouston,
So far the registeres are reset when the power is removed. i.e. everytime I restart the module, the OSC is back to 1MHz.
I did read in one of the datasheets, but I can't find it now, something along the lines of that you have to reset the module after changing settings for them to be stored. Not 100% sure of this right now. But I haven't had any luck attempting it so far.
Bruce,
What do you mean ORed?
I'm struggling to get the over-all picture of what it sends here.
From my understanding.. to actually send data.. I must use the "WriteCMD loop from earlier, to send first $b8, and then another 8bits of data.
Which I have done by...
Code:
WriteFSKbyte:
...
temp = $b8
SCK = 0
SDI = 1
nSEL = 1
dout.highbyte = temp
dout.lowbyte = dat
gosub writecmd
Now currently there is what I presume is a preamble..
Code:
dout = $8228 'open PA
gosub writecmd
pauseus 4
dout = $8238 'something to do with transmit register
gosub writecmd
pauseus 2
dat = $AA
gosub writefskbyte 'send $B8AA
gosub writefskbyte 'send $B8AA
dat = $2D
gosub writefskbyte 'send $B82D
dat = $D4
gosub writefskbyte 'send $B8D4
That should actually transmit.... "$AAAA, $2DD4 " ????????
Suffering from severe lack of experience in RF and/or serial transmission, when should I send the pre-amble? Before every transmission?
i.e.
Preamble,
Transmit data, - Several 16bit segments...
Pause
do whatever else..
Preamble
Transmit data
etc??
Bookmarks