All of lore.kernel.org
 help / color / mirror / Atom feed
* What is exact definition of "normal/inverted" FSYNC signal polarity?
@ 2015-08-31 16:40 Anatol Pomozov
  2015-08-31 18:02 ` Mark Brown
  0 siblings, 1 reply; 7+ messages in thread
From: Anatol Pomozov @ 2015-08-31 16:40 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org
  Cc: 陳立峰, Mark Brown, Lars-Peter Clausen, lengo

Hi

I am trying to configure TegraX1 SoC and Realtek5677 codec. These two
drivers have different meaning of FSYNC polarity in TDM mode A format.

* TegraX1 driver thinks that "normal" polarity is when a frame starts
with FSYNC falling edge. TegraX1 applies it to all formats (I2S,
PCM/TDM mode A). And inverted FSYNC means that frame starts with
rising edge of FSYNC.

* RT5677 thinks that "normal" for I2S is "frame starts with falling
edge". And for TMD mode A "normal" means "frame starts with rising
FSYNC edge".

Thus normal/inverted FSYNC in TDM mode A are opposite at these 2
chips. Which one is correct? What is exact definition of
SND_SOC_DAIFMT_xB_yF constants in soc-dai.h?

I tried to google if I2S spec [1] defines FSYNC polarity but no luck.

It worth to clarify definition of BCLK polarity as well. I believe
"normal" BCLK is "line sensing happens at rising edge", "inverted"
BCLK - "line sensing happens at falling edge". Is it correct?

[1] https://web.archive.org/web/20060821114007/http://www.semiconductors.philips.com/acrobat_download/various/I2SBUS.pdf

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-09-12 10:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-31 16:40 What is exact definition of "normal/inverted" FSYNC signal polarity? Anatol Pomozov
2015-08-31 18:02 ` Mark Brown
2015-08-31 19:05   ` Anatol Pomozov
2015-08-31 19:17     ` Lars-Peter Clausen
2015-09-01 12:14     ` Mark Brown
2015-09-12  5:48       ` Anatol Pomozov
2015-09-12 10:18         ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.