FS#11403 - Support for mystery FM chip in some Sansa Clip+

Attached to Project: Rockbox
Opened by Bertrik Sikken (bertrik) - Monday, 14 June 2010, 21:40 GMT
Last edited by Bertrik Sikken (bertrik) - Tuesday, 15 June 2010, 21:04 GMT
Task Type Patches
Category FM Tuner
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Some Sansa Clip+ players don't have a si4700 chip like many other AMS sansas, but some unidentified other SiLabs FM tuner chip.

This patch adds support for this chip. It uses the multiple tuner mechanism so I had to add detection code to decide between a si4700 or the mystery chip. This may have impact on other players using an si4700.

Things that do not work right yet:
- I've seen it get auto-scanned presets off by 1 channel (e.g. 0.1 MHz)
- Stereo indication is not supported yet
- It's tricky to select the proper debug menu info, so it currently shows debug info for the si4700 only (even though the player may have detected the mystery FM chip).

Things to test:
- Verify that radio on sansa clip+ players with an si4700 still works
- Verify that radio on other players with an si4700 still works (AMS sansas, gigabeat S). It still works on my Clip v1.
This task depends upon

Closed by  Bertrik Sikken (bertrik)
Tuesday, 15 June 2010, 21:04 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed as svn r 26864
Comment by Michael Chicoine (mc2739) - Tuesday, 15 June 2010, 12:48 GMT
tested with r26857 and radio works on my e260v2. My radio id is 1242 0850
Comment by Alex Parker (BigBambi) - Tuesday, 15 June 2010, 17:11 GMT
Works fine on my Gigabeat S
Comment by Bertrik Sikken (bertrik) - Tuesday, 15 June 2010, 20:34 GMT
FlynDice tested on a clip+ with a si4700.

Final patch, soon to go in.
I fixed the debug screen to show either the si4700 or fmclipplus radio register.