MKL15Z128 PORTE 的I2C1

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

MKL15Z128 PORTE 的I2C1

445 Views
181953263
Contributor I

MKL15Z128,PORTE,Pin0、Pin1,配置为功能6,即I2C1,初始化后,无法工作,连CLK信号都没有。有遇到同样问题的大侠吗?

Labels (1)
0 Kudos
1 Reply

404 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Qifeng Wang 

楼主你好!

你有没有使用官方SDK 的I2C 代码,然后把pinmux.c里面功能改下为PTE0, PTE1, ALT6, 另外,你PTE时钟有没有使能?

  还有,你有没有debug看看,代码有没有卡死在哪里?

Wish it helps you!

If you still have questions about it, please kindly let me know.

Kerry

 

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