-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add I2S module #201
Add I2S module #201
Conversation
Cool stuff! |
Nice, i'll have a look! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did an initial pass, looks pretty good!
Ah, dang, looks like the i2s-peripheral-demo doesn't build anymore |
Ahh, so it doesn’t see it’s ’static... |
Added a HAL module for the I2S peripheral
Audio (Morse code) demo for I2S in "controller mode" (formerly referred to as "I2S master"),
transmitting audio signals to a DAC:
https://github.com/kalkyl/nrf-hal/blob/i2s/examples/i2s-controller-demo/src/main.rs
Tested on nRF52840-DK with a UDA1334a DAC
...or connect it to the...
"Peripheral mode" (formerly referred to as "I2S slave") demo,
using an RGB LED (APA102) to display the RMS level of the received I2S audio signal:
https://github.com/kalkyl/nrf-hal/blob/i2s/examples/i2s-peripheral-demo/src/main.rs
Tested on ItsyBitsy nRF52840 with its onboard RGB LED