nrf5340 128MHz & SPI 32 MHz

Hello,

I need a SPI running at maximum SPI (32MHz).

My understanding is to have a 32 MHz SPI, I need a core running at 128MHz.

What is the correct way to configure the core clock: (Device Tree? KConfig? nrfx lib?

Thanks

Parents Reply
  • Hi Hakon,

    I've just noticed that I'm not using the SPIM4 dedicated pins.  I'm using the QSPI pins P0.13, P0.14, P0.16. Everything seems to be working with this setup.  I wonder if the driver could be updated to support this? i.e. all the other high drive pins?

    I had wired the NOR Flash to the QSPI pins for 2-Bit mode, but it appears the qspi driver only supports 4 bit mode.

    (p_config->skip_gpio_cfg && p_config->skip_psel_cfg)

    is true in my case which might explain why the frequency and rx-delay were not picked up from the device tree settings.

    Regards

    Simon

Children
Related