How to set both SPI and I2C at LPC54101

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

How to set both SPI and I2C at LPC54101

778 Views
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 Replies

687 Views
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!
-----------------------------------------------------------------------------------------------------------------------

687 Views
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 Kudos
Reply

687 Views
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 Kudos
Reply