Skip to content
Commit 76e12a33 authored by Tomasz Moń's avatar Tomasz Moń Committed by Carles Cufí
Browse files

drivers: i2s_nrfx: Generate master clock if pin is connected



The driver uses pinctrl to configure pins instead of nrfx I2S API.
Check whether MCK pin was actually connected by pinctrl instead of
comparing nrfx_cfg.mck_pin that is always NRF_I2S_PIN_NOT_CONNECTED.

This makes it possible for nRF I2S to provide master clock even when
operating in I2S Slave mode.

Signed-off-by: default avatarTomasz Moń <tomasz.mon@nordicsemi.no>
parent cefc391d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment