TI中文支持网
TI专业的中文技术问题搜集分享网站

CC1310无线收发

你好,我的发模块用for语句连发8个数组元素,可收到的如附件,怎么有重复的,而且患有规律的重复,要想收全用12个数组元素。这是怎么回事儿?

Felix ZF:

请把发送部分的代码段贴出来吧

你这个截图的信息量太少了

另外,你用的什么SDK,基于哪个示例工程开发的?

fang wang6:

回复 Felix ZF:

发的程序:

 if (events & NODE_EVENT_UART_READ_VALUE)        {  for(j=0;j<8;j++)            { if((1<<j)&flash_zt)            {FlashRead(read, FALSH_ADDRESS+j*4096, 64);            mubiaodizhi=read[0];            for(t=0;t<7;t++)             //NodeRadioTask_sendAdcData(zhuanhuan8_64.read_64[0]);            {NodeRadioTask_sendAdcData(read[t]);             Task_sleep(10);            }
            }
            }          flash_zt=0;        }

收的程序: if(events & CONCENTRATOR_EVENT_NEW_ADC_SENSOR_VALUE)                                                           {//Event_post(concentratorEventHandle, NODBUS__UART_READ_VALUE);                                                              // Clock_start(peizendHandle);                                                               shoushu=latestActiveAdcSensorNode.latestAdcValue;                                                               peizi[pz]=shoushu;                                                               shoushu=0;                                                               pz++;                                                               if(pz>7)                                                               {                                                               flashErase(FALSH_ADDRESS );                                                               flashWrite(FALSH_ADDRESS, peizi, sizeof(peizi));                                                               flashwend=1;                                                               pz=0;                                                               //fa55=1;                                                               }                                                           }

芯片是128K的CC1310,实用这个型号的评估板:SmartRF06。  是基于rfWsnConcentrator_CC1310DK_7XD_TI_CC1310F128和rfWsnNode_CC1310DK_7XD_TI_CC1310F128开发的

fang wang6:

回复 fang wang6:

这个问题有结果了没?

赞(0)
未经允许不得转载:TI中文支持网 » CC1310无线收发
分享到: 更多 (0)