what is the use of Scls and sdas

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

what is the use of Scls and sdas

1,997件の閲覧回数
Prasanth_C
Contributor II

@nxp hi , so i just want to know something about i2c secondary data line and secondary clock line.

1)for example i want to use Scls and sdas line for accessing eeprom , is this possible to use lpi2c driver .

2)tell me what is the use of both lines over normal scl and sda?

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

1,977件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Prasanth_C,

I'm not sure what your use case is.

The functionality depends on the configuration of MCFGR1[PINCFG].

danielmartynek_4-1705055996563.png

 

PINCFG = 0b011

danielmartynek_1-1705055680761.png

 

PINCFG = 0b100 or 0b110

SDA, SCL used by Master

SDAS, SCLS used by Slave

danielmartynek_2-1705055759604.png

 

PINCFG = 0b111

danielmartynek_3-1705055872249.png

 

Regards,

Daniel

 

0 件の賞賛
返信

1,930件の閲覧回数
Prasanth_C
Contributor II

Dear @danielmartynek 

Thanks for the response

In our schematic, We are using SCL(PTD14, PTC8) and SDA(PTC9 , PTD13) pins as GPIO

We need to use SCLS(PTB1) and SDAS( PTB0) as I2C  Master( LPI2C0)  - Two wire mode 

Is that possible? Please clarify. 

Below is the drawing , 

Prasanth_C_0-1705641335020.jpeg

 

Tagging my colleagues for reference

@LavanyaR

@Riyasma07 

0 件の賞賛
返信

1,925件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Prasanth_C,

Unfortunately, there is no PINCFG configuration that would allow that.

 

Best regards,

Daniel

0 件の賞賛
返信