AnsweredAssumed Answered

Trasfering 100 bytes of data through SPI between two 1769 MCUs

Question asked by Abhinav Dubey on Jul 7, 2016
Latest reply on Jul 17, 2016 by Kerry Zhou



I have established SPI communication between two 1769 MCUs, I send one char and slave sends back some other character. Now, my  end application needs 100 bytes data to transfer from master 1769 to slave 1769 within specific  guard time of 10ms and slave send back some acknowledgement, If slave failed to respond within guard time, timeout error should occur. .




To generate time guard I'm using timer 1, once data send calculated time send to uart, How to calculate time using timers,  I mean how much time taken by  master  to send 100 bytes to slave must be calculated and send on to the uart???



thanks in advance.