This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于wor模式的进入

Other Parts Discussed in Thread: CC1101

hi。我在制作wor实验。有这两个问题

1、单我初始化完毕后,我想开启wor时,我写的代买是否有问题?

  INT8U reg;
 
  reg=halSpiReadReg(CCxxx0_MCSM2); //对MCSM2进行操作。2-0位为设置RXtime的工作暂停时间
  reg &= ~0x05;//设置为0010  2
  reg |=  0x02;
  halSpiWriteReg(CCxxx0_MCSM2,2);
 
  halSpiStrobe(CCxxx0_SIDLE);//进入活动态
  halSpiStrobe(CCxxx0_SFRX);//将接收区的数据全部清掉
  halSpiStrobe(CCxxx0_SWORRST);//将wor全部复位
  halSpiStrobe(CCxxx0_SWOR);//进入休眠态

 

2、当我用上面函数进入wor模式。测量cc1101,发现电流只连100nA都不到,是不是我的测量有问题?我测量方式是 通过万用表连接插入cc1101的地和电源地