Require example program for MPC5748G and external EEPROM communication using I2C

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

Require example program for MPC5748G and external EEPROM communication using I2C

Jump to solution
1,664 Views
Venkat_d17
Contributor I

Hello, 

I want to store data into external EEPROM (M24512) from MPC5748G via I2C communication. Kindly provide example program which shows how to write to specific address register and read data from the same.

Thank you

0 Kudos
Reply
1 Solution
1,655 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

we provide following I2C examples in the SDK included in S32 Design Studio:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\examples\MPC5748G\driver_examples\communication\i2c_pal\

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\examples\MPC5748G\driver_examples\communication\i2c_transfer\

The documentation can be found here:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\doc\S32SDK_MPC5748G_UserManual.pdf

And just in case, here is the link to the S32 Design Studio:

https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for...

Unfortunately we do not have SW example directly for your EEPROM.

Regards,

Lukas

View solution in original post

0 Kudos
Reply
2 Replies
1,651 Views
Venkat_d17
Contributor I

Hi  Lukas

(Unfortunately we do not have SW example directly for your EEPROM.)

Can you share related SW examples. Which API to use for all EEPROM function (write, read, erase etc.) 

 

0 Kudos
Reply
1,656 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

we provide following I2C examples in the SDK included in S32 Design Studio:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\examples\MPC5748G\driver_examples\communication\i2c_pal\

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\examples\MPC5748G\driver_examples\communication\i2c_transfer\

The documentation can be found here:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\doc\S32SDK_MPC5748G_UserManual.pdf

And just in case, here is the link to the S32 Design Studio:

https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for...

Unfortunately we do not have SW example directly for your EEPROM.

Regards,

Lukas

0 Kudos
Reply