ST20-GP1
DSPControl
DSP base address + #140
Write only
Bit
Bit field
Function
1:0
SampleRate
These bits control the sampling rate (the rate at which data is sent to the DMA
controller). The encoding of these bits is as follows:
SampleRate[1:0] Transfer period
No. of samples
accumulated
Mode
00
840 µs
256
Tracking
01
970 µs
256
10
31 µs
8
Acquisition
11
62 µs
16
2
NCOResetEnable
When set to 1, the accumulated NCO phase for a channel is reset when the corre-
sponding PRN code register is written.
3
PRNDisable
When set to 1, all PRN generators are disabled.
Table 3.1 DSPControl register format
PRNcode0-11 registers
The PRNcode0-11 registers choose the code for the particular satellite, and writing these causes a
reset to the accumulated carrier phase in the NCO for the corresponding channel, if enabled by the
DSPControl register.
PRNcode0-11
DSP base address + #00 to #2C
Write only
Bit
Bit field
6:0
PRNcode
Function
Satellite code as a 7-bit value.
Table 3.2 PRNcode0-11 register format
The bit-fields for selecting particular GPS satellites are given in Table 3.3.
Satellite ID
PRNcode0-11
register value
Taps selected from G2 shift registera
by bits 6 to 4
by bits 3 to 0
1
#62
6
2
2
#73
7
3
3
#04
8
4
4
#15
9
5
5
#11
9
1
6
#22
10
2
7
#01
8
1
8
#12
9
2
9
#23
10
3
10
#32
3
2
11
#43
4
3
12
#65
6
5
13
#76
7
6
14
#07
8
7
15
#18
9
8
Table 3.3 PRNcode0-11 register value
14/116
®