This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SPI Slave CLK

Hi

I'm using two different designs using nRF51822 as SPI Slave. One is using p0.07 as CLK input and the other is using p0.06 as CLK input. I'm using the code from spi_slave.c/h without any changes.

The one using p0.07 works like a charm.

Using p0.06 adds a 90Mhz oscillating signal to the clock-pulses and consequently the SPI Slave doesn't understand it.

Are there any default-settings on p0.06 I have to shut off? I'm not using any analog stuff whatsoever.

Parents
  • Hi,

    Thank you for the information.

    The working one is the PCA10001 connected to my custom board with a ribbon cable. (Cable length ~10cm, but still works.)

    The nonworking is with the nRF51822 on board my custom board. (Short distance, should in theory be better, but nope.) Tried to change to another port, but same problem there. Looks like the edges on my SPI Master signals is too good. ;-)

Reply
  • Hi,

    Thank you for the information.

    The working one is the PCA10001 connected to my custom board with a ribbon cable. (Cable length ~10cm, but still works.)

    The nonworking is with the nRF51822 on board my custom board. (Short distance, should in theory be better, but nope.) Tried to change to another port, but same problem there. Looks like the edges on my SPI Master signals is too good. ;-)

Children
No Data
Related