Read-Write Operation
- START condition (S)
- Host code (0000 1XXX)
- Not-acknowledge (NACK)
Note that to enable high-speed transfer, the client must send a NACK after receiving the host code.
As described previously, this sequence is sent at normal speed, and in case of multi-host, arbitration can only happen during this sequence.
Host codes are 8-bit reserved codes with the sole purpose of enabling High-Speed mode. Each host must use a different host code, which can be set through the FLEX_TWI_HSR.MCODE field.
Once this sequence has been sent, High-Speed mode is enabled and the host sends a repeated start to begin the programmed transfer. High-Speed mode remains enabled after repeated START (Sr) and only switches back to normal speed after a STOP condition (P).