mpsl_fem_simple_gpio_interface_config_set gives MPSL assert 122, 29

Hi!

I'm trying to decipher the MPSL FEM API documentation and I'm adding code to a bare metal project to initialize the simple gpio interface FEM config.

I'm running (with nrfxlib 2.9.0):

If I remove the call to mpsl_fem_simple_gpio_interface_config_set, this, and the rest of the code, works fine. Adding it causes MPSL to call the assert-handler for file 122, line 29 and not return from mpsl_fem_simple_gpio_interface_config_set.

Is 20 the right value for EGU20? (I've tried 0..3 as well).

We don't use EGU20 for anything else. We also don't use the given DPPI channels (I've tried with others as well) nor the gpio-pins.

Is there some other function that should be called before calling this function?

I've called mpsl_fem_init() before (but its documentation says its not needed if mpsl_init is called). I've called mpsl_fem_power_model_set(NULL); before which didn't help either.

Parents
  • Hi Sebastian

    I suspect the issue is that the 54l15 does not support simple GPIO interface as mentioned here

    Regards

    Runar

  • nRF2220

    nRF2220

    nRF52, nRF53, nRF54L

    nRF21540

    nRF21540 GPIO

    nRF52, nRF53, nRF54L

    nRF21540

    nRF21540 GPIO+SPI

    nRF52, nRF53

    SKY66112-11

    Simple GPIO

    nRF52, nRF53

    Ummm... are you sure? That table is from the link you provided. Though it probably got updated one day after your post (per Murphy's law).

  • The last line is for the simple gpio FEM driver that I tried to use. Its not supported on the nRF54L.

    Too bad there is no radio event notification anymore. Then all FEMs could be supported at the cost of some extra energy.

Reply
  • The last line is for the simple gpio FEM driver that I tried to use. Its not supported on the nRF54L.

    Too bad there is no radio event notification anymore. Then all FEMs could be supported at the cost of some extra energy.

Children