MATLAB 发包手册
目前 telink 所用数据包为 2M,ble1M,ble2M,zigbee,Nordic1M,Nordic2M,BLR500K,BLR125K
1、所用工具:MATLAB R2009a
2、数据包产生方法:F5 快捷键或者软件中的
实验室目前有两台仪器可以产生数据包:安捷伦E4438C和R&S SMJ100A,
可修改对应的code Inst = '?'来修改,agt:安捷伦,rs:R&S
3、数据包源代码路径:http://192.168.48.55/asic/tools/platform/pcdb/prj/5320/Waveform,
该链接下有三个文件为我们所用的发包代码;main_siggen.m, main_siggenV2, main_siggenV3
4、相应 code 段:
1)2M
文件名main_siggen
frameFormat = '2Mbps'
Duration=745us
2)ble1M
文件名main_siggenV2,
frameFormat =
'BLE_Ferr0_PPM0_Fslop0_Pream8_AccLen32_Nbit312_AddCRC1_AddWhit0_CRC24_Hidx50'
BleEn = 1
Duration=751us
3)ble2M
文件名main_siggenV2,
frameFormat =
'BLE_Ferr0_PPM0_Fslop0_Pream16_AccLen32_Nbit312_AddCRC1_AddWhit0_CRC24_Hidx50'
BleEn = 2
Duration=383
4)zigbee
文件名main_siggen
frameFormat = 'Zigbee_28'
Duration=1921
5)Nordic1M
文件名main_siggenV2
frameFormat
='Nordic_Ferr0_PPM000_Fslop0_Pream32_AccLen32_Nbit160_AddCRC1_AddWhit0_CRC16_Hid
x50'
NorDrate=1
6)Nordic2M
文件名main_siggenV2
frameFormat
='Nordic_Ferr0_PPM000_Fslop0_Pream32_AccLen32_Nbit160_AddCRC1_AddWhit0_CRC16_Hid
x50'
NorDrate=2
Duration=258
评论0