This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

I2S on NRF9160

I have understood that zephyr I2S APIs do not support NRF9160 ATM. Is that true?

Also, I could not find any samples about using NRFX I2S drivers on NRF9160. Are there any such samples anywhere?

Now I took the approach that I try to use I2S from /modules/hal/nordic/nrfx/drivers/src, but I am having some problems with it. SDK version 1.1. What I have done, is basically just 

CONFIG_NRFX_I2S=y

and then calling nrfx_i2s_init. Program crashes as soon as nrfx_i2s.c code assigns something to NRF_I2S. This happens actually in nrf_i2s_configure inline function. NRF_I2S seems to be a pointer

NRF_I2S_NS_BASE             0x40028000UL

I suspect that I might have some non-secure definitions/lifting missing somewhere, but no idea really what and where exactly. Any hints about the details in getting this to work or in general how to use I2S in NRF9160 are appreciated, thanks

Related