We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2018-01-18
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: FM
Downloaded: 5456 times
Not followed.
License: MIT license
RadioStation click 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 can also broadcast RDS/RDBS data.
Do you want to subscribe in order to receive notifications regarding "RadioStation click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "RadioStation click" changes.
Do you want to report abuse regarding "RadioStation click".
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
Examples Description
Demo application shows how to configure RadioStation click to receive the signal from the audio connector and broadcast it on 100.00 MHz frequency.
The application is composed of three sections:
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"); }
Other mikroE Libraries used in the example:
Additional notes and information
Depending on the development board you are using, you may need USB UART click, USB UART 2 clickor 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.