Hi
The next path can help you with some examples of the KW40Z for some peripherals for KDS
C:\Freescale\KSDK_1.3.0\examples\frdmkw40z\driver_examples
If you want to star communication with the KW40Z you will need some tools like protocol stacks and more information about the board
http://www.nxp.com/products/software-and-tools/hardware-development-tools/freedom-development-boards...
After you install the software, this video will help you with the Connectivity Examples,
Note: The Bluetooth examples was made in IAR
http://www.nxp.com/products/software-and-tools/hardware-development-tools/freedom-development-boards...
hope it helps
Mario Castañeda