It also represents the successful flow of data. The TXD is used to transmit the data, and RXD is used to receive the data. TXD and RXD-TXD and RXD pins are used for serial communication. This allows us to have multiple SPI peripheral devices sharing the same MISO, MOSI, and CLK lines.Įxternal Interrupts (2 and 3)- These pins can be used to trigger an interrupt on a low value, a rising or falling edge, or a change in value. When it’s value HIGH, it ignores the master. When a device’s Slave Select pin value is LOW, it can communicate with the master. This line is used for sending data to the peripherals.
This data line in the MISO pin is used to receive the data from the Slave. These are the clock pulses, that is used to synchronize the transfer of data.
It is used by microcontrollers to communicate with one or more peripheral devices quickly. SPI stands for Serial Peripheral Interface.