CC2500 communication example source code, interested can look at the source code integrity, and can be used directly.
File list:
CC2520 Software Examples
.......................\docs
.......................\....\CC2520_Software_Examples_Users_Guide.pdf
.......................\iar
.......................\...\srf05_ccmsp2618
.......................\...\...............\ccm_security
.......................\...\...............\............\Debug
.......................\...\...............\............\.....\Exe
.......................\...\...............\............\.....\...\ccm_security.d43
.......................\...\...............\............\.....\List
.......................\...\...............\............\.....\....\ccm_security.map
.......................\...\...............\............\.....\Obj
.......................\...\...............\............\.....\...\assy_ccmsp2618_cc2520em.r43
.......................\...\...............\............\.....\...\ccm_security.pbd
.......................\...\...............\............\.....\...\ccm_security.r43
.......................\...\...............\............\.....\...\hal_board.r43
.......................\...\...............\............\.....\...\hal_cc2520.r43
.......................\...\...............\............\.....\...\hal_digio.r43
.......................\...\...............\............\.....\...\hal_int.r43
.......................\...\...............\............\.....\...\hal_lcd.r43
.......................\...\...............\............\.....\...\hal_led.r43
.......................\...\...............\............\.....\...\hal_mcu.r43
.......................\...\...............\............\.....\...\hal_rf.r43
.......................\...\...............\............\.....\...\util.r43
.......................\...\...............\............\.....\...\util_lcd.r43
.......................\...\...............\............\settings
.......................\...\...............\............\........\ccm_security.cspy.bat
.......................\...\...............\............\........\ccm_security.dbgdt
.......................\...\...............\............\........\ccm_security.dni
.......................\...\...............\............\ccm_security.dep
.......................\...\...............\............\ccm_security.ewd
.......................\...\...............\............\ccm_security.ewp
.......................\...\...............\hal_lib
.......................\...\...............\.......\hal_lib.r43
.......................\...\...............\hello
.......................\...\...............\.....\hello.dep
.......................\...\...............\.....\hello.ewd
.......................\...\...............\.....\hello.ewp
.......................\...\...............\light_switch
.......................\...\...............\............\Debug
.......................\...\...............\............\.....\Exe
.......................\...\...............\............\.....\...\light_switch.d43
.......................\...\...............\............\.....\List
.......................\...\...............\............\.....\....\light_switch.map
.......................\...\...............\............\.....\Obj
.......................\...\...............\............\.....\...\basic_rf.pbi
.......................\...\...............\............\.....\...\basic_rf.r43
.......................\...\...............\............\.....\...\hal_cc2520.pbi
.......................\...\...............\............\.....\...\hal_cc2520.r43
.......................\...\...............\............\.....\...\hal_rf.pbi
.......................\...\...............\............\.....\...\hal_rf.r43
.......................\...\...............\............\.....\...\light_switch.pbd
.......................\...\...............\............\.....\...\light_switch.pbi
.......................\...\...............\............\.....\...\light_switch.r43
.......................\...\...............\............\settings
.......................\...\...............\............\........\light_switch.cspy.bat
.......................\...\...............\............\........\light_switch.dbgdt
.......................\...\...............\............\........\light_switch.dni
.......................\...\...............\............\light_switch.dep
.......................\...\...............\............\light_switch.ewd
.......................\...\...............\............\light_switch.ewp
.......................\...\...............\PER_test
.......................\...\...............\........\per_test.dep
.......................\...\...............\........\per_test.ewd
.......................\...\...............\........\per_test.ewp
.......................\...\...............\reg_read
.......................\...\...............\........\reg_read.dep
.......................\...\...............\........\reg_read.ewd
.......................\...\...............\........\reg_read.ewp
.......................\...\...............\rf_modem
.......................\...\...............\........\Debug
.......................\...\...............\........\.....\Exe
.......................\...\...............\........\.....\...\rf_modem.d43
.......................\...\...............\........\.....\List
.......................\...\...............\........\.....\....\rf_modem.map
.......................\...\...............\........\.....\Obj
.......................\...\...............\........\.....\...\basic_rf.r43
.......................\...\...............\........\.....\...\basic_rf_security.r43
.......................\...\...............\........\.....\...\hal_cc2520.r43
.......................\...\...............\........\.....\...\hal_rf.r43
.......................\...\...............\........\.....\...\rf_modem.pbd
.......................\...\...............\........\.....\...\rf_modem.r43
.......................\...\...............\........\Release
.......................\...\...............\........\.......\Exe
.......................\...\...............\........\.......\List
.......................\...\...............\........\.......\Obj
.......................\...\...............\........\.......\...\rf_modem.pbd
.......................\...\...............\........\settings
.......................\...\...............\........\........\rf_modem.cspy.bat
.......................\...\...............\........\........\rf_modem.dbgdt
.......................\...\...............\........\........\rf_modem.dni
.......................\...\...............\........\rf_modem.dep
.......................\...\...............\........\rf_modem.ewd
.......................\...\...............\........\rf_modem.ewp
.......................\...\...............\settings
.......................\...\...............\........\CC2520_SW_examples.wsdt
.......................\...\...............\util_lib
.......................\...\...............\........\util_lib.r43
.......................\...\...............\CC2520_SW_examples.eww
.......................\source
.......................\......\Apps
.......................\......\....\ccm_security
.......................\......\....\............\ccm_security.c
.......................\......\....\hello
.......................\......\....\.....\hello.c
.......................\......\....\light_switch
.......................\......\....\............\light_switch.c
.......................\......\....\PER_test
.......................\......\....\........\per_test.c
.......................\......\....\........\per_test.h
.......................\......\....\........\per_test_menu.c
.......................\......\....\........\per_test_menu.h
.......................\......\....\reg_read
.......................\......\....\........\reg_read.c
.......................\......\....\rf_modem
.......................\......\....\........\rf_modem.c
.......................\......\Components
.......................\......\..........\assembly
.......................\......\..........\........\assy_ccmsp2618_cc2520em.c
.......................\......\..........\........\assy_ccmsp2618_cc2520em.h
.......................\......\..........\basicrf
.......................\......\..........\.......\basic_rf.c
.......................\......\..........\.......\basic_rf.h
.......................\......\..........\.......\basic_rf_security.c
.......................\......\..........\.......\basic_rf_security.h
.......................\......\..........\common
.......................\......\..........\......\msp430
.......................\......\..........\......\......\hal_int.c
.......................\......\..........\......\......\hal_msp430.h
.......................\......\..........\......\hal_defs.h
.......................\......\..........\......\hal_types.h
.......................\......\..........\radios
.......................\......\..........\......\cc2520
.......................\......\..........\......\......\hal_cc2520.c
.......................\......\..........\......\......\hal_cc2520.h
.......................\......\..........\......\......\hal_rf.c
.......................\......\..........\......\......\hal_rf.h
.......................\......\..........\targets
.......................\......\..........\.......\interface
.......................\......\..........\.......\.........\hal_assert.h
.......................\......\..........\.......\.........\hal_digio.h
.......................\......\..........\.......\.........\hal_int.h
.......................\......\..........\.......\.........\hal_joystick.h
.......................\......\..........\.......\.........\hal_lcd.h
.......................\......\..........\.......\.........\hal_led.h
.......................\......\..........\.......\.........\hal_mcu.h
.......................\......\..........\.......\.........\hal_timer_32k.h
.......................\......\..........\.......\.........\hal_uart.h
.......................\......\..........\.......\srf05_ccmsp2618
.......................\......\..........\.......\...............\hal_assert.c
.......................\......\..........\.......\...............\hal_board.c
.......................\......\..........\.......\...............\hal_board.h
.......................\......\..........\.......\...............\hal_digio.c
.......................\......\..........\.......\...............\hal_joystick.c
.......................\......\..........\.......\...............\hal_lcd.c
.......................\......\..........\.......\...............\hal_led.c
.......................\......\..........\.......\...............\hal_mcu.c
.......................\......\..........\.......\...............\hal_timer.c
.......................\......\..........\.......\...............\hal_timer_32k.c
.......................\......\..........\.......\...............\hal_uart.c
.......................\......\..........\utils
.......................\......\..........\.....\util.c
.......................\......\..........\.....\util.h
.......................\......\..........\.....\util_buffer.c
.......................\......\..........\.....\util_buffer.h
.......................\......\..........\.....\util_lcd.c
.......................\......\..........\.....\util_lcd.h