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

SPI not operating correctly at high speeds

Hello,

I'm having issues getting my SPI to work at high transfer speeds.
I have my pins configured to have high drive.

SPI is set to MSB first, Mode 0. 

Colors:

Brown = SCK

Red = MOSI

Orange = MISO

Yellow = CS

This is a transaction on 125kbps, working  fine.

This is at 500kbps, not getting all clock pulses.

This is at 8Mbps and yeah... nothing here but the chip select.

Can anyone help me getting this work at higher speeds?

Kind regards.

Parents Reply Children
  • Sorry to be pedantic, but standard drive will not look the same as high drive on your scope, even with significant wire lengths; if it does look the same, then high drive has not been applied correctly. Perhaps review this setting again, the high drive must be set after any SPI init otherwise it will be overwritten by that SPI init.

    Also place one channel of the scope on SCK at the Nordic end with the scope Gnd on Nordic Gnd, and place a second scope channel on SCK (same signal) on the remote device end with that second scope Gnd at the Gnd on the remote device end. Capture the trace and post them here. They will not look the same if the scope probes are placed correctly even though they are connected by a 6 inch jumper.

Related