Re: Not understanding how to enable peripherals in devicetree


Jason Bens
 

Thanks Armand,

 

I think I‘ve got that working, now, and referenced properly in the CMakeList.  A devicetree binding somewhere requires a couple pin definitions, but I can handle that.

 

I did come across a bit more documentation at \zephyr\boards\arm\nrf5340dk_nrf5340\doc\index.rst , which lists the supported features for this SoC.  I2S is not on that list.  I’m not sure if that documentation is coming from the Zephyr community or Nordic, but should I interpret that to mean that any I2S driver functionality is accidental at best?

 

  • Jason

 

From: users@... <users@...> On Behalf Of Armand C.
Sent: June 29, 2021 2:22 PM
To: users@...
Subject: Re: [Zephyr-users] Not understanding how to enable peripherals in devicetree

 

External Email:

Hi Jason,

You have to enable the peripheral in the board devicetree overlay (see below).

&i2s0 {
    status = "okay";
};

Armand

Join users@lists.zephyrproject.org to automatically receive all group messages.