stm32f4xx-hal
stm32f4xx-hal copied to clipboard
Dual i2s
Hi, i'm trying to implement full duplex I2s. at the moment, this branch use a modified version of stm32_i2s crate i'm also working on. the modified version is included through submodule
As I understand, you need also define pins for ExtSd which require specific alternate function:
see gpio::alt mode and datasheets like https://www.st.com/resource/en/datasheet/DM00037051.pdf
Try this: https://github.com/stm32-rs/stm32f4xx-hal/tree/i2sext2
Try this: https://github.com/stm32-rs/stm32f4xx-hal/tree/i2sext2
i was not expecting to have a review now. i just open that to signal i'm working on it.
And sorry, what you did is wrong, you assumed I2sEXT exist as long as SPi2 and SPI3 exist, but stm32f410 and stm32f446 doesn't have extended I2S.
Try this: https://github.com/stm32-rs/stm32f4xx-hal/tree/i2sext2
i was not expecting to have a review now. i just open that to signal i'm working on it.
And sorry, what you did is wrong, you assumed I2sEXT exist as long as SPi2 and SPI3 exist, but stm32f410 and stm32f446 doesn't have extended I2S.
This is just to give you a hint, not for replacing your PR. I'm not familiar with I2s so I can't do PR for you. Possibly @samcrow could help.
Hi,
This work may not progress for a long time because i have found too many issues in stm32_i2s crate. I think it require a redesign before doing anything else.