Hi:
Is there an example of nrf9160 pwm&i2s?
Hi:
Is there an example of nrf9160 pwm&i2s?
Hi,
Here's a pwm example that shall work with most nRF devices:
https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/basic/blinky_pwm
For I2S, there's an example here that works with the nRF52840 and nRF5340:
https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/drivers/i2s/echo
You can also use the nrfx_i2s driver directly, by enabling it with CONFIG_NRFX_I2S=y, and interfacing the nrfx_i2s driver directly in your application.
Kind regards,
Håkon
Hi,
Here's a pwm example that shall work with most nRF devices:
https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/basic/blinky_pwm
For I2S, there's an example here that works with the nRF52840 and nRF5340:
https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/drivers/i2s/echo
You can also use the nrfx_i2s driver directly, by enabling it with CONFIG_NRFX_I2S=y, and interfacing the nrfx_i2s driver directly in your application.
Kind regards,
Håkon