I2C Clock Signal is not showing with K344

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

I2C Clock Signal is not showing with K344

跳至解决方案
489 次查看
jwoo124
Contributor II

Hi,

I'm currently trying to test the transfer between the K3x4EVB-T172 board with an EEPROM with LPI2C1.

I'm using the LPI2C Transfer k344 example as the base.

When trying to measure the SCL with an oscilloscope, the clock signal doesn't show an 8 bit signal.

When using the Lpi2c_Ip_MasterSendData() or Lpi2c_Ip_MasterReceiveData(), there should be 8 bits shown on the scope, but it just show one quick low high signal. 

Is there a certain setting missing or am I misunderstanding how to use s32ds?

I'm trying to code by following the datasheet for EEPROM; however, in order to verify if the everything is working properly, I'm trying to test with the scope.

Thank You.

0 项奖励
回复
1 解答
455 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Please refer to the discussion in S32K312 - How can I set I2C baud rate? Note LPI2C Timing Parameter Restrictions

Also, are there any pull-up resistors connected to the I2C pins?


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
456 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Please refer to the discussion in S32K312 - How can I set I2C baud rate? Note LPI2C Timing Parameter Restrictions

Also, are there any pull-up resistors connected to the I2C pins?


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
414 次查看
jwoo124
Contributor II

Hi,

Yes, I was able to figure it out. I eventually matched the Clock High Period and Clock Low Period to get the I2C Baud Rate to 100000 to match Standard Mode.

Thanks for the help!! 

0 项奖励
回复