In the App note, Page 4, it discusses about the steps for multimaster which I have mentioned it below :
" The following describes the procedures for the operation of this sample task.
- The I2 C bus interface multi-master transfer starts on the input of the low trigger to the IRQ0 pin of the master side.
- The master side transmits 128 bytes of data, which have been prepared in the on-chip ROM in advance, to the onchip RAM on the slave side.
- The slave device returns the 128 bytes of data received in step 2 from its on-chip RAM to the on-chip RAM on the master side.
- The master side compares the received data in its on-chip RAM with the data transmitted from its on-chip ROM, and confirms whether the two match.
- Based on the results of this comparison and the state of arbitration lost, the master side outputs levels on the PE2 to PE0 pins that indicate the result of operation.
- From the value of the first byte of received data on the slave side, the slave judges whether the partner in communications is master 1 or master 2, and outputs levels on pins P15 and P14 that indicate the state of operation. "
I was not able to understand point 5 and point 6.
What do they mean by "State of Arbitration Lost" and why do we need to show the result of the operation on Pins PE2-PE0? Are we not wasting pins?
Why don't we just send the I2C Signals once, the point 4 is completed and the comparison is satisfied?