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.

http://www.rockbox.org/tracker/task/6524

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?!

Reply via email to