diff --git a/system/spi/spi_exch.c b/system/spi/spi_exch.c index 1a898484e..f229bf238 100644 --- a/system/spi/spi_exch.c +++ b/system/spi/spi_exch.c @@ -169,6 +169,9 @@ int spicmd_exch(FAR struct spitool_s *spitool, int argc, FAR char **argv) trans.nwords = spitool->count; trans.txbuffer = txdata; trans.rxbuffer = rxdata; +#ifdef CONFIG_SPI_HWFEATURES + trans.hwfeat = 0; +#endif ret = spidev_transfer(fd, &seq);