Skip to content

Commit

Permalink
I2s input API and examples (#4539)
Browse files Browse the repository at this point in the history
Enables I2S stereo input via DMA using new API calls:

. i2s_rxtx_begin(bool rx, rool tx);
. i2s_read_sample(uint32_t *l, uint32_t *r);

Original API calls will only enable TX, so this is backwards compatible.

Add simple I2S input example code using Arduino serial plotter.

Add UDP transmit of I2S microphone data to a PC (remote microphone).

Clean up and reorganize code to share RX and TX logic as much as
possible.  Fix a potential WDT error while in blocking sample read
and write.
  • Loading branch information
earlephilhower authored Apr 2, 2018
1 parent 7ae8f98 commit 8ae553d
Show file tree
Hide file tree
Showing 4 changed files with 477 additions and 139 deletions.
Loading

0 comments on commit 8ae553d

Please sign in to comment.