amfm2
2.1.0.0
|
AM/FM 2 Click is a compact add-on board that can be used to listen to music from the AM and FM radio bands. This board features the Si4732, a broadcast AM/FM/SE/LW/RDS radio receiver from Skyworks. This radio receiver integrates the complete broadcast tuner and receiver function from antenna input to digital audio output. In addition to the radio receiver, this Click board™ is equipped with the LM4910, a Boomer output capacitor-less stereo 35mW headphone amplifier from Texas Instruments. This amplifier can deliver 35mW of continuous average power to a 32Ω load with less than 1% distortion.
We provide a library for the AM/FM 2 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 from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for AM/FM 2 Click driver.
amfm2_cfg_setup
Config Object Initialization function. amfm2_init
Initialization function. amfm2_default_cfg
Click Default Configuration function. amfm2_seek_station
AM/FM 2 seek station function. amfm2_tuning_freq
AM/FM 2 tuning frequency function. amfm2_get_tuning_freq
AM/FM 2 get tuning frequency function. This example demonstrates the use of the AM/FM 2 Click board™. The app represents a radio tuner that supports worldwide AM/FM bands and has features such as automatic frequency control, seek station, and volume control.
The demo application is composed of two sections :
The initialization of I2C module and log UART. After driver initialization, the app sets the default configuration and searches and memorizes for a valid frequency of the 5 radio stations.
This example demonstrates the use of the AM/FM 2 Click board™. The application switches all 5 previously memorized radio frequencies every 10 seconds. Results are being sent to the UART Terminal, where you can track their changes.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
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. UART terminal is available in all MikroElektronika compilers.