Skip to content

Commit d18640e

Browse files
committed
xtrx: remove unnecessary lms7002m register defaults, and disable transmitter after chip reset
1 parent 17a6e05 commit d18640e

1 file changed

Lines changed: 5 additions & 23 deletions

File tree

src/boards/LimeSDR_XTRX/LimeSDR_XTRX.cpp

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -63,49 +63,31 @@ static const std::vector<std::pair<uint16_t, uint16_t>> lms7002defaultsOverrides
6363
};
6464

6565
static const std::vector<std::pair<uint16_t, uint16_t>> lms7002defaultsOverrides_limesdr_xtrx = {
66-
{ 0x0020, 0xFFFD },
6766
{ 0x0023, 0x5550 },
6867
{ 0x002B, 0x0038 },
69-
{ 0x002C, 0x0000 },
7068
{ 0x0081, 0x0001 },
71-
{ 0x0086, 0x4101 },
72-
{ 0x0089, 0x1040 },
73-
{ 0x008B, 0x2198 },
7469
{ 0x009B, 0x8C65 },
7570
{ 0x009E, 0x8C65 },
7671
{ 0x00A0, 0x658C },
7772
{ 0x00A6, 0x000F },
78-
{ 0x0100, 0x7409 },
79-
{ 0x0101, 0x1800 },
73+
{ 0x0100, 0x7408 },
74+
{ 0x0101, 0x1800 }, // F_TXPAD_TRF=0
8075
{ 0x0103, 0x0A50 },
81-
{ 0x0105, 0x0011 },
8276
{ 0x0108, 0x410C },
83-
{ 0x010A, 0x1FFF },
84-
{ 0x010B, 0x0001 },
85-
{ 0x010C, 0x8865 },
86-
{ 0x010D, 0x009F },
8777
{ 0x010F, 0x3042 },
8878
{ 0x0110, 0x2B14 },
8979
{ 0x0111, 0x0000 },
9080
{ 0x0112, 0x2106 },
91-
{ 0x0113, 0x01C1 },
9281
{ 0x0114, 0x01B0 },
93-
{ 0x0117, 0x2044 },
9482
{ 0x0119, 0x528C },
95-
{ 0x011A, 0x3001 },
9683
{ 0x011C, 0x8141 },
97-
{ 0x011F, 0x3602 },
84+
{ 0x011F, 0x3602 }, // SX_DITHER_EN=1
9885
{ 0x0120, 0x29DC },
9986
{ 0x0121, 0x37F8 },
10087
{ 0x0122, 0x0FFF },
10188
{ 0x0124, 0x001F },
102-
{ 0x0208, 0x017B },
103-
{ 0x0400, 0x8081 },
104-
{ 0x0405, 0x0303 },
105-
{ 0x0406, 0x0303 },
106-
{ 0x0407, 0x0303 },
107-
{ 0x040A, 0x2000 },
108-
{ 0x040C, 0x01FF },
89+
// { 0x0208, 0x017B },
90+
// { 0x040C, 0x01FF },
10991
};
11092

11193
} // namespace limesdrxtrx

0 commit comments

Comments
 (0)