This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPIS of nrf52 could not read the data accuracy

I am working with SPIS example ( sdk version 15.3). SPI master send data regulaly. For example, it sent 5ms cs low, but there are only two bytes transferred, the first byte at begin of 5ms, other one at the end. SPIS of nrf52  not read the second one, what can I do with it?

Parents Reply
  • hzhuxin said:
    SPIS means SPI slave mode

     Hehe, thanks. I know, but I just wanted to check whether you used an nRF as Master as well, or not.

    You probably also know that "MOSI" stands for "Master Out Slave In", so it looks like the master doesn't send all the data, only the first and last byte. That is also why I asked you whether you have actually analyzed the lines using an oscilloscope or a logic analyzer, or if you have come to this conclusion based on the behavior of the slave application?

    If this is a trace from an oscilloscope or a logic analyzer, then I think you need to find out why the master doesn't send all the data. Does it expect the slave to respond, perhaps? What does your MISO line look like? And what is your SPIM?

Children
Related