-
Notifications
You must be signed in to change notification settings - Fork 883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stm32/spi: slave mode support #623
Comments
Hi, i want to implement this mode. Oscilloscope Image of problemMaster and slave send &[0b10010001]During tranfser initialization clock rise up and slave shift its registor. The research lead me to the embassy/embassy-stm32/src/spi/mod.rs Lines 443 to 446 in a0f1b0e
1.1. On my case it works without spi enabled flag changing - so this can be solution. 1.2. Other solution would be to set slave select signal only after reseting spi. But in order to make this work we need to change interface of
In embedded-has-async they propose to move this logic to level of SPI device https://docs.rs/embedded-hal-async/0.1.0-alpha.1/src/embedded_hal_async/spi.rs.html#59
|
async fn transfer_inner<W: Word>( |
No description provided.
The text was updated successfully, but these errors were encountered: