2015-06-29 08:42 AM
Hi,
I am deling with several devices on 3 SPI buses. SPI1 has 4 sensors all mode 0, SPI2 has 2 sensors in mode 3 and SPI3 one flash in mode 2.As far as I can see, there is only one register to configure the SPI peripheral mode, and that can easily become an issue. Am I overlooking any other configuration setup? if not, what is the best way to overcome this inconvenience?Any suggestion is more than appreciated.2015-06-29 08:49 AM
Each SPI peripheral has it's own configuration registers, I don't know what you're talking about.
The SPI peripheral can be reconfigured between bus transactions, but this is as likely as anything confuse the devices attached to the bus.Perhaps you can provide your configuration code so we can make sense of the question?2015-06-29 08:56 AM
Yes You are right each SPI has its own configuration. I did not read the documentation carefully enough.