Hi,
Is there support for slave mode in the Arduino core? I can't seem to find anything relevant in the SPI library source.
Thanks!
[SOLVED] STM32 as SPI slave
[SOLVED] STM32 as SPI slave
Last edited by jgromes on Wed Feb 19, 2020 5:29 pm, edited 1 time in total.
-
- Posts: 633
- Joined: Thu Dec 19, 2019 1:23 am
Re: STM32 as SPI slave
There is no dedicated API for this.
You can try to use HAL/LL for this.
You can try to use HAL/LL for this.
Re: STM32 as SPI slave
Which result of that incredibly helpful Google search is even remotely related to my question? I'm asking precisely because I couldn't find anything, neither in the repository issues nor in the library code.mrburnette wrote: Tue Feb 18, 2020 2:12 am Try a Google search like this spi + slave site:github.com/stm32duino
here
Thanks, I ended up having to use DMA for my project, but I'll see if I can add simple interrupt-driven support for SPI slave mode - would a PR for this be accepted?fpiSTM wrote: Tue Feb 18, 2020 6:51 am There is no dedicated API for this.
You can try to use HAL/LL for this.
Re: [SOLVED] STM32 as SPI slave
While this not breaks Arduino API and generic for all series, why not.