SPI1 slave on LPC1115

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

SPI1 slave on LPC1115

725 Views
haulam
Contributor II

I want to use the SPI1 on LPC1115 as slave and other MCU (example : STM32) as Master

So when the Master want to read/write data from LPC1115 , LPC1115 will read data from other chip(A1006) via I2C and response to Master.

Do we have any approach and mechanism to config LPC1115 slave or sample  like this ? 

Thank you very much.

0 Kudos
1 Reply

519 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Hau Lam, 

LPC1115 and LPC11c24 are from the same family. In the reference manual UM10398.pdf page 13-14 table 3 you can see that the only differences between each LPC are the GIPOs, power supplies and CAN peripheral. So, you can use the LPCOpen for the LPC11c24 in your LPC1115, there you will find the example of the ssp peripheral.  

Hope it helps!

Victor.

 

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

0 Kudos