Re: DMA sampling and IIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 10, 2014 at 03:43:50PM -0700, John Syn wrote:
> I¹m following Mark¹s suggestion and using the audio API to stream the
> samples from the ADE7878. I created a small circuit that translates the

Please don't top post; quote relevant context when replying so people
can follow the discussion.

> codec and then modified davinci-evm.c link in the ade78xx codec.
> Everything seems to load OK and I see a /dev/snd/pcmC0D0c device. Now when
> I try to use arecord, it simply hangs and I think the problem occurs
> because the ade7854-i2c driver is in the IIO folder and my ade78xx driver
> is in the audio folder and currently there is no coordination to start and
> stop streaming, which probably causes under runs, over run errors. In a
> traditional Codec, the I2C and I2S functionality is in the same driver so
> it is easy to coordinate start streaming and stop streaming.

The location of the files is not going to have any impact at all, the
callbacks aren't based on link order at all.  If data isn't being
transferred the most likely reason is that the clocks aren't being
started which will be a driver issue.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux