Use DMA Transfer API in I2S module#209
Conversation
|
Thanks! I think |
Ahh i see... I can't really figure out how to implement them for this at the moment, i guess i haven't fully understood how they're supposted to be used... Any hints? |
|
I've also never used them so far, unfortunately. |
|
I’ll do my homework ;) |
|
Ok i have a working implementation using the |
5: Prepare 0.1.1 release r=therealprof a=eldruin A release with the signed integer implementations would be helpful for nrf-rs/nrf-hal#209 Co-authored-by: Diego Barrios Romero <eldruin@gmail.com>
|
FYI, I just published |
jonas-schievink
left a comment
There was a problem hiding this comment.
Looks good, thanks!
I changed the I2S module to use a DMA
TransferAPI for TX and RX operations.I also added support for full duplex transfers and the demos were updated according to the new API.
"Controller mode" demo (TX):
https://github.com/kalkyl/nrf-hal/blob/i2s-dma/examples/i2s-controller-demo/src/main.rs
"Peripheral mode" demo (RX):
https://github.com/kalkyl/nrf-hal/blob/i2s-dma/examples/i2s-peripheral-demo/src/main.rs