In I2C, every byte transmission is followed by an ACK/NACK bit from the receiver.
That makes it straightforward to confirm whether the target device actually received the data.
However, protocols like UART and SPI do not have a built-in acknowledge mechanism at the hardware level. They only shift bits, and the sender has no automatic feedback from the receiver.
Can we do ACK/NAK in the application layer for UART/SPI? how do you normally confirm that the other device actually received the data?
That makes it straightforward to confirm whether the target device actually received the data.
However, protocols like UART and SPI do not have a built-in acknowledge mechanism at the hardware level. They only shift bits, and the sender has no automatic feedback from the receiver.
Can we do ACK/NAK in the application layer for UART/SPI? how do you normally confirm that the other device actually received the data?