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

SPIM transfer crashing on nRF5340

Hi,

I'm developing a program using SPIM instance 1 on nRF5340 PDK, with nRF Connect SDK 1.4.0. 

The problem I met is exactly the same as this post. If I want to use a handler, the SPI transfer will crash.

However, it seems I can not solve this problem on nRF5340 like the post above, as there is no nrfx_irqs header file for nRF5340 in the nrfx library. 

So, is there any workaround to solve this?

Parents Reply
  • Hi, Jørgen,

    I'm using NRFX APIs directly, because I want to use GPIO events to trigger SPI transmission directly (with DPPI). It seems I can not get the SPI START task address through Zephyr SPI API.

    The project I'm testing is modified from the nrfx sample (ncs/v1.4.0/zephyr/samples/boards/nrf). I enabled SPIM driver and SPIM1 instance using the "Configure nRF Connect SDK Project" interface in SEGGER Embedded Studio.

Children
No Data
Related