Pinctrl multiple group issue

Hello, I'm working on sensors attached to nrf9160dk.

This is my overlay file pinctrl conf:

And for spi interface:

Ignore the 'no cs-gpios' is only on that screen but all works on build (I think its a vscode issue). I'm using ncs 2.2.0.

In the end I have this devicetree:

Now you see that I've pin on 13,12,11 for both bme and lsm. My question is if I've two groups why it keeps bringing the last one? Can I specify which group to use and how can I do it? I have to create another spi3 default and sleep for lsm (and every new device)? What is the scope of group if I cannot choose between them?

Parents Reply
  • Hello Sergio,

    I got feedback from team. 

    As I said it's not a fully featured right now. We noticed that you introduced a new group name (spi3_default_alt and spi3_sleep_alt). This also requires changing pinctrl-names = ''default_alt'', ''sleep_alt'', this will fix the pin overview diagram where you now misses these 3 pins: 

    it also fixes this drop down

    However, it will not fix the pin properties listed below.

    Alternatively, you could just use the original default and sleep group names and only override the values. 
Children
Related