Hi Abhinav Dubey,
Thank you for your interest in NXP LPC product, I would like to provide service for you!
1. How much time taken by master to send 100 bytes to slave
The time is determined by your SPI baud rate, I suggest you configure your SPI baudrate to about 300Khz. This is enough to transfer 100bytes data to the slave in 10ms.
2. Operation method
When you want to send 100Bytes data from the master, then enable the timer in the master and configure it as the 10ms gard time, after send 100Bytes data, then send another byte data to slave, this byte is used to check the ACK from slave, in your slave, after you receive the 100 bytes data, then give the ACK data to the master when the 101 bytes clock from master.
When Master send the ACK data, then use a flag to indicate that the slave have receive the 100bytes data successfully.
In the master, after the 10ms is reached, check the slave ACK flag, if it indicate that the data is received by the slave, it is OK, otherwise it means the slave failed to response with the guard time.
Wish it helps you!
If yous still have question, please contact me!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------