AN332
Confidential Rev. 0.2
195
12. Programming Examples
This section contains the programming example for each of the function: FM Transmit, FM Receive, AM/SW/LW
Receive, and WB Receive. Before each of the example, an overview of how to program the device is shown as a
flowchart. Silicon Labs also provides the actual software (example code) and it can be downloaded from
mysilabs.com as AN332SW.
12.1. Programming Example for the FM/RDS Transmitter
The following flowchart is an overview of how to program the FM/RDS transmitter.
RESET
CHIP STATE:
POWER DOWN
CHIP STATE:
POWER UP
Power Up
With Patch?
Check Chip Library ID
POWER_UP with FUNC=15
(command 0x01)
POWER UP
(command 0x01)
Library ID
Compatible
w/ patch?
POWER_UP
With Patch bit enabled
(command 0x01)
Send Patch Data
(command 0x15, 0x16)
Yes
No
Yes
No
Check Chip/FW/Comp rev
GET_REV
(command 0x10)
Chip/FW/Comp
Rev are correct?
Contact Silabs
For verification
No
Yes
Contact Silabs
For verification