How to change the falling edge into rising egde in I2S

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to change the falling edge into rising egde in I2S

1,150件の閲覧回数
Prerna_Nibe
Contributor I

Hello,

I am using S32K142 EVM for audio project. For audio transmission I am using I2S through Flexio.  I am able to send the data at the falling edge of the Bit clock. I want to send the data at the rising edge. 

Can you help me in this how to change from falling edge to rising edge?

0 件の賞賛
返信
4 返答(返信)

1,044件の閲覧回数
Prerna_Nibe
Contributor I

Thank you

 

0 件の賞賛
返信

1,098件の閲覧回数
Prerna_Nibe
Contributor I

Thank you @lukaszadrapa for your suggestion.

1. The kind of amplifier we are using that supports the the rising edge only.(The data is presented in 2's-complement form (MSB-first and is valid on the rising edge of bit clock).

2. Could you please suggested which NXP controller will support to changed from falling to rising. Or which type of similar controller will support for rising edge.

Thank you.

 

0 件の賞賛
返信

1,086件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Take a look at S32K148 which has SAI module supporting I2S. So, it's not emulation only via FlexIO.
I can see it supports configuration of rising/falling edge:

lukaszadrapa_0-1729861855802.png

There's also an application note:
https://www.nxp.com/docs/en/application-note/AN12202.pdf

Regards,
Lukas

0 件の賞賛
返信

1,105件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Prerna_Nibe 

I can see in the SDK that FlexIO I2S driver does not have such configuration. It would be necessary to modify the source code which is not recommended and supported by us.

I2S also says:

lukaszadrapa_0-1729754040322.png

Because I2S is only emulated by FlexIO, this could probably cause some issues. And that's the reason why the driver supports falling edge only.

Regards,

Lukas

 

0 件の賞賛
返信