文件名称:cc2530收发程序
文件大小:2.77MB
文件格式:ZIP
更新时间:2014-08-28 15:52:44
cc2530
TI公司,CC2530的收发程序 void main (void) { uint8 appMode; uint8 i=0; appState = IDLE; appStarted = FALSE; // Config basicRF basicRfConfig.panId = PAN_ID; basicRfConfig.ackRequest = FALSE; // Initialise board peripherals halBoardInit(); // Initalise hal_rf if(halRfInit()==FAILED) { HAL_ASSERT(FALSE); } // Indicate that device is powered for (i=0; i<2; i++) { halLedSet(1); halMcuWaitMs(500); halLedClear(1); halLedSet(2); halMcuWaitMs(500); halLedClear(2); } // Print Logo and splash screen on LCD //utilPrintLogo("PER Tester"); // Wait for user to press S1 to enter menu // while (halButtonPushed()!=HAL_BUTTON_1); halMcuWaitMs(350); // halLcdClear(); // Set channel //basicRfConfig.channel = appSelectChannel(); basicRfConfig.channel = 0x0B; //Channel 11, 2405MHz // Set mode //appMode = appSelectMode(); appMode = MODE_RX; // Transmitter application if(appMode == MODE_TX) { // No return from here appTransmitter(); } // Receiver application else if(appMode == MODE_RX) { // No return from here appReceiver(); } // Role is undefined. This code should not be reached HAL_ASSERT(FALSE); }
【文件预览】:
hex
----WZ2530EVM_TX.hex(8KB)
----sniffer_fw_cc2530.hex(9KB)
----WZ2530EVM_RX.hex(7KB)
CC2530模块无线收发测试_v2.pdf
RX_TX_test
----docs()
--------CC2530_Software_Examples.pdf(446KB)
----source()
--------components()
--------apps()
----ide()
--------settings()
--------srf05_cc2530()