I am developing board that will have 8 SPI chip that needs to communicate with an ARM microcontroller and I need to figure out how to connect them. I would like to have my ADC on separate hardware SPI than rest.
Below is the list of stuff I need to connect,
Ethernet (W5500) x1
SD card x1
Flash (AT25SL641-MHE-T) x 1
ADC (ADS8688) x 4
So base on my understanding I can use:
Ethernet : PA28(111) Ethernet CS and PA25,PA26, and PA27 for MISO, MOSI,SPCK
SD Card: PA29(112) SD Card CS, and same SPI as Ethernet
Flash: PC29(102) Flash CS, and same SPI as above
ADC: I don't know what to choose for chip select and MISO, MOSI, SCK
@Leo Thanks for the reply, I understand that each Cheap select needs to be unique, but do I have to share, data with other ICs(there is a single SPI data in DUe), since this will slow down the data.
Yes. When a device is 'de-selected', it's not talking/listening to the SPI bus.
The Due has a single core processor, so can only do one thing at the time.
But usually so fast that for the user it seems it's all happening at the same time.
Leo..