GB_SPI_STATE_OP_READY
while (msg->state != GB_SPI_STATE_OP_READY) {
msg->state = GB_SPI_STATE_OP_READY;