完善资料让更多小伙伴认识你,还能领取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. |
|
|
|
只有小组成员才能发言,加入小组>>
846 浏览 0 评论
TMS320F28377D:新做了以377d为芯片的板子,上电后芯片复位引脚出现方波请问如何解决?
2029 浏览 0 评论
TPS55340通电后输入端保险丝烧断,芯片输入和GND之间短路
3775 浏览 4 评论
5137 浏览 0 评论
请问如何用DM368对RGB格式的图片数据进行编码生成JPEG格式图片?
1831 浏览 1 评论
CC3100BOOST使用CC3200lunchXL进行烧录
823浏览 2评论
51浏览 2评论
63浏览 2评论
54浏览 2评论
82浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-10 17:23 , Processed in 2.453027 second(s), Total 80, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号