diff options
author | Mike Teachman <mike.teachman@gmail.com> | 2021-04-16 21:27:40 -0700 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-07-05 23:42:25 +1000 |
commit | 8a5bfe44a5b686b479ef0638e25fe968099f2a28 (patch) | |
tree | 3f9d48eee8660ef7e4b27e939dffa93f003cf734 /docs/esp8266/tutorial | |
parent | 031fe0f144e4bc37fc35d682cbb3bcffc79886b1 (diff) | |
download | micropython-8a5bfe44a5b686b479ef0638e25fe968099f2a28.tar.gz micropython-8a5bfe44a5b686b479ef0638e25fe968099f2a28.zip |
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>
Diffstat (limited to 'docs/esp8266/tutorial')
0 files changed, 0 insertions, 0 deletions