论坛风格切换切换到宽版
  • 6188阅读
  • 26回复

求助:gs3000/u段如何写频,还有它可以工作在430-470吗? [复制链接]

上一主题 下一主题
离线bg4jj
发帖
5094
只看该作者 20楼 发表于: 2002-11-28
请问
有kg105的编程资料吗?
离线BG4RFF
发帖
1581
只看该作者 21楼 发表于: 2002-11-28
以前网页有,搜索一下吧!
贴个东东
附件: gx3000z.zip (0 K) 下载次数:99
离线bg4jj
发帖
5094
只看该作者 22楼 发表于: 2002-11-28
最好把算法也贴出来
如果方便:)
离线BG4RFF
发帖
1581
只看该作者 23楼 发表于: 2002-11-28
a number of parameters need to be worked out;

the 12mhz tcxo is divided by 16 (ic101) to provide a 750khz reference frequency. this reference frequency is sampled and divided by the 'reference division rate' to determine the channel spacings.

reference division rate - 750khz/12.5khz = 60 = c30 in reversed hex as used by the key (see tx(r) & rx(r) in the table below).

reference division rate - 750khz/10khz = 75 = b40 in reversed hex as used by the key (see tx(r) & rx(r) in the table below).

each address code always starts with f i.e. f* f* f* so that for the reference division rate for 12.5khz c30 works out to be fc f3 f0.

d = basic division rate = frequency of operation / 12.5

d = prescaler division rate fixed at 64

n = number of complete divisions

r = remainder of the basic division rate

'n' & 'a' are calculated using the following equation; d = ( n x d ) + a / works out to the following in the example below
11.602 = (0.181 x 64) + 0.018

a tx frequency of 145.025mhz = 145.025/12.5 = 11.602 = d then divided by d (fixed at 64)

11.602/64 = 0.18128125 = 0.181 number of complete divisions = n = 181 converted into hex and reversed = 5b0 (see tx(n) in the table below).

0.181x64 = 11.584-11.602 = 0.018 = a = remainder of the basic division rate

18 converted into hex and reversed = 21 (see tx(a) in the table below).

receive is similar but 21.6mhz has to be taken off the rx frequency

a rx frequency of 145.625mhz = 145.625-21.6/12.5 = 9.922/64 = 0.15503125

0.155 number of complete divisions = n = 155 converted into hex then reversed b90 (see rx(n) in the table below).

0.155x64 = 9.92-9.922 = 0.002 = a = remainder of the basic division rate

2 converted into hex and reversed = 20 (see rx(a) in the table below).


key 2732 eprom coding
channel #1 address 0 1 2 3 4 5 6 7 8 9 a b c d e f
tx(a) tx(n) tx(r) rx(a) rx(n) rx(r)
channel data - example 145.025 tx 145.625 rx f2 f1 f5 fb f0 fc f3 f0 f2 f0 fb f9 f0 fc f3 f0
channel #2 address 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
tx(a) tx(n) tx(r) rx(a) rx(n) rx(r)
channel data - example 145.050 tx 145.650 rx f4 f1 f5 fb f0 fc f3 f0 f4 f0 fb f9 f0 fc f3 f0
离线bg4jj
发帖
5094
只看该作者 24楼 发表于: 2002-11-29
太麻烦啦
谢谢:p

真像绕口令
其实===

很简单,二进制算起来很顺的事换算成十进制算计绕圈子太大啦!想想吧。
离线BG4RFF
发帖
1581
只看该作者 25楼 发表于: 2002-11-29
我提供了程序,你要算法,我就给你了,我也是嫌烦才编程的!
离线bg4jj
发帖
5094
只看该作者 26楼 发表于: 2002-11-29
gx3000的简化写频算法
我的意思是说:算法可以简化的:
11602-->0000 1011 0101 01 0010 (二进制)
            0   b   5   1   2

这才是近路呢 估计你的程序也是这样实现的吧?如果不是那就还可以这样简化的.

谢谢你的算法,再次感谢!