Rockbox mail archiveSubject: Re: Sansa radio driver (AS5314 help
Re: Sansa radio driver (AS5314 help
From: Ivan Zupan <zivan56_at_iwdstudio.com>
Date: Mon, 14 May 2007 20:57:52 -0800
> You could try Toni's emulator, maybe this gives some hint's about GPIO
> ports or memory addresses, but i don't know how much the emulator
> works with the radio part of the OF.
Maybe someone with a better understanding of it can look over that
part? I could not even get it past the bootloader...
In terms of progress, all that works so far is detecting if the station
is mono/stereo, getting the chip id, and station signal strength. I
have also made it generate an interrupt for what it's worth. However,
there are some things which need to be figured out, such as the
algorithm for tuning. It involves calculations from 3 registers,
FM_OSC, IF_OSC and FM_CAP and a bunch of math intensive operations. It
also requires you to measure with an internal counter and write the
result to another register. Interestingly enough, they ask that a
register be set to 65% of the value of another, but there is no
reference to floating point or rounding?!
Received on 2007-05-15