您好,由于需要测试天线各种参数,需要编写一个持续发包的程序,我在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 这个成员,里面的其他成员变量没看看懂,请问 如果我想连续不断发送数据包的话 ,需要怎么修改呢? 非常感谢
Yue TANG:
不需要啊.支持测硬件的话,用smartRF studio, 不用写代码,轻松控制各种发包.
www.ti.com/…/smartrftm-studioUser guides (2)
SmartRF Studio 7 Tutorial (Rev. B)
www.ti.com/…/swru194SmartRF Studio 7 Overview (Rev. B)
www.ti.com/…/swru195Description
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 7CC1100, 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.