我想实现两个节点之间点对点传送,其中一个节点每隔1ms发送1~2字节的数据包给另一个节点,另一个节点1ms内接收并解析该数据包,请问采用什么无线传输方式和哪个芯片可以实现?蓝牙、WIFI的打包间隔好像都不能达到这么短的时间。
Yue TANG:
试试 CC1310的高速模式,4Mbps,不过目前只有868M版本。
你具体是什么应用?问什么有这么奇怪的需求?
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:
2-GFSK: Generic frequency shift keying with binary symbols, 50 kBit/s
LR Mode: Long-range mode
OOK: On-off keying
HS Mode: High-speed mode with up to 4 MBit/sPeripherals Exercised
This example uses the following CC1310xx peripherals:
RF core for radio communication
2 GPIOs for buttons
SPI to drive the LCD displays on the boards
UART0 (115200 Baud) as an alternative display on VT100-compatible terminal emulatorsPeripheralIdentifierCC13xxEM/SmartRF06CC13xx Launchpad
Select button
Board_BUTTON0
UP
BTN-1Navigate button
Board_BUTTON1
DOWN
BTN-2Display
–
LCD Dogm1286
Display Booster PackResources & Jumper Settings
The PER application runs with default jumper settings on all supported boards.
Example 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.
Connect a display to the board or alternatively, use the UART and hook it to a VT100-compatible terminal emulator at 115200 Baud. Use PuTTY or TeraTerm on Microsoft Windows. On Linux, use the terminal emulator that is shipped with your distribution. After a splash screen, you will see the main menu:
Main Menu >Test: 2-GFSK Freq: 868.0 Pkts: 10 Mode: Rx Start...Navigate through the rows with BTN-2/DOWN, modify a value or start the selected test with BTN-1/UP.
Use a second board with the PER test application as test companion for transmissions. Once started, the current progress is shown with these menus (TX mode on the left side, RX on the right):
Sending... | Receiving... 2-GFSK 868.0 | HS Mode 868.0 | Pkts ok : 39 Pkts sent: 47 | RSSI [dBm]: -74 | PER [%] : 17.01 | | Push a button | to abort.The receiver prints the amount of successfully received packets (Pkts ok), the Signal strength of the current packet (RSSI) and the observed packet error rate (PER) in percent. Please note that the PER is n/a when sending more packets than configured in the receiver.
You can always abort a running test case by pushing any button and go back to the main menu.
Application Design Details
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.
References
For GNU and IAR users, please read the following website for details about enabling semi-hosting in order to view console output.
da qin zheng sheng:
楼主对通信距离和无线工作频率有啥要求?
cc1110f,cc1310f都可以吧。
Albin Zhang:
messi David
我想实现两个节点之间点对点传送,其中一个节点每隔1ms发送1~2字节的数据包给另一个节点,另一个节点1ms内接收并解析该数据包,请问采用什么无线传输方式和哪个芯片可以实现?蓝牙、WIFI的打包间隔好像都不能达到这么短的时间。
messi David:
回复 da qin zheng sheng:
通信距离2米内,频率无要求
messi David:
回复 Albin Zhang:
不需要低功耗
messi David:
回复 Albin Zhang:
不用低功耗,通信距离短(2m),要求尽量体积小,有哪些芯片推荐呢?
Butterfly:
回复 messi David:
CC1110 (6X6 QFN).
CC430,
CC1310 (4X4 QFN)
SOC方案都可以解决,CC1310 封装最小