the SPI clock line holding low for a short interval between bytes when transfer more bytes

when we send more bytes with spi transfer function, we found the clock line adds a low space interval between bytes, as we understand that the clock line is controlled by the master, what causes this random interval on the clock line of the master spi?

Parents
  • Hello,

    It's not entirely clear what api you are using here, but I would expect a delay between each call to spi_transceive(), however the bytes within each spi_transceive() should not be visible. If you have delay between bytes within an call to spi_transceive() I would likely have checked that you are using compatible = "nordic,nrf-spim"; (instead of compatible = "nordic,nrf-spi";) in your .dts or .overlay file.

    Kenneth

Reply
  • Hello,

    It's not entirely clear what api you are using here, but I would expect a delay between each call to spi_transceive(), however the bytes within each spi_transceive() should not be visible. If you have delay between bytes within an call to spi_transceive() I would likely have checked that you are using compatible = "nordic,nrf-spim"; (instead of compatible = "nordic,nrf-spi";) in your .dts or .overlay file.

    Kenneth

Children
No Data
Related