Go Down

Topic: Shared SPI Bus - RFID reader & Display (Read 69 times) previous topic - next topic



So I know there are quite a few topics on shared SPI bus, but I still can't wrap my head around this. I have an RC522 rfid reader, which I use in SPI mode and works perfect. Then I also have a TFT display, the HXD8357D from Adafruit, which also uses the SPI bus. I know that they need to have same MOSI, MISO and SCK, but different SS pins. Yet it doesn't work. Connections are as follows:

     RC522 Connections:                                    HXD8357 Connections:
     SDA (SS) - Pin 10                                                CS - Pin 7   
     SCK - Pin 13                                                       SCK - Pin 13
     MOSI - Pin 11                                                     MOSI - Pin 11
     MISO - Pin 12                                                     MISO - Pin 12   
     IRQ -  Not connected                                           D/C - Pin 9
     GND - GND                                                        GND - GND   
     RST - Pin 5
     3.3V - 3.3V                                                        5V - 5V Arduino   

I can of course add the code, although it's like 500 lines. Hope someone can give me a suggestion on this.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131