I am planning on having 3 SPI devices connected to my tiva tm4c123gxl.
I have a ST7735R with SD card interface and a wireless RF chip (NRF2401+).
Currently I have it wired as follows (as per an online library i found):
Tiva -> ST7735R
Vcc -> Lite
PB6 -> Miso
PB4 -> SCK
PB7 -> MOSI
PA4 -> TFT_CS
PE4 -> DC
Reset -> Reset
Vcc -> Vcc
Gnd -> Gnd
PA3 -> SD_CS
PA2 -> NRF2401 _CS
I need to add a pin to serve as an input hardware interrupt and and a pin to act as a GP output. The RF chip will pull one of it's pins low once it has received something and it has an enable pin that is different to the SPI pin that I have to toggle for specific times.
Which pins would be suitable for these two applications ( out of the ones remaining) and how do I set up a hardware interrupt?
Thanks in advance.