Plays USB Audio packets through external DAC (Cirrus Logic CS4344). Simple demo code, don't expect a sophisticated I2S library. HW setup: mbed DIP 5 (I2STX_SDA) -> DAC SDIN (Serial Audio Data Input) mbed DIP 6 (I2STX_WS) -> DAC LRCK (Left Right Clock) mbed DIP 7 (I2STX_CLK) -> DAC SCLK (External Serial Clock Input) mbed DIP 30 (I2SRX_CLK) -> DAC MCLK (Master Clock) also needed an extra USB connector wired to mbed. Does not work with built-in USB. Code needs a bit of clean up.
Revision 1:12e8ee1b7ea2, committed 2012-04-16
- Comitter:
- csorbag
- Date:
- Mon Apr 16 08:32:38 2012 +0000
- Parent:
- 0:bf9e7b99dda5
- Commit message:
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r bf9e7b99dda5 -r 12e8ee1b7ea2 main.cpp --- a/main.cpp Mon Apr 16 08:28:42 2012 +0000 +++ b/main.cpp Mon Apr 16 08:32:38 2012 +0000 @@ -21,7 +21,6 @@ setup(&pc); - pc.printf("Begin new\n"); while (1) { // read an audio packet