Questions regarding SPI hardware
Posted: Tue May 22, 2018 9:00 pm
Hello Guys,
i am about to design a little project and need to communicate with multiple SPI devices.
I am not sure, which pins i should use.
Due to the fact that I need much GPIO pins within the project, the SPI interface should use the minimum possible IO count.
I want to implement:
- JTAG (these pins are fixed, i know)
- SD Card
- SPI Display (additional with Touchcontroller)
- 433 Mhz Tranceiver Module
- NFC Reader / Writer
Could JTAG and SD Card can share pins? Of course i know that i cannot use SD card and JTAG at the same time.
Can I use a single SPI driver (native, because of speed) and control additional CS lines over software (I think the original SPI driver only supports 3 devices?)
CS lines should also be controllable over I2C portexpander, because otherwise i will run out of GPIO´s.
What would be a good practice here?
Kind Regards
Danie
i am about to design a little project and need to communicate with multiple SPI devices.
I am not sure, which pins i should use.
Due to the fact that I need much GPIO pins within the project, the SPI interface should use the minimum possible IO count.
I want to implement:
- JTAG (these pins are fixed, i know)
- SD Card
- SPI Display (additional with Touchcontroller)
- 433 Mhz Tranceiver Module
- NFC Reader / Writer
Could JTAG and SD Card can share pins? Of course i know that i cannot use SD card and JTAG at the same time.
Can I use a single SPI driver (native, because of speed) and control additional CS lines over software (I think the original SPI driver only supports 3 devices?)
CS lines should also be controllable over I2C portexpander, because otherwise i will run out of GPIO´s.
What would be a good practice here?
Kind Regards
Danie