Re: FW: SPI slave interface discussion

2020-05-22 Thread Xiang Xiao
Could we provide two set interface like spi master: struct spi_ops_s { CODE uint32_t (*send)(FAR struct spi_dev_s *dev, uint32_t wd); #ifdef CONFIG_SPI_EXCHANGE CODE void (*exchange)(FAR struct spi_dev_s *dev, FAR const void *txbuffer, FAR void *rxbuffer,

FW: SPI slave interface discussion

2020-05-21 Thread Laitinen, Jukka
Hi, *The attached patch is just for opening a discussion, please don't merge* We used the SPI slave interfaces on stm32h7 platform, in a configuration where two stm32h7 chips were connected together with SPI bus, one in master simplex-tx and one in slave simplex-rx mode. There was quite high d