完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
本帖最后由 一只耳朵怪 于 2018-6-6 16:27 编辑
您好,由于需要测试天线各种参数,需要编写一个持续发包的程序,我在ti例程里面打开了rfPacketTx_CC1310_LAUNCHXL_nortos_ccs这个例程,然后发现#define PACKET_INTERVAL (uint32_t)(4000000*0.01f) /* Set packet interval to 10ms */ 这个参数是修改时间的, 赋值的是 struct __RFC_STRUCT rfc_CMD_PROP_TX_s 这个结构体的 startTime 这个成员,里面的其他成员变量没看看懂,请问 如果我想连续不断发送数据包的话 ,需要怎么修改呢? 非常感谢 |
|
相关推荐
2个回答
|
|
|
不需要啊. 支持测硬件的话,用smartRF studio, 不用写代码,轻松控制各种发包.
www.ti.com/.../smartrftm-studio User guides (2) SmartRF Studio 7 Tutorial (Rev. B) www.ti.com/.../swru194 SmartRF Studio 7 Overview (Rev. B) www.ti.com/.../swru195 Description SmartRF™ Studio is a Windows application that can be used to evaluate and configure Low Power RF devices from Texas Instruments. The application helps designers of RF systems to easily evaluate the radio at an early stage in the design process. It is especially useful for generation of configuration register values and commands, and for practical testing and debugging of the RF system. SmartRF Studio can be used either as a standalone application or together with applicable evaluation boards or debug probes for the RF device. SmartRF™ Studio supports all the Low Power RF devices from TI. Note that you might need to use an older version of the tool to work with some of the older devices. SmartRF Studio 6 CC400, CC900 CC1000, CC1010, CC1020, CC1021, CC1050, CC1070 CC2400, CC2420 SmartRF Studio 7 CC1100, CC1100E, CC1101, CC1150 CC110L, CC113L, CC115L CC1120, CC1121, CC1125, CC1175 CC1200, CC1201 CC1110-CC1111 CC1310, CC1350 CC1312R, CC1352R. CC1352P CC2500, CC2550 CC2510, CC2511 CC2430, CC2431 CC2520 CC2530, CC2531, CC2533 CC2538 CC2540, CC2541 CC2543, CC2544, CC2545 CC2650, CC2640, CC2640R2F, CC2630, CC2620 CC2642R, CC2652R CC430 (all variants) Features Link tests. Send and Receive packets between nodes. Antenna and radiation tests. Set the radio in continuous wave TX and RX states. A set of recommended/typical register settings for all devices. Read and write individual RF registers. Execute individual commands to control the radio. Detailed information about the bit fields for each register or command. Save/Load device configuration data from file. Exports register settings and command arguments to a user definable format. Exports radio configuration code (CC13xx, CC26xx). Allows custom GPIO configuration (CC13xx, CC26xx). Communication with evaluation boards over USB via the debug probe or evaluation board. Up to 32 evaluation boards are supported on a single computer. SmartRF Studio 6 runs on Microsoft® Windows 98, Windows 2000, Windows XP (32 bit), Windows Vista (32 bit) and Windows 7 (32 bit). SmartRF Studio 7 runs on 32 and 64-bit versions of Microsoft® Windows 7, 8 and 10. Installation Recommendations: Download the ZIP file to your hard drive. Unzip the file. Read the readme.txt file for information about the release. Run the set-up file and follow the instructions. |
|
|
|
|
|
SDK里面的PER就是发包测试代码,也可以参考看看.
C:tisimplelink_cc13x0_sdk_1_60_00_21examplesrtosCC1310_LAUNCHXLdriversrfPacketErrorRate Packet Error Rate Example Application The Packet Error Rate (PER) example showcases different RF transfer modes of the CC13xx. It combines tasks, events and several peripherals to a platform- independent application and runs on all CC13xx launchpads as well as the CC1310EM/SmartRF06. Test cases are provided for the following RF modes:
Peripherals Exercised This example uses the following CC13xx peripherals:
If you’re using an IDE (such as CCS or IAR), please refer to Board.html in your project directory for resources used and board-specific jumper settings. Otherwise, you can find Board.html in the directoryExample Usage This example requires two boards, each running the PER Test application. However, the packet format is identical to the default one in SmartRF Studio, so that any compatible hardware can be used as well.
The PER test application contains of one main task and an event handler to synchronize the task with buttons. After setting up all resources, the menu task is started and runs in an endless loop. It shows the menu and invokes test cases in either rx.c or tx.c. |
|
|
|
|
只有小组成员才能发言,加入小组>>
550 浏览 0 评论
1613 浏览 0 评论
2047 浏览 0 评论
为啥BQ7693003DBTR芯片在和BQ769X0盒子通讯时收不到信号?
1514 浏览 0 评论
DSP 28027F 开发板 XDS100v2调试探针诊断日志显示了 Error -150 (SC_ERR_FTDI_FAIL)如何解决
1338 浏览 0 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
1758浏览 29评论
2785浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
1725浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
1635浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
1646浏览 13评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 18:13 , Processed in 1.845939 second(s), Total 75, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
3270