NordicAudioWave: Using a dev board with an I2S DAC
At this point in time, there is very little information available on how to use a nrf5340dk board in combination with an I2S DAC chip (Adafruit I2S Stereo Decoder – UDA1334A). Theo (GATCODE) posts on GitHub to help.
This sample is based on the Zephyr I2S testcases (copied sine wave data_frame table), as well as the I2S Echo sample. Please take a look at these samples if you want to get further information on how you can use the I2S driver itself.
Furthermore, the concrete API definitions can be found here.
To be able to talk to I2S devices, one has to follow (more or less) the following steps:
Step 5: Trigger the start of the data transmission
Step 6: Fill the memory blocks with your data (e.g. sine wave)
Step 7: Use i2s_trigger(...) to write the data to the I2S device
See more of how this is done with code (Apache license) on GitHub here.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey