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
..
2017-11-10 00:09:43 +02:00
2020-10-20 17:13:02 +11:00
2021-04-23 22:03:46 +10:00
2017-07-02 15:37:31 +03:00
2021-07-01 14:44:41 +10:00
2020-06-30 22:01:44 +10:00
2020-02-10 23:04:15 +11:00
2017-07-02 15:37:31 +03:00
2021-05-08 18:02:04 +10:00
2020-08-21 12:24:13 +10:00
2019-09-04 15:35:09 +10:00
2020-08-21 12:24:13 +10:00
2020-10-01 12:57:10 +10:00
2021-07-05 23:42:25 +10:00
2021-02-03 00:54:18 +11:00
2021-04-30 16:42:51 +10:00
2021-07-05 23:42:25 +10:00
2021-06-12 22:53:49 +10:00
2019-06-03 00:42:24 +10:00
2020-05-28 12:19:04 +10:00
2020-10-20 17:21:30 +11:00
2020-10-01 12:57:10 +10:00
2021-05-04 22:58:00 +10:00
2021-05-04 22:58:00 +10:00
2020-08-21 12:24:13 +10:00
2020-05-02 22:55:48 +10:00
2017-07-02 15:37:31 +03:00
2020-06-05 21:42:17 +10:00
2021-05-20 23:22:03 +10:00
2021-05-04 22:58:00 +10:00
2021-05-20 23:22:03 +10:00
2021-06-17 18:48:17 +10:00
2020-08-21 12:24:13 +10:00
2019-12-04 15:02:54 +11:00
2019-12-04 15:02:54 +11:00
2021-05-20 23:22:03 +10:00
2020-08-21 12:24:13 +10:00
2019-12-04 15:02:54 +11:00
2020-08-21 12:24:13 +10:00
2021-05-20 23:22:03 +10:00
2019-12-04 15:02:54 +11:00
2019-12-04 15:02:54 +11:00
2021-05-20 23:08:43 +10:00
2021-05-20 23:22:03 +10:00
2021-01-30 14:13:30 +11:00
2016-06-08 16:21:28 +03:00
2021-05-20 23:22:03 +10:00
2018-03-15 15:50:51 +11:00
2020-08-21 12:24:13 +10:00
2021-05-20 23:22:03 +10:00
2020-08-21 12:24:13 +10:00
2021-06-23 16:11:37 +10:00
2021-05-08 18:02:04 +10:00
2021-05-08 18:02:04 +10:00
2021-05-12 00:05:55 +10:00
2021-05-08 18:02:04 +10:00
2019-10-22 16:40:58 +11:00
2021-06-15 13:13:35 +10:00
2020-12-14 14:35:29 +11:00
2020-12-02 14:44:36 +11:00
2018-06-26 14:29:22 +10:00
2019-05-06 18:09:48 +10:00
2021-05-04 22:58:00 +10:00
2021-04-23 22:03:46 +10:00
2019-10-16 14:08:28 +11:00
2021-05-18 12:24:21 +10:00
2021-05-04 22:58:00 +10:00
2018-02-15 11:37:48 +11:00
2020-08-25 17:35:19 +10:00
2020-06-05 21:42:17 +10:00
2021-05-04 22:58:00 +10:00
2021-05-04 22:58:00 +10:00
2021-05-18 12:27:57 +10:00
2020-01-12 13:44:59 +11:00
2020-09-04 00:10:24 +10:00
2021-05-04 22:58:00 +10:00
2020-01-12 13:44:59 +11:00
2015-10-21 15:30:56 +02:00