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

SPIS 1 MISO no output

I have spent almost one day trying to make sense of that.

NRF52832 is SPI Slave, based on your examples/peripheral/SPIS/pca10040 sample SDK v12.2.0 board DK PCA10040 I am using instance 1. Instance 0 is not used.

Everything works except that MISO stays at 0 for the transfers duration. I see just some normal noise at the oscilloscope.

I have changed the pin for MISO, but it has no effect. Was pin P0.12, went to P0.25

I am sure that my tx buffer is non zero. It is aligned on 4 bytes boundaries (necessary ?)

The event system works well, I receive the frames from the master at high rate (every 250µs). There is 10µs between CS low and start of SPI clock. Changing the drive strength seemed at some point to show a very low level.

could this be due to a conflict of resources ?

Parents
  • I have solved the problem. It was a problem on my HW side.

    There is however something else that looks strange

    Even though the config is supposed to apply a pull-up on CS, it does not.

    .csn_pullup = NRF_DRV_SPIS_DEFAULT_CSN_PULLUP seems to have no effect.

    you might close that subject, rename it or even delete it except if the NRF_DRV_SPIS_DEFAULT_CSN_PULLUP issue is really an issue.

Reply
  • I have solved the problem. It was a problem on my HW side.

    There is however something else that looks strange

    Even though the config is supposed to apply a pull-up on CS, it does not.

    .csn_pullup = NRF_DRV_SPIS_DEFAULT_CSN_PULLUP seems to have no effect.

    you might close that subject, rename it or even delete it except if the NRF_DRV_SPIS_DEFAULT_CSN_PULLUP issue is really an issue.

Children
No Data
Related