资源描述:
《电子元器件应用-errata notes cc2510fx_cc2511fx》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、CC2510Fx/CC2511FxERRATANOTECC2510Fx/CC2511FxTableOfContents1PARTMAYHANGINPOWERMODE......................................................................................................22RX_OVERFLOWISSUE.......................................................................
2、...............................................43DOCUMENTHISTORY...........................................................................................................................6SWRZ014CPage1of6CC2510Fx/CC2511Fx1PartMayHanginPowerModeThefollowingappliesonlytopowe
3、rmode2and3.1.1DescriptionoftheProblemWhenwakingupfrompowermode2and3thereisasmallchancethattheSLEEP.MODEbitsarefaultysettoavalueotherthanzerobeforethePCON.IDLEbitisclearedbytheCPU.Thiscausesthechiptore-enterpowermodeimmediately.Sinceanenabledinterruptispendingatthispoint,th
4、echipwillwakeupandre-enterpowermodecontinuouslyandappeartohang.Oncethedevicehang,onlyasystemresetwillgetthechipbacktonormaloperation.1.2SuggestedWorkaroundByensuringthattheSLEEP.MODEbitsarewrittentozeroattheinstantthechipwakesfrompowermode,thechipwillneverre-enterpowermode
5、unintentionally.Ifthefollowingconditionsaremet,thiscanbedonebysettingupaDMAtransfertotheSLEEPregisterthatistriggeredrightbeforewritingthePCON.IDLEbit.•ThechipisrunningattheHSRCoscillatoratthehighestpossibleclockspeedsetting•Thehighspeedcrystaloscillatorispowereddown•FlashC
6、acheisdisabledPleasenotethattherequirementsstatedinthefollowingchaptersofthedatasheetstillapplies:PowerManagementControlandSleepTimerandPowerModes.NOTE:ThefollowingcodeassumesthechipisalreadyrunningattheHSRCoscillatorwiththehighestclockspeedsettingpossibleandthishastobehan
7、dledbytheapplication.Thecodemarkedbluebelowistimingcriticalandshouldbedoneintheorderasshownherewithnointerveningcode.SWRZ014CPage2of6CC2510Fx/CC2511Fx//InitializationofsourcebuffersandDMAdescriptorfortheDMAtransferunsignedchar__xdataPM2_BUF[7]={0x06,0x06,0x06,0x06,0x06,0x0
8、6,0x04};unsignedchar__xdataPM3_BUF[7]={0x07,0x07,0x07,0x07,0x07,0x07,0x04};unsignedchar__