MSP430FR6043: uss波形发射问题

Part Number: MSP430FR6043


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},
     }
};

 

程序中,发射波的频率和binPatternLen ,binPattern 的关系是什么?如果修改发射波的频率,那binPatternLen ,binPattern这两个参数怎么修改相应的值?