Need support for SAI_RX2 issue

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

Need support for SAI_RX2 issue

6,814件の閲覧回数
LydieCDO
Contributor I

Hi NXP support,

We are working with IMXRT1176 and we are facing some issues.
Here is the context:
 
Using SAI1 on IMX1176, we are currently trying to use SAI1_RX2 to receive data from a tuner (SI47952) but we only get 0.
IMX is the master, and the tuner is slave.

 
GPIO DISP_B2_01 is configured as SAI1_RX2
If we monitor the connection, we can see that the signal is squeeze to 0 and almost 0V (see attached picture)

We have done the test of connecting the tuner to SAI1_RX0 (instead of SAI1_RX2) and it we did get the correct signal/data.
That means the issue is on the IMX side, we think this can be a pin config issue as the DISP_B2_01 is SAI1_RX2 and SAI1_TX2 but we don't know how to force RX mode.

Here some SAI1 registry dump during transfers
tcr1: 0x10 tcr2: 0x7000007 tcr3: 0x10000 tcr4: 0x10010f3b tcr5: 0xf0f0f00
rcr1: 0x10 rcr2: 0x47000007 rcr3: 0x40000 rcr4: 0x10010f1b rcr5: 0xf0f0f00
 
 
Do you have any idea to unlock this situation ?
 
Many thanks for your support.
ラベル(1)
0 件の賞賛
返信
28 返答(返信)

1,796件の閲覧回数
Aubineau_FAE
NXP Employee
NXP Employee

Hi,

But what is the value of R4261? it is O or another value, it is to ensure the i.MX force the pin to 0V.

Vincent

0 件の賞賛
返信

1,789件の閲覧回数
eric_delanghe
Contributor II

Hi again,

R4261 is a 0ohm, it's here to cut the lane and re-route if something goes wrong in the design.

Best regards,
Eric

0 件の賞賛
返信

1,780件の閲覧回数
Aubineau_FAE
NXP Employee
NXP Employee

Hi,

OK, so if an th RT is driving its pin low it cannot really be detected as it is a direct short circuit.

If you configure this pin as a GPIO, in input mode, do you still have the issue?:

vincent_aubinea_0-1646752468615.png

vincent_aubinea_1-1646754346122.png

Vincent

0 件の賞賛
返信

1,669件の閲覧回数
eric_delanghe
Contributor II

Hello,

If I configure DISP_B2_01 as GPIO5_02 the level is correct on the lane !
That means the issue come from the SAI configuration.

There is this diagram in the SAI documentation.

Screenshot from 2022-03-10 17-31-40.png

TX_DATA2 is used for sai_rxdata2 if "obe" is 0 but there is no information about this "obe". My thought was that it is configured by register TCR4 on bits TCE "Transmit Channel Enable"
And as I posted TCR4 is 0x10010f3b so TCE is 0x1 (TX0 enable, other are disabled)

Any information about that ?

0 件の賞賛
返信

1,796件の閲覧回数
eric_delanghe
Contributor II

Also you said that " It is not possible to have hard pull-down in this case."

We already tried to remove it and it does not help

0 件の賞賛
返信

1,769件の閲覧回数
mike_susen
NXP Employee
NXP Employee

Hi @eric_delanghe 

what about GPIO_DISP_B2_00? do you see same behavior also on tis pin? 

 

Mike

0 件の賞賛
返信

1,763件の閲覧回数
eric_delanghe
Contributor II

Hello @mike_susen ,

We don't actually have DAB feature implemented.

But I'll ask hardware guys to patch my board to get FM data on GPIO_DISP_B2_00.

I will also ask hardware guys to connect the microphone (currently GPIO_DISP_B2_06) on GPIO_DISP_B2_01.

Best regards,

Eric

0 件の賞賛
返信

1,872件の閲覧回数
rastislav_pavlanin
NXP Employee
NXP Employee

Hi @mike_susen ,

could you please take this request?

thanks. 

 

regards

R.

0 件の賞賛
返信