RadioStation Click Board
RadioStation Click Board
The RadioStation Click Board™ is a unique Click Board™ that can be used to broadcast the music via the FM radio band. It features the Si4713-B30 from Silicon Labs, the best in class integrated FM broadcast stereo transmitter, which operates in the frequency range of 76MHz to 108MHz. It can also broadcast RDS/RDBS data.
The RadioStation Click Board™ can be equipped with a small FM antenna, which is used to extend the broadcasting range.
Software Support
We provide a library for the RadioStation Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The RadioStation Click Board™ communicates with the controller by using the I2C/2-wire interface. The library contains a wide set of functions for the complete control over the RadioStation click. Some of the functions also return the status, so it is possible to take an action in the case of error.
uint8_t RADIOSTATION_SetTuneFrequency(uint16_t freq)
- Sets tune frequency
uint8_t RADIOSTATION_SetTunePower(uint8_t voltage, uint8_t capacitance)
- Sets tune power
uint8_t RADIOSTATION_GetTuneMeasure(uint16_t freq, uint8_t capacitance)
- Reads tuning measurements
Example Description
Demo application shows how to configure the RadioStation Click Board™ to receive the signal from the audio connector and broadcast it on 100.00 MHz frequency.
The application is composed of three sections:
- System initialization - Initializes GPIO pins, I2C peripheral used for communication between RadioStation click and MCU, and UART used for logging. This function also initializes driver.
- Application initialization - (Code snippet) Powers on RadioStation click and setups frequency for signal emission and writes a message to UART when emission is started.
- Application task - Sequentially reads measurements of the signal quality.
void applicationInit() { status_ = RADIOSTATION_PowerUp(); RADIOSTATION_GetRevision(&buff[0]); status_ = RADIOSTATION_SetTuneFrequency(transmitFrequency); RADIOSTATION_BusyWaitForSTCINT(); RADIOSTATION_GetTuneStatus(1, &buff[0]); status_ = RADIOSTATION_SetTunePower(115, 0); RADIOSTATION_BusyWaitForSTCINT(); RADIOSTATION_GetTuneStatus(1, &buff[0]); UART1_Write_Text("Radio Click now broadcastig at selected frequency"); }
The full application code and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
- UART
Additional notes and information
Depending on the development board you are using, you may need a 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.
MIKROSDK
The RadioStation Click Board™ is supported with mikroSDK, the MikroElektronika Software Development Kit.
RadioStation Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.