|
Rockbox mail archiveSubject: Re: FM Radio: Philips down to 76MHz // Signal strength indicatorRe: FM Radio: Philips down to 76MHz // Signal strength indicator
From: Matthias Larisch <tierchen_at_eow.ath.cx>
Date: Thu, 29 Dec 2005 00:13:27 +0100 So first problem on... Does anyone know about updating the ADC readings? Situation: Philips TEA5767 measures IF Level through internal ADC. But register is only updated on PLL change, that is what it seems to me. I did even send RADIO_IF_MEASUREMENT command, so just update with old data, to radiochip, but ADC value doesnt get updated... This is kinda useless! tuner_philips.c: case RADIO_SIGNALSTRENGTH: val = read_bytes[3] >> 4; break; radio.c: #if CONFIG_TUNER == TEA5767 radio_set(RADIO_IF_MEASUREMENT,0); //This call is needed for correct SignalStrength Reading #endif [...] #if CONFIG_TUNER == TEA5767 signal_strength=radio_get(RADIO_SIGNALSTRENGTH); if(signal_strength != last_signal_strength) { update_screen = true; last_signal_strength = signal_strength; } #endif [...] #if CONFIG_TUNER == TEA5767 snprintf(buf,32, "%s %d","Signalstaerke", signal_strength); FOR_NB_SCREENS(i) screens[i].puts_scroll(0,top_of_screen + 5, buf); #endif (I wont add this as patch until it works completely) Any comments? Matthias Larisch Matthias Larisch wrote: > Hey out there :) > > I just added support for Japanese radio - down to 76MHz on Philips FM chip. > > Currently working on Signalstrength indicator (32 step, onchip, readable > through i2c) > > Patch follows. > > Bye, > Matze > > Received on 2005-12-29 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |