How to set both SPI and I2C at LPC54101

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

How to set both SPI and I2C at LPC54101

1,279 次查看
wk7575
Contributor I

I use LPC54101. I make program with LPCXpresso v8.2.2 and Legacy LPCOpen v2.14.1 software package.
I want to use both I2C and SPI, but SPI is stuck by setting both I2C and SPI.
I2C' connection is down also. Please teach me how to set both SPI and I2C.
I2C is used to connect between LPC54101 and Edison.
SPI is used to connect between LPC54101 and  MPU-9250(sensor).

3 回复数

1,188 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Koichi,

    Did you try to test the SPI and I2C separately on your board?

    Is the SPI and I2C working if just have one module?

    How did you configure both I2C and SPI, and when the SPI is stuck? Please post some code about it.

    Because I don't have the Edison and MPU-9250 on my side, then you should test it and tell me the result.

Waiting for your reply!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,188 次查看
wk7575
Contributor I

Hi,Kerry.
Thank you for resonding to my question.
Sorry about lack of information about problem.
I could reference other response for the same question, and study this problem with help of the reference.
I really appreciate your concern.

Best Regards,

Koichi

0 项奖励
回复

1,188 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Koichi,

     Ok, if you still need help from my side, please feel free to contact me.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复