Question
Multiple devices on the same SPI bus but with different SPI configs
Posted on June 17, 2013 at 10:37
Hello,
I use the STM32F407 and I have to link 3 different slave devices on the same SPI bus (an accelerometer, a touchpad controller and a screen). I have no other solutions. Each device is activated with chip select pin (CS).The problem is, devices have not the same SPI configuration, for example the accelerometer is driven by a clock at high level by default and the touchpad controller is driven by a clock at low level.Does anyone has already used SPI with different configurations ? Can I change the SPI config each time I want to drive a device ?Thanks for your advice !Jean