SPI Clock edge too slow

Hi,

We are having some issues communicating with a Winbond W25Q64 flash memory. Using the standard SPI Zephyr drivers an attempt to get the Manufacturer ID returns 0xDC rather than the expected oxEF. By analysing things with both a logic analyser and scope we see that the rise time of the SCL clock signal is around 60ns which is almost twice the allowed time according to the Winbond datasheet.

We also repeated the test on the nRF52832 DK and with the scope on SCL we seem the same problem, removing the scope lead improves things a little so the clock is being affected by the scope capacitance. By setting the nRF52832 SCL GPIO to HIHO the problem is fixed and we see a very rapid rise on the SCL

So, the question is....... is it possible to change the SCL GPIO pin drive characteristics on the nRF9160 within the Zephyr SDK?

Any help gratefully received

Thanks

Related