# Atmel EDBG-based Tools Protocols
SPI programming protocol commands

Sidebar | Prev | Up | Next

### SPI Set Baud

Sets the clock frequency to be used for SPI programming

Table 141. SPI Set Baud command format

Field | Size | Description
--- | --- | ---
SPI_CMD_SET_BAUD | 1 byte | Command ID
Baud | 2 bytes | Baud rate to use (kbit/s)

Response:

Table 142. SPI Set Baud response

Field | Size | Description
--- | --- | ---
SPI_CMD_SET_BAUD | 1 byte | Command ID
Status | 1 byte | SPI_STATUS_CMD_OK or SPI_STATUS_BAUD_INVALID

Prev | Up | Next
| Home |