NRF54L15DK unable to use NRFX_SPIM_FLAG_TX_POSTINC flag in nrfx_spim_xfer API

Hi,

I am currently evaluating the nRF54L15 dk and porting the old project code from the nRF52DK to the new nRF54L15DK devboard. However, I have encountered an issue with attempting to set up the SPI using the NRFX_SPIM_FLAG_TX_POSTINC flag in nrfx_spim_xfer(), which results in a return error code of NRFX_ERROR_NOT_SUPPORTED. It looks like this is due to the option NRFY_SPIM_HAS_ARRAY_LIST being set to 0. Upon further investigation of the SDK code, It looks like the option SPIM_TXD_LIST_LIST_ArrayList is not defined in nrf_spim.h. However, the datasheet for the nRF54L15 clearly indicates that DMA array list is supported for SPIM (The flag also works on the nRF52 dev board). Therefore, I am wondering if I am missing some settings in my project that is specific to this SoC, or perhaps this config was forgotten to set to 1 in the current SDK as the software support for this chip is still sort of in an early stage. Any suggestion or help would be greatly appreciated.

Thanks,

Taspon

Parents Reply Children
  • I actually run into a lot of compilation issue when setting the flag on. Here are a couple:

    deps/modules/hal/nordic/nrfx/hal/nrf_spim.h: In function 'nrf_spim_tx_list_enable':
    deps/modules/hal/nordic/nrfx/hal/nrf_spim.h:1536:10: error: 'NRF_SPIM_Type' has no member named 'TXD'
    1536 | p_reg->TXD.LIST = SPIM_TXD_LIST_LIST_ArrayList << SPIM_TXD_LIST_LIST_Pos;
    | ^~
    /deps/modules/hal/nordic/nrfx/hal/nrf_spim.h:1536:52: error: expected expression before '<<' token
    1536 | p_reg->TXD.LIST = SPIM_TXD_LIST_LIST_ArrayList << SPIM_TXD_LIST_LIST_Pos;
    | ^~

    On NRF54L15, it should be p_reg->DMA.TX.LIST instead.

    Will this be fixed anytime soon? This is very concerning since it looks like the SPIM feature is not properly implemented on nRFX for the nRF54L series (a product that seems to be in the mass production phase). Right now we are trying to evaluate this chip and this is becoming a stopping factor......

    Thanks,

Related