Age | Commit message (Collapse) | Author | Files | Lines |
|
In addition to the last commit we now send:
* a burst start magic
* the framenumber
* the Training Sequence Code number
* 2 simple XOR checksums
The data of a burst now looks like:
struct burst {
uint8_t garbage1;
uint8_t magic[8]; /* "IQDATAv1" in ASCII */
uint16_t iq_samples[302];
uint16_t iq_lrc;
uint8_t garbage2;
uint16_t demod[34];
uint32_t fn;
uint16_t tsc;
uint16_t demod_lrc;
};
Signed-off-by: Steve Markgraf <steve@steve-m.de>
|
|
Copying to/from the DSP API shared memory must be done using
16 bits word only. Using those method, we avoid the hassle of
repeating the code when we copy buffer back and forth.
API address must be 16 bits aligned but for our purpose, it's
good enough.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
|
|
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
|
|
Mix between Dieter's version in tch branch and how the TSM30 does it.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
|
|
The target input level at the ABB ADC / DSP baseband downlink path
is just an estimate and might have to change
|
|
* Tell DSP to properly initialize ABB(TWL3025) registers at first DSP interrupt
* Initialize the entire API RAM to zero on dsp_power_on()
* Tell DSP to initialize the APCRAM to all-zero to preven accidential Tx
* Set number of GUARD bits to 8
* Add function to configure TCH parameters: dsp_load_tch_param()
|
|
|