Hello,
I am a developer developing with S32K148 LQFP-144.
I'm making a function to store data in EEPROM using I2C.
I have a question during development.
When I used the s12zvca19 product, I was able to find a figure for the I2C Bus Protocol as a datasheet.
However, I couldn't find a figure for FS32K148HFT0MLQT I2C Bus Protocol.
Is the datasheet S32K-RM.pdf for S32K148 correct?
Please provide figure and timing diagram for FS32K148HFT0MLQT I2C Bus Protocol.
EEPROM side I2C Bus Protocol judges ACK signal as Low.
Does S32K148 judge the ACK signal as Low?
In addition, I would like to send in the form of Slave Address + R/W, Memory Address 1 byte, and Data 1 byte.
I am using S32 Design Studio for ARM Version 2.2.
Do you have a Generated Code?
If you have sample code, please let me know.
Best Regards,
Solved! Go to Solution.
Hello @s_kim1,
It follows the I2C protocol:
UM10204 I2C-bus specification and user manual
https://www.nxp.com/docs/en/user-guide/UM10204.pdf
So, yes, ACK is always LOW.
Please refer to the S32K1xx RM, rev.13
Section 52.3.2.4 Timing Parameters
You can use the SDK lpi2c_master_s32k148 example in S32 Design Studio.
If you have any questions regarding the example, let me know.
Regards,
Daniel
Hello @s_kim1,
It follows the I2C protocol:
UM10204 I2C-bus specification and user manual
https://www.nxp.com/docs/en/user-guide/UM10204.pdf
So, yes, ACK is always LOW.
Please refer to the S32K1xx RM, rev.13
Section 52.3.2.4 Timing Parameters
You can use the SDK lpi2c_master_s32k148 example in S32 Design Studio.
If you have any questions regarding the example, let me know.
Regards,
Daniel