Crates.io | stm32_i2s_v12x |
lib.rs | stm32_i2s_v12x |
version | 0.5.1 |
source | src |
created_at | 2021-02-07 02:48:47.367118 |
updated_at | 2024-03-21 15:00:13.11339 |
description | Driver for I2S communication (using SPI peripherals) for some STM32 microcontrollers |
homepage | |
repository | https://github.com/samcrow/stm32_i2s |
max_upload_size | |
id | 351774 |
size | 216,888 |
This library provides driver and abstractions for I2S communication using the SPI peripherals on some STM32 microcontrollers.
According to application note AN5543, there are four major versions of the SPI/I2S peripheral used on STM32 microcontrollers:
Currently, code of this library is focused on SPI version 1.2 (STM32F1, STM32F2, STM32F4, STM32L0, and STM32L1). However, SPI version 1.2 and 1.3 don't seems to have relevant differences for I2S operation and therefore this library may also work with SPI version 1.3 (STM32F0 STM32F3 STM32F7 STM32L4 STM32L5...).
This library has been tested on a few different STM32F4 microcontrollers. The other models that use the same SPI version (F1, F2, L0, and L1) may work, but we haven't tested any of them. Trait implementations and a working example will be availaible in stm32f4xx-hal.
0-clause BSD (see LICENSE.txt)