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.
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!
-----------------------------------------------------------------------------------------------------------------------