S32K

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K

918 Views
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?

Labels (1)
0 Kudos
1 Reply

774 Views
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 Kudos