What is the difference between ppib and dppic?

Hello,

I am trying to use the nRF21540 in nRF54L15, I notice document metion

Enable appropriate instances of the DPPIC and PPIB peripherals in the devicetree file:

Explain this code
Copy
Copy&dppic10 {
      status = "okay";
};

&ppib11 {
      status = "okay";
};

&ppib21 {
      status = "okay";
};

&dppic20 {
      status = "okay";
};

&ppib22 {
      status = "okay";
};

&ppib30 {
      status = "okay";
};

&dppic30 {
      status = "okay";
};

I am wondering what is the difference between PPIB and DPPIC. What does appropriate mean? How to choose the correct one. If I open all the node I will got an fatal error below:

Parents Reply
  • I didn't get the same error, but I needed to change the pins, because the ones that you selected aren't routed through to the pin headers on the DK. Al the pins marked with parenthesis, such as P1.00, 01, 02, 03, 04 are by default connected to the external flash chip (you can see it on the back of the DK. Try using this:

    / {
    	nrf_radio_fem: name_of_fem_node {
    	   compatible  = "nordic,nrf21540-fem";
    	   tx-en-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
    	   rx-en-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
    	   pdn-gpios   = <&gpio1 8 GPIO_ACTIVE_HIGH>;
    		mode-gpios   = <&gpio1 4 GPIO_ACTIVE_HIGH>;
    		tx-en-settle-time-us = <12>;
    		rx-en-settle-time-us = <12>;
     };
    }; //54L15

    and connect accordingly. Does that change the behavior?

    My 21-EK doesn't have any antennas connected to it, so I am not sure whether it works.

    If it still fails, please let me know what build command you are using. I tested in both 2.9.0 and v3.0.0-rc1, and it didn't fail in any of them (according to the logs).

    Best regards,

    Edvin

Children
Related