Skip to content

Si4702 / Si4703 FM radio library for the Raspberry Pi Pico

Notifications You must be signed in to change notification settings

vmilea/pico_si470x

Repository files navigation

Si4702 / Si4703 FM radio library for the Raspberry Pi Pico

This library provides a convenient interface to the Si4702 and Si4703 FM radio chips from Silicon Labs. It targets the Raspberry Pi Pico and similar RP2040 based boards using the C/C SDK.

Si470x_400px

Overview

Main controls:

  • FM band (87.5-108 / 76-90 / 76-108 MHz)
  • channel spacing and de-emphasis
  • seek sensitivity
  • volume (with extended range)
  • softmute (mutes noisy frequencies)
  • mono / stereo output

Features:

  • tune / seek the next station without blocking the CPU
  • monitor signal strength and stereo signal
  • RDS (only on Si4703) - decode station name, radio-text, and alternative frequencies

Example

A test program is included. To interact with it, establish a serial connection through USB or UART.

Si470X - test program
=====================
- =   Volume down / up
1-9   Station presets
{ }   Frequency down / up
[ ]   Seek down / up
s     Toggle seek sensitivity
0     Toggle mute
f     Toggle softmute
m     Toggle mono
i     Print station info
r     Print RDS info
x     Power down
?     Print help

Building

Follow the instructions in Getting started with Raspberry Pi Pico to setup your build environment. Then:

  • clone repo
  • mkdir build, cd build, cmake ../, make
  • copy fm_example.uf2 to Raspberry Pico

Wiring

Communication is done through I2C. An additional GPIO pin is used to reset the FM chip during powerup. The default pins are:

Si470x pin Raspberry Pi Pico pin
SDA GP4
SCL GP5
RST GP15

Links

  • pico_rda5807 is a similar library for the RDA5807 FM radio chip.

Authors

Valentin Milea [email protected]

About

Si4702 / Si4703 FM radio library for the Raspberry Pi Pico

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published