Preferred serial interface between 2+ STM32
Heyho,
I have an application with an STM32H7x3, which might be talking to some other STM32 (type TBD, probably something <= G4) on another stacked PCB.
This is only a control interface, so no data streaming with a minimum data rate.
I am looking for the "best" interface, with that I mean "highest speed at lowest complexity".
Hardware limits:
- trace length max 30 cm, probably over 1 or 2 connectors
- max. 4 pins (+1 chip select for each participant also okay)
- max. 4 STM32x + STM32H7x3 on the "lines"
So, I2C or SPI - or anything else ?
For reliability I like the I2C's acknowledge, SPI is surely faster and has no address "overhead".
Thanks in advance for your input!
