CC2652R外接CC2592PA,PA,LNA和HGM口以及配置好,可以正常工作。但是网络建立后,在发送广播命令时,出现ZMacChannelAccessFailure的概率大于未加PA的芯片。分析是因为噪声被LNA放大导致,如何设置CCA的灵敏度?
Alvin Chen:
连续四次CSMA-CA failures才会触发ZMacChannelAccessFailure。据我所以这个灵敏度不可以修改,你可以去英文那个问一下AE。
Alvin Chen:
回复 Alvin Chen:
唯一的信息是如下:
/* IEEE RX Command */
rfc_CMD_IEEE_RX_t RF_cmdIEEERx =
{.commandNo= CMD_IEEE_RX,.status= 0x0000,.pNextOp= 0, /*INSERT APPLICABLE POINTER: (uint8_t*)&xxx */.startTime= 0x00000000,.startTrigger.triggerType= 0x0,.startTrigger.bEnaCmd= 0x0,.startTrigger.triggerNo= 0x0,.startTrigger.pastTrig= 0x0,.condition.rule= 0x1,.condition.nSkip= 0x0,.channel= 0x00,.rxConfig.bAutoFlushCrc= 0x1,.rxConfig.bAutoFlushIgn= 0x0,.rxConfig.bIncludePhyHdr= 0x1,.rxConfig.bIncludeCrc= 0x0,.rxConfig.bAppendRssi= 0x1,.rxConfig.bAppendCorrCrc= 0x0,.rxConfig.bAppendSrcInd= 0x0,.rxConfig.bAppendTimestamp= 0x1,.pRxQ= 0x00000000,.pOutput= 0x00000000,.frameFiltOpt.frameFiltEn= 0x0,.frameFiltOpt.frameFiltStop = 0x0,.frameFiltOpt.autoAckEn= 0x0,.frameFiltOpt.slottedAckEn= 0x0,.frameFiltOpt.autoPendEn= 0x0,.frameFiltOpt.defaultPend= 0x0,.frameFiltOpt.bPendDataReqOnly= 0x0,.frameFiltOpt.bPanCoord= 0x0,.frameFiltOpt.maxFrameVersion= 0x3,.frameFiltOpt.fcfReservedMask= 0x0,.frameFiltOpt.modifyFtFilter= 0x0,.frameFiltOpt.bStrictLenFilter= 0x0,.frameTypes.bAcceptFt0Beacon= 0x1,.frameTypes.bAcceptFt1Data= 0x1,.frameTypes.bAcceptFt2Ack= 0x1,.frameTypes.bAcceptFt3MacCmd= 0x1,.frameTypes.bAcceptFt4Reserved= 0x1,.frameTypes.bAcceptFt5Reserved= 0x1,.frameTypes.bAcceptFt6Reserved= 0x1,.frameTypes.bAcceptFt7Reserved= 0x1,.ccaOpt.ccaEnEnergy= 0x0,.ccaOpt.ccaEnCorr= 0x0,.ccaOpt.ccaEnSync= 0x0,.ccaOpt.ccaCorrOp= 0x1,.ccaOpt.ccaSyncOp= 0x1,.ccaOpt.ccaCorrThr= 0x0,.ccaRssiThr= 0x64,.__dummy0= 0x0,.numExtEntries= 0x00,.numShortEntries= 0x00,.pExtEntryList= 0x00000000,.pShortEntryList= 0x00000000,.localExtAddr= 0x0000000000000000,.localShortAddr= 0x0000,.localPanID= 0x0000,.__dummy1= 0x0000,.__dummy2= 0x00,.endTrigger.triggerType= 0x1,.endTrigger.bEnaCmd= 0x0,.endTrigger.triggerNo= 0x0,.endTrigger.pastTrig= 0x0,.endTime= 0x00000000,
};rfc_CMD_IEEE_CSMA_t RF_cmdIEEECsma =
{.commandNo= CMD_IEEE_CSMA,.status= 0x0000,.pNextOp= (rfc_radioOp_t *)&RF_cmdIEEETx,.startTime= 0,.startTrigger.triggerType= 0x0,.startTrigger.bEnaCmd= 0x0,.startTrigger.triggerNo= 0x0,.startTrigger.pastTrig= 0x1, // command can be delayed and appended to the end of the rf_cmdQ..condition.rule= COND_STOP_ON_FALSE,.condition.nSkip= 0,.randomState= 0,.macMaxBE= 5,.macMaxCSMABackoffs= 4,.csmaConfig.initCW= 1,.csmaConfig.bSlotted= 0,.csmaConfig.rxOffMode= 0,.NB= 0,.BE= 3,.remainingPeriods= 0,.lastRssi= 0,.endTrigger.triggerType= 0x1,.endTrigger.bEnaCmd= 0x0,.endTrigger.triggerNo= 0x0,.endTrigger.pastTrig= 0x0,.lastTimeStamp= 0,.endTime= 0,
};
Aries Lord:
回复 Alvin Chen:
加了CC2592后,接收灵敏度提高,以前一些环境噪声也会被LNA放大