count_rx
size_t count_rx = 1;
count_rx++;
ret = spi_write_then_read(spi, buf, 2, buf + 2, count_rx);
count_rx(dev, len);