S32K

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K

1,622 次查看
weill
Contributor I

How can I use the SDK realise next function:

the MCU is the master device, I want to use flexio or LPI2C read/write slave device subaddress(such as EEPROM , own  subaddress). I lookup the SDK interface, dont get the subaddress access operation.

How CAN I do it use the SDK?

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

1,478 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

You need to use the SDK functions, such as LPI2C_DRV_MasterSendDataBlocking(), to send a sub-address or a command to the slave, you also need to specify if the function will send Stop condition - the function takes that as an argument. The SDK PE interface allows you to select the address of the slave device only.

Regards,

Daniel 

0 项奖励
回复