ccrf 2.0.0.0
|
ccRF click is a low-power 2.4 GHz transceiver designed for the 2400- 2483.5 MHz ISM and SRD frequency bands. It features CC2500 Low-Power 2.4 GHz RF transceiver as well as PCB trace antenna. The CC2500 is integrated with a highly configurable baseband modem that supports various modulation formats and has data rate up to 500 kBaud.
We provide a library for the ccRf Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly form compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.
This library contains API for ccRf Click driver.
ccrf_cfg_setup
Config Object Initialization function. ccrf_init
Initialization function. ccrf_default_cfg
Click Default Configuration function. ccrf_transmit_packet
Function transmit a packet with packet length up to 63 bytes to the targeted 8-bit register address. ccrf_receive_packet
Function receive a packet of variable packet length. ccrf_get_start
Function for getting state of GD0 pin function. This example demonstrates the use of an ccRF click board by showing the communication between the two click boards configured as a receiver and transmitter.
The demo application is composed of two sections :
Initializes the driver and logger, performs the click default configuration and displays the selected application mode.
Depending on the selected mode, it reads all the received data or sends the desired message every 2 seconds.
The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.
Other mikroE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.