const USS_App_AddlTXSequence_t addtlTXSeqs[USS_APP_ADDTL_TX_SEQUENCES_MAX] =
{
// Sequence #1
// 2 trill pulses
// X-pulse #1 = 1 @300kHz (with 80Mhz PLL) @ 571k
// E-pulse #1 = 1 @400kHz (with 80Mhz PLL) @ 667k
// X-pulse #2 = 2 @500kHz (with 80Mhz PLL) @ 800k
// E-pulse #2 = 3 @800kHz (with 80Mhz PLL) @ 1M
{
.numTrillCycles = 2,
.xpulse = { 1, 2 },
.xhper = { 133, 80 }, // 80Mhz / (133+133) = ~300kHz
.xlper = { 133, 80 }, // 80Mhz / (80+80) = 500kHz
.epulse = { 1, 3 },
.ehper = { 100, 50 }, // 80Mhz / (100+100) = 400kHz
.elper = { 100, 50 }, // 80Mhz / (50+50) = 800kHz
.binPatternLen = 25, // 25 counts of binary pattern at 8Mhz
.binPattern =
{ 1,1,1,-1,-1,-1,1,1,1,-1,-1,1,1,-1,-1,1,1,-1,-1,1,-1,1,-1,1,-1},
}
};
In the program, what is the relationship between the frequency of the transmitted wave and binPatternLen, binPattern? If the frequency of the transmitted wave is modified, how should the corresponding values of binPatternLen and binPattern be adjusted?