Require example program for MPC5748G and external EEPROM communication using I2C

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

Require example program for MPC5748G and external EEPROM communication using I2C

跳至解决方案
835 次查看
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 项奖励
回复
1 解答
826 次查看
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 项奖励
回复
2 回复数
822 次查看
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 项奖励
回复
827 次查看
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 项奖励
回复