[Gta04-owner] FM Transceiver - split frequency?

Andreas Kemnade andreas at kemnade.info
Thu Apr 12 23:16:37 CEST 2012


Hi,

On Thu, 2012-04-12 at 09:57 +0200, Andreas Kemnade wrote:
> Hi,
> 
> On Wed, 11 Apr 2012 23:53:47 +0200
> Belisko Marek <marek.belisko at gmail.com> wrote:
> 
> > > About the driver. the status is:
> > > I can play audio data into the si4721. It arrives at the right pin.
> > > Clock comes from the SoC and looks sane.
> > Is there any driver available for that? I plan to work on FM receiver.
> > 
> I have a userspace program to initialize the si4721 using /dev/i2c-2.
> Thhat seems to work according to the RSSI values I get. I have an unfinished
> patch for the 3.2 kernel for initializing McBSP1 accordingly. I'll
> send the diff this evening, so you can help debugging.  
> 
the userspace program is at:
http://misc.andi.de1.cc/si4721.c
 
The kernel diff is attached (of course not cleaned up yet).
arecord -D default:CARD=gta04fm
should as far as I understand (clock has to come from the SoC) it should
spit out data even if the si4721 is not correctly configured.
But it does not. We should check the registers if there
waits data to be collected and dma ist just not working.

Just one hint if you read datasheets and drivers: The chip family seems
to have different firmware versions, so that for older chips there
are chips which have a totally different interface and newer ones. For
the si4721 itself the problem seems not to exist. But a generic si47xx
driver made for older ones will not work. 
Of course the userspace program should be merged with some driver in the
kernel.
 
Greetings
Andreas Kemnade
-------------- next part --------------
A non-text attachment was scrubbed...
Name: si4721.diff
Type: text/x-patch
Size: 15667 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120412/a490a792/attachment-0001.bin>


More information about the Gta04-owner mailing list