stm32f4xx-hal icon indicating copy to clipboard operation
stm32f4xx-hal copied to clipboard

Dual i2s

Open YruamaLairba opened this issue 3 years ago • 5 comments

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

YruamaLairba avatar Mar 13 '22 16:03 YruamaLairba

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

burrbull avatar Mar 13 '22 17:03 burrbull

Try this: https://github.com/stm32-rs/stm32f4xx-hal/tree/i2sext2

burrbull avatar Mar 13 '22 17:03 burrbull

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.

YruamaLairba avatar Mar 14 '22 23:03 YruamaLairba

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.

burrbull avatar Mar 15 '22 04:03 burrbull

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.

YruamaLairba avatar Mar 24 '22 18:03 YruamaLairba