Mike Teachman
8a5bfe44a5
esp32,stm32: Add new machine.I2S class for I2S protocol support.
...
This commit adds I2S protocol support for the esp32 and stm32 ports, via
a new machine.I2S class. It builds on the stm32 work of blmorris, #1361 .
Features include:
- a consistent I2S API across the esp32 and stm32 ports
- I2S configurations supported:
- master transmit and master receive
- 16-bit and 32-bit sample sizes
- mono and stereo formats
- sampling frequency
- 3 modes of operation:
- blocking
- non-blocking with callback
- uasyncio
- internal ring buffer size can be tuned
- documentation for Pyboards and esp32-based boards
- tested on the following development boards:
- Pyboard D SF2W
- Pyboard V1.1
- ESP32 with SPIRAM
- ESP32
Signed-off-by: Mike Teachman <mike.teachman@gmail.com>
2021-07-05 23:42:25 +10:00
..
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2020-06-26 21:17:02 +10:00
2019-10-18 11:41:22 +11:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2020-05-15 10:48:48 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2019-07-25 16:31:36 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-27 12:18:41 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-02-21 15:49:33 +11:00
2021-05-20 23:22:03 +10:00
2021-07-05 23:42:25 +10:00
2021-04-06 12:11:15 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-07-05 23:42:25 +10:00
2021-07-05 23:42:25 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2021-05-20 23:22:03 +10:00
2020-09-08 23:53:12 +10:00
2021-06-10 22:48:17 +10:00
2021-06-10 22:48:17 +10:00
2020-10-29 23:31:59 +11:00
2020-10-29 23:31:59 +11:00
2020-10-29 23:31:59 +11:00
2020-10-29 23:31:59 +11:00
2020-10-29 23:35:36 +11:00
2020-10-29 23:35:36 +11:00
2020-10-29 23:35:36 +11:00
2020-10-29 23:31:59 +11:00
2021-07-05 23:42:25 +10:00
2020-03-26 01:25:45 +11:00
2018-12-13 13:43:10 +11:00
2018-12-13 13:43:10 +11:00
2018-12-13 13:43:10 +11:00
2021-04-20 23:33:33 +10:00
2021-02-14 18:30:49 +11:00
2021-05-04 16:53:40 +10:00
2018-04-11 16:14:58 +10:00
2021-02-14 18:30:49 +11:00
2018-06-18 13:05:24 +10:00
2019-06-25 14:15:49 +10:00
2018-05-29 21:37:49 +10:00
2019-06-25 14:15:49 +10:00
2019-06-25 14:15:49 +10:00
2019-11-11 12:02:14 +11:00
2019-06-25 14:15:49 +10:00
2018-05-29 21:37:49 +10:00
2019-06-25 14:15:49 +10:00
2020-05-15 10:08:30 +10:00
2020-05-15 10:08:30 +10:00
2019-05-02 16:26:53 +10:00
2019-06-25 14:15:49 +10:00
2019-06-25 14:15:49 +10:00
2019-01-31 01:02:42 +11:00
2019-06-25 14:15:49 +10:00
2018-05-16 11:55:07 +10:00
2019-06-25 14:15:49 +10:00
2018-06-22 15:39:10 +10:00
2019-07-25 16:31:36 +10:00
2020-01-30 16:31:11 +11:00
2019-06-25 14:15:49 +10:00
2018-03-07 18:40:06 +11:00
2019-12-19 11:43:19 +11:00
2019-06-25 14:15:49 +10:00
2021-02-14 18:30:49 +11:00
2019-02-06 13:34:53 +11:00
2020-12-08 15:27:27 +11:00
2021-02-14 18:30:49 +11:00
2021-02-14 18:30:49 +11:00
2021-04-13 23:58:20 +10:00
2019-07-05 17:26:03 +10:00
2018-12-06 13:32:43 +11:00
2021-05-27 12:18:41 +10:00
2021-04-13 23:58:20 +10:00
2019-07-08 16:50:19 +10:00
2021-04-13 23:58:20 +10:00
2019-07-01 16:57:20 +10:00
2019-07-01 16:57:20 +10:00
2018-05-29 21:37:49 +10:00
2019-07-01 16:57:20 +10:00
2021-04-13 23:58:20 +10:00
2020-09-08 23:53:02 +10:00
2021-02-14 18:30:49 +11:00